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

Cache-aside pattern using ASP.NET Core and Azure Redis Cache

In the software development cycle, often the focus is on the performance of the application. There are many ways to improve the performance and one of the most commonly used pattern to improve the performance in modern cloud application is Cache-aside pattern. In this post, I will describe briefly about Cache-aside pattern and it's implementation …

Continue reading Cache-aside pattern using ASP.NET Core and Azure Redis Cache