- 博客(19)
- 资源 (4)
- 收藏
- 关注
转载 WCF interactive with IIS 7 Support for non-http portocals
http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/02/08/iis-7-support-for-non-http-protocols.aspx
2014-04-28 18:06:16 613
原创 写一个自己的Dictionary
public class EntitySearchCollection { public IList Items { get; set; } // each item is a simple list of key-value pairs } public class EntitySearchItem : Dictionary {
2014-04-28 17:52:42 522
转载 ASP.NET Identity with the Entity Framework
http://odetocode.com/blogs/scott/archive/2014/01/03/asp-net-identity-with-the-entity-framework.aspx
2014-04-17 16:17:38 628
原创 .net enum
如枚举: /// /// 原材料类型标记 /// public enum MaterialTypeFlag { /// /// 未定 /// Undefined = 0, /// /// 板材 ///
2014-04-16 10:06:48 1211
转载 ASP.NET Web API 配置返回的json字段的格式以及Action返回HttpResponseMessage类型
1. 对于返回的Json对象格式是以“帕斯卡”风格的(例如“FirstName”),然而我们的Api有很大的可能被带有Javascript的客户端消费,对于JS开发者来说可能更适合“驼峰”风格(例如”firstName”)的数据。解决方案:配置Json格式。 Web Api提供Xml和JSON作为返回数据的格式,框架会自动把这些格式注入管线。客户端可以通过Http请求头部来声明需要的数据格式
2014-04-15 15:34:20 14680
原创 Func<T,T> 委托 与 lambda 使用
public class BookDetailDto { public string Title { get; set; } public string Genre { get; set; } public DateTime PublishDate { get; set; } public string Description
2014-04-11 00:18:24 645
原创 CSS3 问题集合
http://css-tricks.com/snippets/css/truncate-string-with-ellipsis/
2014-04-08 11:28:50 526
转载 OWIN
http://msdn.microsoft.com/en-us/magazine/dn451439.aspx ASP.NET Getting Started with the Katana Project Howard Dierking When ASP.NET was first released back in 2002, times
2014-04-07 15:23:18 5622
转载 Using Claims in your Web App is Easier with the new OWIN Security Components
http://blogs.msdn.com/b/webdev/archive/2014/02/21/using-claims-in-your-web-app-is-easier-with-the-new-owin-security-components.aspx http://blogs.msdn.com/b/webdev/archive/2014/03/28/owin-security-com
2014-04-07 15:02:16 845
转载 Asp.Net MVC 4 Web API 中的安全认证-使用OAuth
Asp.Net MVC 4 Web API 中的安全认证-使用OAuth 各种语言实现的oauth认证: http://oauth.net/code/ 上一篇文章介绍了如何使用基本的http认证来实现asp.net web api的跨平台安全认证。 这里说明一个如何使用oauth实现的认证。oauth大家可能不陌生。那么这里需要注意的是我们使用的是.net平台一个比较好的开源oa
2014-04-04 15:13:38 2478
转载 Lucene.net
http://www.cnblogs.com/OceanEyes/archive/2012/07/31/2616178.html
2014-04-04 00:33:36 511
原创 EF DBContext 释放问题
http://www.cnblogs.com/mecity/archive/2011/07/17/2108508.html
2014-04-03 00:49:27 16370
转载 Http message handle/Delegating handler
Typically, a series of message handlers are chained together. The first handler receives an HTTP request, does some processing, and gives the request to the next handler. At some point, the response i
2014-04-02 11:11:17 2222
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人