How to programatically detect if my application is running in IIS 7.0 Integrated mode from within an ASP.NET page?

Look at ApplicationPool. ManagedPipelineMode and ServerManager. ApplicationPools Properties.

So you can examine ApplicationPool. ManagedPipelineMode of the current AppPool about like this example do, but to do this for ApplicationPool of your application and not for the default application domain like the example do. The ServerManager.

ApplicationPools contain all pools including yours one.

I found a way in . NET 4.0 to do this without referencing the Microsoft.Web. Administration assembly.

The System.Web. HttpRuntime class has the UsingIntegratedPipeline boolean property.

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