博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2014年1月11日

摘要: 写HttpHandler与ASP.NET WebForm基本没有什么不同。只是部署的时候需要注意,只在Web.config中注册还不行,需要在Global.asax.cs添加一条ignore规则: protected void Application_Start() { AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteTable 阅读全文
posted @ 2014-01-11 21:16 黑米 阅读(1710) 评论(1) 推荐(1) 编辑