阅读背景:

ASP.Net MVC路由和PreRequestHandler

来源:互联网 

I'm trying to instantiate a service and authenticate the current user within the Application_PreRequestHandlerExecute() method and then dispose of this service in the* Application_PostRequestHandlerExecute() method of the global.asax.cs class. One of the items I need for this process is the orgname which is appended at the beginning of my url route. I have mapped a route that looks like this "{orgName}/{controller}/{action}/{id}"I'm trying to instantiate a service and authent




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: