diff --git a/aspnetcore/fundamentals/http-requests.md b/aspnetcore/fundamentals/http-requests.md index 1eaf966ea9..747aa02d38 100644 --- a/aspnetcore/fundamentals/http-requests.md +++ b/aspnetcore/fundamentals/http-requests.md @@ -70,7 +70,12 @@ In the preceding code, the request doesn't need to specify a hostname. It can pa ### Typed clients -Typed clients provide the same capabilities as named clients without the need to use strings as keys. The typed client approach provides IntelliSense and compiler help when consuming clients. They provide a single location to configure and interact with a particular `HttpClient`. For example, a single typed client might be used for a single backend endpoint and encapsulate all logic dealing with that endpoint. Another advantage is that they work with DI and can be injected where required in your app. +Typed clients: + +* Provide the same capabilities as named clients without the need to use strings as keys. +* Provides IntelliSense and compiler help when consuming clients. +* Provide a single location to configure and interact with a particular `HttpClient`. For example, a single typed client might be used for a single backend endpoint and encapsulate all logic dealing with that endpoint. +* Work with DI and can be injected where required in your app. A typed client accepts a `HttpClient` parameter in its constructor: @@ -175,7 +180,10 @@ Once registered, can be called, passing in the handler type.