How do we findout the whether the application is using any HTTPModules and ht开发者_如何学Gotphandler in the applicaion?
Is there anyway to findout from the url without checking the web.config file?
You cannot check with any certainty without using backed code.
To get the current handler.
System.Web.HttpContext.Current.CurrentHandler
To get the list of modules that executed for the request
System.Web.HttpContext.Current.ApplicationInstance.Modules
精彩评论