'Run an ASP.NET Core project with Kestrel without Visual Studio

I've created an ASP.NET core 2.1 project in VS2017 and run it successfully from VS2017.

The question is, What is the easiest way to run the above configuration (not production/release/deploy configuration) out of Visual Studio, on the same machine.

I can't find any exe in the project, and dotnet run in the project folder/output folder doesn't work.

It's best to generate an exe and click it to run.



Solution 1:[1]

It requires a lot of preparations to run kestrel as standalone application. Checkout this sample implementation in GitHub

https://github.com/PeteX/StandaloneKestrel

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 amarnath chatterjee