#96 Steve Gordon, Http Client Factory in .NET Core 2.1

Summary
Steve Gordon and I talk about the new Http Client Factory in .Net Core 2.1. We cover what's new, what's different and how to use Polly, the .NET resilience framework with it.

Details
Who he is, what he does, meetup group, Humanitarian Toolbox. What is wrong with Http Client, exhausting sockets; using a singleton, DNS problems. Http Client Factory, creates a client pool, using DI to create the clients, named and typed clients, testing. Http Client Handlers. Using Polly with Http Client, differentiating between policies for a given endpoint, wrapping, calling delegates.

Links
Steve's homepage

Steve's series on Http Client Factory.
Steve's twitter

Steve's MS Doc's page

Scott Hanselman's post on Http Client Factory.

Download mp3 of podcast

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.