"dotnet run" command too slow

0

When I run the dotnet run command via the command line in my ASP.NET Core project I have to wait for 8 to 10 seconds until I can access the browser to test any changes. I downloaded Visual Studio 2017, I run the application quietly if I start without debugging (CTRL + F5), it takes around 3 or 4 seconds. When starting with debug (F5), I have times similar to running through the command line. What is the reason for this dotnet run slowness? Is there any equivalent to starting it without debugging VS for the command line?

    
asked by anonymous 02.04.2017 / 17:37

1 answer

0

It was meant to be just the opposite. Via .NET CLI be faster. Test with dotnet run nomedoprojeto and then dotnet nomedoprojeto.dll . Running directly on the dll the difference is noticeable.

    
20.04.2017 / 05:03