In the Application_BeginRequest event in the global.asax, I want to fire some logic ONLY if the request is for a controller action method.
Currently things are getting called when a request is for a resource like a .js file etc.
In the Application_BeginRequest event in the global.asax, I want to fire some logic ONLY if the request is for a controller action method.
Currently things are getting called when a request is for a resource like a .js file etc.