From the course: ASP.NET Core: Health Checks and Logging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating a UI

Creating a UI - ASP.NET Core Tutorial

From the course: ASP.NET Core: Health Checks and Logging

Start my 1-month free trial

Creating a UI

- [Instructor] Having an endpoint that just returns a simple string is nice but a few more information would just be a nice touch and also, it's really not pretty and it also doesn't provide a dashboard, for instance. Turns out, the project I've already shown you with all the built-in health checks also have a UI sub project, AspNetCoreHealthChecks.UI and this comes with a UI for all of our health checks. There are a few things, which we need to change but I promise you, in no time, we have quite a nice API for our health checks. Let's start by adding a few NuGet packages. We need more than one. The first one is the UI package, so when we look for health checks, there is AspNetCore.HealthChecks.UI. That's the first one to install. However, we will also need the UI.Clients package, which gives us a very, very easy no-friction way to provide additional information to the dashboard and finally, we also need to store the…

Contents