Browse Source

Update RemoteServiceConfigurationProvider usage with IRemoteServiceConfigurationProvider

pull/22355/head
enisn 11 months ago
parent
commit
b66ec8c4cd
No known key found for this signature in database GPG Key ID: A052619F04155D1C
  1. 2
      docs/en/framework/api-development/dynamic-csharp-clients.md
  2. 2
      docs/en/framework/api-development/static-csharp-clients.md

2
docs/en/framework/api-development/dynamic-csharp-clients.md

@ -164,7 +164,7 @@ context.Services.AddHttpClientProxies(
`remoteServiceConfigurationName` parameter matches the service endpoint configured via `AbpRemoteServiceOptions`. If the `BookStore` endpoint is not defined then it fallbacks to the `Default` endpoint.
#### Remote Service Configuration Provider
You may need to get the remote service configuration for a specific remote service in some cases. For this, you can use the `RemoteServiceConfigurationProvider` interface.
You may need to get the remote service configuration for a specific remote service in some cases. For this, you can use the `IRemoteServiceConfigurationProvider` interface.
**Example: Get the remote service configuration for the "BookStore" remote service**

2
docs/en/framework/api-development/static-csharp-clients.md

@ -245,7 +245,7 @@ context.Services.AddStaticHttpClientProxies(
`remoteServiceConfigurationName` parameter matches the service endpoint configured via `AbpRemoteServiceOptions`. If the `BookStore` endpoint is not defined then it fallbacks to the `Default` endpoint.
#### Remote Service Configuration Provider
You may need to get the remote service configuration for a specific remote service in some cases. For this, you can use the `RemoteServiceConfigurationProvider` interface.
You may need to get the remote service configuration for a specific remote service in some cases. For this, you can use the `IRemoteServiceConfigurationProvider` interface.
**Example: Get the remote service configuration for the "BookStore" remote service**

Loading…
Cancel
Save