locked
Concern(s) about handling BEGIN_REQUEST in Global.asax & HttpModule RRS feed

  • Question

  • User-1162827054 posted
    I’m thinking about developing a custom HTTP module to handle dynamic URL rewrites, and I’m adding this to a web application that’s already got some logic in Global.asax, for doing similar rewriting for other URLs. But I’m wondering what the concern(s) could/should be for doing so, specifically when handling the Begin_Request event. I’ll be using some processing that’s a bit long for Global.asax, hence the need for a custom HttpModule, but will this impact performance if Begin_Request is to be evaluated for each and every page request in multiple locations?
    Wednesday, July 7, 2004 2:21 AM

All replies

  • User-1029435529 posted
    Scott Mitchell wrote a great article on MSDN all about URL re-writing, and where in the application lifecycle the re-writing should occur. URL Rewriting in ASP.NET
    Wednesday, July 7, 2004 2:51 AM