Hugehud.RegisterConsul NuGet Package

这是一个用与asp.net core3.1程序注册consul的工具包,再用之前,你需要在与appsetting.json文件相同路径的地方创建一个consulconfig.json文件
然后在ConfigureServices方法中AddJsonFile加载配置文件,AddHealthChecks添加服务检查,之后在Configure方法添加
app.UseHealthChecks(serviceOptions.Value.HealthCheck);
app.UseConsul(Configuration);.




Got any Hugehud.RegisterConsul Question?





Info

Version: 1.0.0
Author(s): Authtony
Last Update: Tuesday, June 9, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Hugehud.RegisterConsul


Install
Install-Package Hugehud.RegisterConsul
dotnet add package Hugehud.RegisterConsul
paket add Hugehud.RegisterConsul
Hugehud.RegisterConsul Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1430