Category: ASP.NET Core
-
Adding Default Headers to Swagger (OpenAPI)
Adding Default Headers to Swagger / Open API definition in ASP.NET Core 3.1 application.
-
Running an ASP.NET Core application against multiple DB providers – Part 2
Different approaches we considered to set up integration tests when running against multiple DB providers in ASP.NET Core
-
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…
-
Migrating Dotnet Foundation website to ASP.NET Core 3.0
I recently migrated the Dotnet Foundation website, https://dotnetfoundation.org/ to ASP.NET Core 3.0. The site was initially built on ASP.NET Core 2.1 and I found this as a good learning opportunity. Migrating from ASP.NET Core 2.1 to 2.2 I had initially raised PR to migrate from ASP.NET Core 2.1 to 2.2 instead of directly going to…
-
C# dynamic – A friend you may want to keep a distance
Recently, after one of my PRs which was merged to master, my teammates started complaining about a weird scenario. On some occasions, the ASP.NET Core app hosted inside the IIS worker process (w3wp.exe), would simply die without any exception/ warning. There were no clear retro-steps and it was difficult to pinpoint what was causing the…
-
My first major Open Source contribution
Without a doubt Open Source is great. It has touched the lives of millions of developers and through them almost everyone living on this planet someway or the other. The magic of Open Source For all the power Open Source has given to developers, the sad reality is that only very few people are actually…
-
.NET Core – Running Background Worker on IIS
One of the crucial pieces of the new solution that I’m working on is RabbitMQ. For those who have never heard of RabbitMQ, it is one of the most widely used open source message broker. Since our solution is hosted on-premise, RabbitMQ was one of the most natural fit for us. Our entire solution architecture…
-
Override appSettings during development – .NET Core
Sometime back, I had written about how to override appSettings during development in traditional ASP.NET application. Recently, we started development of a ASP.NET Core application and had a similar challenge. Our developers work on different operating systems (Windows and Mac). They have different local connection strings and application settings. We had a same problem as…