HTTP client
An HTTP client is software or an API component that sends HTTP requests and receives and processes HTTP responses.
ASP.NET Core in Action, 3e
HttpClient is the .NET class for sending HTTP requests and receiving HTTP responses.
- How it is used
- Calls third-party and application HTTP APIs from server-side application code.
- How deep it goes
- Explains requests, responses, handler pipelines, socket exhaustion, DNS rotation, and factory-based lifetime management.
- Examples
- Uses a minimal API calling an example rates endpoint with GetAsync, EnsureSuccessStatusCode, and ReadAsStringAsync.
- What you can do after
- Apply it via HttpClient to send requests, read responses, and choose safer lifetime management with IHttpClientFactory.
.NET MAUI in Action
HttpClient is a .NET class that sends HTTP requests and receives HTTP responses from network resources.
- How it is used
- Uses HttpClient to load REST data into .NET MAUI pages and other application features.
- How deep it goes
- Explains base-address setup, asynchronous JSON deserialization, and UI loading state, then contrasts direct calls with generated clients.
- Examples
- Demonstrates movie and genre retrieval in a MAUI app and product retrieval through GetFromJsonAsync.
- What you can do after
- Build it from scratch by configuring HttpClient, calling REST endpoints, deserializing JSON, and binding results to a MAUI interface.
Pro Angular 16
HttpClient is an Angular service for making HTTP requests and receiving asynchronous responses.
- How it is used
- Connects Angular application data sources and repositories to RESTful web services through asynchronous HTTP requests.
- How deep it goes
- Explains injection, typed JSON observables, HTTP verbs, subscription behavior, and integration, while deferring detailed request configuration.
- Examples
- Demonstrates a typed product GET request and a SportsStore data source that loads products and posts orders.
- What you can do after
- Build asynchronous REST data sources with typed responses and connect them to Angular repositories.
Rust Servers, Services, and Apps
An HTTP client is software that constructs and sends HTTP requests and processes the resulting HTTP responses.
- How it is used
- Fetches backend data for a server-rendered web page without duplicating database access.
- How deep it goes
- Builds the request, awaits the body, converts bytes, and deserializes JSON, while leaving broader client concerns unaddressed.
- Examples
- Uses a tutor-list endpoint, a strongly typed Tutor structure, iter4.rs, and a Tera-rendered /tutors page.
- What you can do after
- Apply it via Actix Web and serde_json to retrieve typed JSON from a backend service.
Read how Rust Servers, Services, and Apps explains HTTP client →
Related concepts
- IHttpClientFactoryproduced by · IHttpClientFactory is a .NET dependency-injection abstraction for creating configured HttpClient instances while managing their underlying handlers.
- service discoveryused by · Service discovery is the process of identifying available services and obtaining the names, locations, or connection information needed to access them.
- IDisposableimplements · IDisposable is a .NET interface whose Dispose method enables deterministic cleanup and release of unmanaged or otherwise disposable resources.
- typed clientused by · A typed client is an application-specific wrapper around HttpClient that exposes remote-service operations through a strongly typed class.
- HttpMessageHandleruses · HttpMessageHandler is an abstract .NET component that processes HTTP request and response messages within an HttpClient handler chain.
- observableproduces · An observable is a source that emits a sequence of values or notifications over time to consumers that subscribe to it.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



