Home > Net >  ASP.NET Core backend and web server
ASP.NET Core backend and web server

Time:01-13

I am currently writing a backend for my web project. I wrote a REST service and used ASP.NET Core to host the files. When using the debugger inside of Visual Studio, I am getting a console and shortly after debug/info messages from the server (it says Microsoft.Hosting.Lifetime).

The problem is that I want to execute the program outside of the IDE, but when I am starting it standalone, it just shows an empty console and nothing happens.

What must I do to host the REST service and web server outside of the IDE?

CodePudding user response:

try this way Change Run To IIS

enter image description here

  •  Tags:  
  • Related