Is it possible to self-host a ASP.NET Core Application without IIS?

前端 未结 3 1344
Happy的楠姐
Happy的楠姐 2020-11-29 23:36

I have a full-working ASP.NET MVC application (.NET Core, ASP.NET Core) which runs fine in Visual Studio (which uses IISExpress).

I would now like to have a console

3条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 00:22

    Yes,ASP.NET Core supports the Open Web Interface for .NET (OWIN),your have two options to host your Asp.net core web application:

    1. IIS

    2. Self-Host

    But,self-hosting web application can't restart automatically on system boot and restart or in the event of a failure.

提交回复
热议问题