Organizational Research By

Surprising Reserch Topic

force iis express to classic pipeline mode

force iis express to classic pipeline mode  using -',iis,iis-express'

How can I force IIS Express to run at classic mode? And I need that this configuration stays with .csproj, once that this file that say that a project should be open with IIS Express.

asked Oct 19, 2015 by dahiyabecomp
0 votes

Related Hot Questions

2 Answers

0 votes

In Visual Studio 2010 select the Web Application project node in Solution Explorer then do:

View -> Properties Window or F4

In the properties Windows you'll see Managed Pipeline Mode:

enter image description here

In Visual Web Developer 2010 Express it's more or less the same, again select the web project except press F4 to get that property page:

enter image description here

The only caveat is that if you share the project with others (say via source control), this setting isn't stored in the .csproj file but in the IIS Express applicationHost.config file specific to your user profile. So you'd need to ensure others configured this property in their own local applicationHost.config files in:

answered Oct 19, 2015 by manju bhargava
0 votes

option-1: In Visual Studio goto WebSite/WebApplication properties and change Managed Pipeline Mode to 'Classic'.

option-2: Open %userprofile%\documents\iisexpress\config\applicationhost.config and locate your site in "Sites" section and change the app pool to classic (say Clr4ClassicAppPool).

If you want all the WebApplications/WebSites that you are going to create in Visual Studio to run in 'Classic' mode (by default), then in %userprofile%\documents\iisexpress\config\applicationhost.config file, then change the applicationDefaults app pool as shown below.


answered Oct 19, 2015 by deven.bendale