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

01 2014 档案

摘要:写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 黑米 阅读(1722) 评论(1) 推荐(1)