Force IIS Express to Classic Pipeline Mode

前端 未结 2 1203
心在旅途
心在旅途 2020-12-08 10:00

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 II

2条回答
  •  情书的邮戳
    2020-12-08 10:13

    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.

    
     ........
     ........
        
        
    
    

提交回复
热议问题