Configure IIS7 to server static content through ASP.NET Runtime?

II7 already does that if the application pool's Managed Pipeline Mode is set to Integrated which is the default. In Integrated mode, ASP. NET handles all requests including those for static objects If you have to leave your application pool in Classic Mode then you need to use the same techniques you would use in IIS 6 to explicitly create handlers for the various static extensions Additional Information Based on Comments : I think your missing piece is creating an HttpHandler to handle the other extensions (.js, .

Css, etc. ). Without this, then ASP.NET will use the default handling for these types of files. You would create a reference to you handler in your web.

Config This article is an example of creating an HttpHandler for static files.

II7 already does that if the application pool's Managed Pipeline Mode is set to Integrated which is the default. In Integrated mode, ASP. NET handles all requests including those for static objects.

If you have to leave your application pool in Classic Mode then you need to use the same techniques you would use in IIS 6 to explicitly create handlers for the various static extensions. Additional Information Based on Comments: I think your missing piece is creating an HttpHandler to handle the other extensions (.js, . Css, etc.).

Without this, then ASP. NET will use the default handling for these types of files. You would create a reference to you handler in your web.config.

This article is an example of creating an HttpHandler for static files.

See my edits. Does your answer still holds true in light of this? – Anton Gogolev Apr 7 '10 at 16:09.

Kudos to everyone, but the problem was in totally different space. VirtualPathProvider cannot be used in a pre-compiled web site. I'm furious.

How do I configure IIS 7.0 or a Web Application in IIS so that ASP.NET Runtime will handle all requests -- including ones to static files like *. What I'm trying to do is as follows. We have kind of SaaSy site, which we can "brand" for every customer.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions