HTTP best practices using ASP.NET Core- Part 2

In part 1 of this series, we compared HTTP Client vs HTTP Client Factory. Also, discussed the advantages that can be gained by using HTTP Client Factory or overcoming the shortfalls of socket exhaustion with HTTP Client.  We had already overcome socket exhaustion but there are challenges around resiliency and they must be addressed. Resiliency: …

Continue reading HTTP best practices using ASP.NET Core- Part 2

HTTP best practices using ASP.NET Core- Part 1

Past few years, we are using Httpclient but are we using it properly?  Recently, I came across the code of a senior developer from the other team. The developer was trying to communicate with the microservices by using HttpClient and has implemented his own logic of retry.  Implementing the own logic for retry is not …

Continue reading HTTP best practices using ASP.NET Core- Part 1