Is it possible to run ASP.NET 5 site directly on Kestrel in Azure WebApps?

前端 未结 2 780
清歌不尽
清歌不尽 2020-12-15 11:20

I have checked that in the web response the server is IIS when I deploy ASP.NET5 to azure web app, so I guess the IIS platform handler is used to redirect it to Kestrel. So

2条回答
  •  被撕碎了的回忆
    2020-12-15 12:22

    Your question is a bit ambiguous, as it asks at the same time about Azure Web Apps and about the general case. @Maxime answered the general part, so I'll answer the Azure Web App part.

    It is not possible to bypass IIS in Azure Web Apps. Stack that normally run without IIS are typically handled using HttpPlatformHandler (as is the case for ASP.NET 5), or in the case of Node some variant of that (iisnode).

提交回复
热议问题