I have a class that implements IHttpModule in a separate assembly from a website. The module implementation intercepts requests and rewrites urls for the website.
The mappings are stored in a class with the requested url and the destination url.
Is the second example, MTSingleton, from http://devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=486 suitable for creating the mapping list? Is there a better approach from within the module implementation?
Edit: My bad, this is for IIS 6.0 and .NET 3.5 SP1