Skip to content

vassilis-panos/AspNetCore.HealthChecks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AspNetCore.HealthChecks.SystemMemory

Cross-platform system memory health check

Installation

> dotnet add package AspNetCore.HealthChecks.SystemMemory
PM> Install-Package AspNetCore.HealthChecks.SystemMemory

Usage

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddHealthChecks()
            .AddSystemMemory(500);
    }
}

AspNetCore.HealthChecks.BudgetSms

.NET Health check for Badget SMS API connectivity and low credit

Installation

> dotnet add package AspNetCore.HealthChecks.BudgetSms
PM> Install-Package AspNetCore.HealthChecks.BudgetSms

Usage

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddHealthChecks()
            .AddBudgetSms(options =>
	    {
	    	options.Username = Configuration["BudgetSms:Username"];
		options.UserId = Configuration["BudgetSms:UserId"];
		options.Handle = Configuration["BudgetSms:Handle"];
		options.MinimumCredit = 30;
	    });
    }
}

About

ASP.NET Core Health Checks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages