SR
Home
Download
Documentation
Filestorage
Service registry
Msa RMQ
Contact
Лицензия
Api host you can download from the link
here
SR docker link
here
appsettings.json - you can add new clients
{ "AllowedHosts": "*", "Clients": [ { "id": "IFileStorageRestService", "host": "http://localhost:11580/" } ], "ServiceRegistry": { "Host": "http://localhost:7777" } }
How to use
step 1:
install sr package
step 2: add to appsettings.json section
{ "serviceRegistry": { "address": "http://localhost:7777" } }
step 3: add registration into container
services.AddSingleton
();
step 4: create proxy
// create proxy var proxy = _serviceRegistryFactory.CreateRest
();