VS 2022 ASP.NET Core 6 MVC run on the kestrel

93 Views Asked by At

I want to use Kestrel to execute ASP.NET Core 6 MVC app.

When I add a new project without writing any code, just publish directly and use the command dotnet project name.dll, it will reply and tell me to open localhost:5000 and you can see the web page. This is no problem.

But when I tested the currently developed website and it ran normally on IIS, but after using the command dotnet project name.dll, it just stayed there and there was no reply at all.

I would like to ask how to debug Kestrel or see the log after execution?

0

There are 0 best solutions below