阅读背景:

在HttpModule中获取Asp.net Web API控制器上下文或操作上下文。

来源:互联网 

I have an HttpModule that is doing some processing on a request before the web api controller's action is executed. I'd like to be able to identify what controller/action will be executed by the request so I can examine some attributes that may be set on the controller/action ahead-of-time. How do I discover the controller/action that a particular requst URI will invoke?I have an HttpModule that is doing some process




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

分享到: