In this blog post, which will be a quick read, I’m going to begin what I expect to be a long-running endeavour, to dig into new APIs available in .NET 5 and ASP.NET Core 5.0. This time, I’m going to look at a new helper for HTTP protocol versions. What are HTTP Protocol Versions? Through […]
Tag: http
HttpClientFactory in ASP.NET Core 2.1 (Part 2) Defining Named and Typed Clients
In my last post – An introduction to HttpClientFactory – I explained some of the reasons behind the creation of the feature. We looked at what problems it helps solve and then followed a very basic example showing how it can be used in a WebAPI application. In this post I want to dive into […]
HttpClientFactory in ASP.NET Core 2.1 (Part 1) An Introduction to HttpClientFactory
TL;DR; A new HttpClientFactory feature is coming in ASP.NET Core 2.1 which helps to solve some common problems that developers may run into when using HttpClient instances to make external web requests from their applications. Introduction This blog post has been in the works since mid-October 2017, which was when I first noticed the new […]