Expanded

Using HttpClient to Consume APIs in .NET

This course will teach you how to consume APIs with HttpClient in .NET.
Course info
Rating
(31)
Level
Intermediate
Updated
Jun 1, 2021
Duration
3h 26m
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
(31)
Level
Intermediate
Updated
Jun 1, 2021
Duration
3h 26m
Description

APIs don't need to be difficult. In this course, Using HttpClient to consume APIs in .NET, you’ll learn to integrate your .NET applications with an API. First, you’ll explore HttpClient internals and basic CRUD interaction. Next, you’ll discover how to work with streams, compression and how to cancel requests that are no longer needed. Finally, you’ll learn how to improve the reliability of your requests and how to write unit tests that use HttpClient. When you’re finished with this course, you’ll have the skills and knowledge of using HttpClient needed to integrate your .NET application with an API..

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
Consuming an OData v4 API
Beginner
1h 12m
Jun 25, 2021
More courses by Kevin Dockx
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Kevin. Welcome to my course, Using HttpClient to Consume APIs in .NET. I'm Microsoft MVP and freelance solution architect currently focused on APIs and security. In this course, we're going to learn how to integrate with an API from a .NET application. Some of the major topics that we will cover includes 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 .NET 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 course, at Pluralsight.