自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Allen_白的专栏

.NET,ASP.NET,BI个人经验和总结

  • 博客(21)
  • 资源 (4)
  • 收藏
  • 关注

转载 HttpClient 4.5

HttpClient has been around for quite some time now. It originally appeared as part of the REST Starter Kit in 2009. Since then it has gone through a huge number of changes and improvements (or over

2014-05-30 10:04:32 8358

转载 IHttpActionResult(webAPI 2.0) instead of HttpResponseMessage(webAPI 1.0)

Hi all, I hope everyone is fine, me too. I am being amazed day by day by seeing new features and improvements to MVC from Microsoft. If you have had hands-on experience with MVC and the Web API then y

2014-05-29 16:46:18 4369

原创 .net Web API 2,return HttpResponseMessage with ObjectContent Json Type

public async Task Register(AllenRegistration model) return new HttpResponseMessage(HttpStatusCode.OK)            {                Content = new ObjectContent(new                {       

2014-05-20 17:38:23 1569

原创 Get Bearer Token when login in

[HttpPost] [AllowAnonymous] [Route("api/account/login")] public HttpResponseMessage Login(LoginBindingModel login) { // todo: add auth if (login.UserName == "a@a.com" &

2014-05-19 12:56:53 4607

转载 Code-First Migration and Extending Identity Accounts in ASP.NET MVC 5 and Visual Studio 2013

http://www.codeproject.com/Articles/674760/Code-First-Migration-and-Extending-Identity-Accoun

2014-05-15 16:39:24 2237

转载 扩展MVC5 Identity的Roles

ASP.NET MVC 5 Identity: Extending and Modifying RolesBy John Atten, 24 Feb 2014   4.95 (19 votes) Rate this:

2014-05-15 16:11:18 13359

转载 https://github.com/aspnet/开源

https://github.com/aspnet/Identity

2014-05-15 10:13:19 2522

转载 .net webSocket例子

http://www.codeproject.com/Articles/618032/Using-WebSocket-in-NET-4-5-Part-2

2014-05-13 16:52:13 1585

原创 .net 正则表达式应用

public class AustraliaMobileFixing    {        private readonly string FullMobileFormat = @"/^04\d{8}$/";        private readonly string MobileFormat = @"/^\d{8}$/";                public st

2014-05-13 09:46:19 633

原创 HttpClient RestFul InterFace

namespace Collinson.Http.Security{    public interface IJsonClientService    {        T Get(string uri);        T Get(string uri, object data);        T Post(string uri);        T Post(s

2014-05-12 16:37:49 2065

转载 HttpModule

HttpHandler—— 一点一点学ASP.NET文野:2006年8月9日星期三上一篇:一点一点学ASP.NET之基础概念——HttpModule 概述HttpHandler是一个HTTP请求的真正处理中心,也正是在这个HttpHandler容器中,ASP.NET Framework才真正地对客户端请求的服务器页面做出编译和执行,并将处理过后的信息附加在HTTP请求信

2014-05-11 14:54:50 504

转载 HttpModule

最近学习WCF知识时看到有关IIS版本的知识,发现对HttpContext,HttpModule,HttpHandler的内容都不是很了解,这三个也是ASP.NET相对基础的内容,晚上特地花点时间针对HttpModule的内容进行补充,文中的理论知识都是从网上多方面整理,最后的实例是本人所写的两个小实例,主要是针对HttpModule的运用;一:关于HttpModule理论知识1:

2014-05-11 14:45:34 955

转载 Httpcontext是什么

http://www.chawenti.com/articles/18730.html

2014-05-11 14:44:34 705

原创 unit Test HttpContext.单元测试,模拟HttpContext

HttpContextBase 类为抽象类,该类包含的成员与 HttpContext 类相同。 使用 HttpContextBase 类可以创建一些派生类,这些派生类与HttpContext 类相似,但是可以进行自定义并在 ASP.NET 管道外部使用。 在执行单元测试时,通常使用派生类实现具有自定义行为的成员以实现正在测试的方案,这更容易进行单元测试。HttpContextWrapper类是

2014-05-09 14:20:57 1515

转载 nopCommerce/.net 中的缓存技术

序言在很多访问量较大的系统中,尤其在某一项数据访问频次较高时,我们会考虑使用缓存,减少系统和数据库的交互,以达到良好的用户体验。缓存主要有页面缓存和数据缓存。数据缓存的实现有很多方式,有基于memcached的,还有基于.net 4.0数据缓存框架,还有一些其他的实现方式。院子里有 PetterLiumemcached快递上手之C#,有兴趣的可以查看,本文主要讨论的是基于.net 4.

2014-05-09 13:57:27 2241

转载 Nop Commerce 源代码

http://www.51aspx.com/CodeFile/NopCommerce23/Libraries/Nop.Core/Caching/PerRequestCacheManager.cs.html

2014-05-09 11:20:12 778

转载 转自其他博客的WCF入门

http://blog.csdn.net/songyefei?viewmode=contents

2014-05-08 09:53:52 485

转载 WCF快速入门教程

http://blog.51cto.com/zt/129

2014-05-07 11:54:31 552

转载 深入分析ASP.NET Mvc 1.0 – 1. 深入MvcHandler

http://www.shangxueba.com/jingyan/103658.html

2014-05-07 11:13:18 456

原创 .net Async await Task<T>

http://www.cr173.com/html/17820_1.html

2014-05-07 10:23:54 1009

原创 Fluent Validation For .net

http://fluentvalidation.codeplex.com/

2014-05-06 17:15:09 811

Screwturn wiki sqlserver

release 的screwturn 直接部署就可使用

2014-09-17

Slider相册 带左右和1,2,3小图标

Slider相册 带左右和1,2,3小图标

2013-08-02

AngularJSDemos

AngularJSDemos

2013-08-02

Infragistics.Web.Mvc

Infragistics.Web.Mvc dll,css,js,samples

2013-06-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除