Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnab-developer/arnabdeveloper.httphealthcheck.di
HTTP web app health check DI for ASP.NET 5
https://github.com/arnab-developer/arnabdeveloper.httphealthcheck.di
csharp dotnet nuget
Last synced: 20 days ago
JSON representation
HTTP web app health check DI for ASP.NET 5
- Host: GitHub
- URL: https://github.com/arnab-developer/arnabdeveloper.httphealthcheck.di
- Owner: Arnab-Developer
- License: mit
- Created: 2021-06-04T10:09:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T04:09:09.000Z (over 2 years ago)
- Last Synced: 2024-12-30T17:09:03.433Z (about 1 month ago)
- Topics: csharp, dotnet, nuget
- Language: C#
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP health check DI
This is a library for
[HTTP health check](https://github.com/Arnab-Developer/ArnabDeveloper.HttpHealthCheck)
dependency injection for ASP.NET. It has been hosted in
[NuGet](https://www.nuget.org/packages/ArnabDeveloper.HttpHealthCheck.DI/).
Use below command to install this in your .NET application.```
dotnet add package ArnabDeveloper.HttpHealthCheck.DI
```Use the below code in `Program.cs` to add HTTP health check into ASP.NET DI.
```csharp
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.Services.AddHttpHealthCheck();
```There is a
[dashboard app](https://github.com/Arnab-Developer/HttpHealthCheckDashboard)
which uses the library to check health of some http endpoints. This is to show
how you can use this library in your app.