Tag: Dependency Injection
.NET Core and DI – Beware of Captive Dependency
The post explains captive dependency. It highlights the potential issues when you do not configure lifetime services correctly.
Running an ASP.NET Core application against multiple DB providers – Part 1
In my previous post, I had talked about how we to ported an existing repository code from Azure SQL to Amazon Aurora. This is a two-series post where I will throw a little bit more light on the intention behind it and what we were trying to achieve. Background We had a small ASP.NET Core solution…
Castle Windsor: Change Lifestyle
In my current project, we use Castle Winsdor for Dependency Injection. I must admit before this project I had never used or even heard of it. I have had some love-hate relationship with Castle Windsor , with more hate than love initially. However, over a period of time, I realized that Castle Windsor is probably…