封装consul,自动发现本地端口号和ip.
Info
Version: | 3.0.16 |
Author(s): | ljy |
Last Update: | Wednesday, August 28, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://gitee.com/mushr/Helpers2 |
NuGet Url: | https://www.nuget.org/packages/Helpers.ConsulHelper |
Install
Install-Package Helpers.ConsulHelper
dotnet add package Helpers.ConsulHelper
paket add Helpers.ConsulHelper
Helpers.ConsulHelper Download (Unzip the "nupkg" after downloading)
Dependencies
- Consul(>= 1.6.1.1)
- Helpers.DiHelper(>= 1.3.5)
- Microsoft.AspNetCore.Hosting.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Hosting.Server.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 3.1.7)
- Microsoft.Extensions.DependencyModel(>= 3.1.6)
- Microsoft.Extensions.Hosting.Abstractions(>= 3.1.7)
- Microsoft.Extensions.Options.ConfigurationExtensions(>= 3.1.7)
- Microsoft.Extensions.Options.DataAnnotations(>= 3.1.7)
Tags