Browse Source

Update Dynamic-CSharp-API-Clients.md

pull/732/head
Halil ibrahim Kalkan 7 years ago
parent
commit
f9521f48a8
  1. 4
      docs/en/AspNetCore/Dynamic-CSharp-API-Clients.md

4
docs/en/AspNetCore/Dynamic-CSharp-API-Clients.md

@ -160,6 +160,6 @@ context.Services.AddHttpClientProxies(
);
````
If you disable `asDefaultServices`, you can only use `IHttpClientProxy<T>` interface to use the client proxies (see the related section above).
Using `asDefaultServices: false` may only be needed if your application has already an implementation of the service and you do not want to override/replace the other implementation by your client proxy.
Using `asDefaultServices: false` may only be needed if your application has multiple implementation of the service, so you want to distinguish the HTTP client proxy and do not want to override the other implementation.
> If you disable `asDefaultServices`, you can only use `IHttpClientProxy<T>` interface to use the client proxies (see the related section above).
Loading…
Cancel
Save