Category: asp .net core 3.1
-
Generating client code with NSwag for Enumeration class
This post describes how we can render an Enumeration class as an Enum type in client code with NSwag by implementing Swagger ISchemaFilter.
-
Enumeration class as query string parameter
In this post, I have explained how you can use an Enumeration class as a query string parameter by creating a custom Model Binder.
-
From GitHub to NuGet
This post talks about my journey to publish ASP.NET Core Middleware as a Nuget Package from GitHub repository through GitHub Actions.
-
.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.
-
Our failed attempt at IAsyncEnumerable
C# 8 introduced a great feature of async stream using IAsyncEnumerable. This post talks about potential pitfalls when not using it right.
-
Adding Default Headers to Swagger (OpenAPI)
Adding Default Headers to Swagger / Open API definition in ASP.NET Core 3.1 application.