Polly is a useful dotnet library to make a web service call resilient by introducing retry, circuit breaker and fallback policy with ease. It is common to add retry logic when a web service call is failed. However, integrating retry, circuit breaker and fallback logic can be tricky. Polly makes it easy. The retry… Continue reading How to create a resilient Web API using dotnet and Polly library
Category: C#
Why you still use Resharper in 2023
Features of Resharper I use most. Instant Search The first thing for me is the solution-wide instant search (Ctrl + T). VS provides search, of course, but it’s slow as it reads when query. But, the Resharper search responds instantly. It feels like using Elastic Search on Visual Studio. By adding “/” after the search… Continue reading Why you still use Resharper in 2023
A DotNet developer’s note on Technology Radar V28
As a new Technology Radar release with a bunch of interesting techs, a few drew my attention. Techniques Applying product management to internal platforms: product mindset includes a roadmap, value to biz, and consumer experience enhancement. CI/CD infrastructure as a service: Our team has been using Jenkins hosted on-prem and started moving to Azure DevOps.… Continue reading A DotNet developer’s note on Technology Radar V28
How to manage shared library in c# project
Best article I have ever seen so far regarding this topic. https://www.devtrends.co.uk/blog/creating-your-first-shared-library-in-.net-core
EF Core 7 deadly sin
Load testing tool Bombardier https://github.com/codesenberg/bombardier EF Core 7 deadly sin Get only the rows that you need Casting IQueryable -> IEnumerable use .Count() from IQueryable rather than IEnumerable, which will query all data and parsing all. Not using AsNoTracking Can be faster 4x times. Explicit joins Select and map to the object directly rather… Continue reading EF Core 7 deadly sin