TSServiceManager 1.0.2
dotnet add package TSServiceManager --version 1.0.2
NuGet\Install-Package TSServiceManager -Version 1.0.2
<PackageReference Include="TSServiceManager" Version="1.0.2" />
<PackageVersion Include="TSServiceManager" Version="1.0.2" />
<PackageReference Include="TSServiceManager" />
paket add TSServiceManager --version 1.0.2
#r "nuget: TSServiceManager, 1.0.2"
#:package TSServiceManager@1.0.2
#addin nuget:?package=TSServiceManager&version=1.0.2
#tool nuget:?package=TSServiceManager&version=1.0.2
�ð�������ʹ�ã�����ʹ���ˣ������ʧ�����ге�
{ // ���������ļ���ʹ��ʱȥ��ע�� "RedisConnectionString": "127.0.0.1:6379,defaultDatabase=1,poolsize=10,timeout=2000,password=", "TtlSeconds": 3, //����ʱ�䣬�������ڵ���ʱ�� TTL ������Ĭ�� 15 �� "strategy": "RoundRobin", //���ؾ������ RoundRobin ��ѯ Random ��� Weighted Ȩ�� "ServiceNode": { //����ڵ���Ϣ "ServiceName": "TestService", //�������� "Host": "127.0.0.1", //���� IP ��ַ "Port": 8080, //����˿� "Tag": "Test", //�����ǩ������ͬһ���ͷ���ڵ� "Weight": 1 }
}
ʹ�÷����� TSServiceRegistry.Register(); TSServiceRegistry.Register("ServiceConfig.json");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CSRedisCore (>= 3.8.806)
- Grpc.Net.Client (>= 2.71.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.