

adding health check services to container public void ConfigureServices(IServiceCollection services) It will add the HealthChecks service to our DI Container. Adding a Basic Health Check to ASP.NET Servicesįirst, modify the ConfigureServices method as described below. If you don't find an implementation that suits you, we can create our custom implementation. Custom implementations (something unique to you).Īnything you need is here.Cache services, such as Redis, Memcache, among others.External API connectivity - external URLs.Database services, such as SQL Server, Oracle, MySql, MongoDB, among others.With just a few lines of code, all the infrastructure is ready to display the health status of our ASP.NET Applications. We'll understand how it's pretty simple in.

In this post, we'll add an endpoint to monitor our existing ASP.NET Core Application health status. Using Azure App Services Endpoint Monitoring.Endpoint Monitoring with Azure Application Insights.
#Asp net monitor how to#
