dotnet / dotnet/aspnetcore

Provide clearer console output when running an ASP.NET Core app

Open
#23,601 11 comments 2 reactions 0 assignees View on GitHub
affected-most area-hosting area-networking breaking-change enhancement Needs: Design severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

In user testing, when users run their first ASP.NET Core app, they have difficulty understanding from the console output that the app is successfully running and how to stop the app. This information is present in the console output, but in the form of log output that is difficult to read. In user testing, multiple users were unsure if the app was successfully running even after the log output was displayed. Multiple users also resorted to closing the terminal to stop the app because they didn't see the instructions to use Ctrl-C.

Here's what the output of an ASP.NET Core web app looks like today:

![image](https://user-images.githubusercontent.com/1874516/86325053-4d35b080-bbf4-11ea-91f6-382282e3855f.png)

The interweaved logging statements make the content difficult to read. It's not obvious which of these logging statements is important and which are just logging spew.

For comparison, here's the console output when running a React app:

![image](https://user-images.githubusercontent.com/1874516/86325887-b669f380-bbf5-11ea-944a-350ed66ee9a9.png)

This output seems much cleaner and easier to read.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.