Using HttpClient to Consume APIs in .NET Core

In this course you’ll get an in depth look at using HttpClient and HttpClientFactory to integrate with an API, from basic CRUD operations over streaming and compression to dealing with errors and extending HttpClient with custom message handlers.
Course info
Rating
(16)
Level
Intermediate
Updated
Jan 11, 2019
Duration
3h 20m
Table of contents
Course Overview
Understanding Integration with an API Using HttpClient
Handling Common Types of Integration (CRUD)
Improving Performance with Partial Updates
Improving Performance and Memory Use with Streams
Supporting Cancellation
Improving HttpClient Instance Management with HttpClientFactory
Handling Faults and Errors
Extending HttpClient with Custom HttpMessageHandlers
Unit Testing with HttpClient
Description
Course info
Rating
(16)
Level
Intermediate
Updated
Jan 11, 2019
Duration
3h 20m
Description

Applications, ranging from ASP.NET Core web apps over mobile Xamarin apps and Windows apps to Console apps often integrate with an API. For that, HttpClient is the default and best option. But there’s a lot more to using it than just sending a request and reading out the response. In this course, Using HttpClient to Consume APIs in .NET Core, you’ll get an in-depth look at using HttpClient and HttpClientFactory, from the internals over basic CRUD interaction to working with streams and compression. We’ll also cover cancelling requests that are no longer needed. Additionally, you’ll learn how to use custom message handlers to improve the reliability of your requests and to unit test. After this course, you'll know the ins and outs of integrating with an API from a variety of application types.

About the author
About the author

Kevin Dockx is a freelance solution architect (mobile/web), author & consultant, living in Antwerp (Belgium).

More from the author
Building an Async API with ASP.NET Core
Intermediate
2h 42m
Aug 14, 2018
More courses by Kevin Dockx