Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
614 views
Welcome To Ask or Share your Answers For Others

1 Answer

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

  • Press F4

or

  • Navigate to View -> Properties Window or press F4

Important: Don't Right-click -> Properties from the right-click context menu for the project node in solution explorer because that will show the Property Pages for the project which is a whole different thing.

In the properties Windows you'll see the entry for 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:

%userprofile%DocumentsIISExpressconfig

All of the above also works with Visual Studio 2013 and 2015.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...