.NET Core Health Endpoint Monitoring Middleware

Today I’ll show a simple example of how to create a .Net Core Health Endpoint Monitoring Middleware.

If you need to know about the Health Endpoint Monitoring Pattern check: https://msdn.microsoft.com/en-us/library/dn589789.aspx

1. Create the application
2. Add the middleware ServiceStatusMiddleware class
3. Add the middleware to the pipeline
4. Run the application

Checkout AspNetCore.Health for nice and extensible implementation of the pattern.

Also find a copy of the code here: https://github.com/cmendible/dotnetcore.samples/tree/master/service.status.middleware

Hope it helps!

3 thoughts on “.NET Core Health Endpoint Monitoring Middleware

Leave a Reply