Provide more immediate feedback when an ASP.NET Core app is running
See original GitHub issueWhen you create a new ASP.NET Core app in the command line and run it with dotnet run
, it can take a few seconds before any feedback is provided to the user (sometimes much longer if it’s the first run). In user studies, we saw first-time .NET users get confused about whether the app is running when there initially isn’t any output. Consider providing more immediate feedback that the app is building and running. Also, consider improving the app startup performance.
Repro steps:
dotnet new webapp -o WebApp1
cd WebApp1
dotnet run
Expected: Near immediate feedback that the app is building and running
Actual: It takes anywhere between 3-30 seconds before any output is displayed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
ASP.NET Core, On request immediately return 200, then ...
No method can do anything after it returns. But there are a variety of things you can do to asynchronously execute operations in...
Read more >Troubleshoot ASP.NET Core on Azure App Service and IIS
This article provides information on common app startup errors and instructions on how to diagnose errors when an app is deployed to Azure ......
Read more >10 Performance-Improvement Tips for ASP.NET Core 3.0 ...
This article provide 10 most important tips and tricks to be followed in the development, to improve the performance of ASP.NET Core 3.0 ......
Read more >async/await returning immediate response in ASP.NET ...
In ASP.NET Core, when a request comes in and trigger a long-running task, i.e., calling an external API and wait for response, I...
Read more >Instant Feedback Is Here: Introducing Hot Reload in .NET 6
ASP.NET Core welcomes hot reloading, giving you the capability to see your changes instantaneously.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there any documentation around what the new
dotnetRunMessages
setting actually does?I’m trying to understand whether I need to enable it when I configure other launch settings in
launchSettings.json
likedotnet watch
, WSL2, Docker etc.There is an explanation for
dotnetRunMessages
on StackOverflow.