How can I host an ASP.NET 5 MVC 6 project (vNext) in IIS Classic Mode pool

Made a package using kpm pack Tried to configure IIS7 in classic pipeline mode

I keep getting

 HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. 

Already tried

  • add aspnet_isapi.dll to the web.config/system.webServer/handlers
  • add runAllManagedModulesForAllRequests="true" for the web.config/system.webServer/handlers

All aspnet_isapi.dll in ISAPI and CGI restrictions are allowed

Is it possible to use the vNext ASP.NET application in the framework of the classic IIS mode?

+5
source share
1 answer

In accordance with the current development, I think this does not work in Classic IIS mode. It will only work in integrated IIS mode.

Give me some reasons.

  • ASP.NET MVC 5 processing is performed using the MVC handler and does not integrate with the pipeline, such as OWIN.

  • In ASP.NET request processing, vnext (MVC6) is larger or like OWIN. This is like tight integration with the integrated IIS piplline (in Katan this will give you an error if you run in classic mode)

0
source

Source: https://habr.com/ru/post/1212626/


All Articles