Access Js and css file in HttpModule

830 Views Asked by At

How to access Js and css file in HttpModule?

1

There are 1 best solutions below

0
On

You may need to associate the .css and .js extentions to the ASPNET_ISAPI.DLL otherwise IIS simply bypasses .net and processes and serves the file itself.

The method is different for various IIS versions but this should get you started: http://msdn.microsoft.com/en-us/library/bb515343.aspx

*I have never actually built a proper HttpModule so I am just making an educated guess