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.
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.
Course Overview Hi everyone. My name is Kevin. Welcome to my course, Using HttpClient to Consume APIs in .NET Core. I'm a Microsoft MVP and a freelance solution architect currently focused on APIs and security. In this course, we are going to learn how to integrate with an API from a .NET Core application. Some of the major topics that we will cover include creating, reading, updating, and deleting resources, improving memory use and performance by working with streams and compression, using HttpClientFactory for HttpClient instance management, and writing custom HttpMessageHandlers. By the end of this course, you will have extensive knowledge on how to integrate with any API from a .NET Core application. Before beginning the course, you should be familiar with C#. I hope you'll join me on this journey to learn how to integrate with an API with the Using HttpClient to Consume APIs in .NET Core course, here at Pluralsight.