January 30, 2023

C# 11.0: Newlines in String Interpolation Expressions

In this post let’s have a look at another feature that is available with C# 11.0. And that is support for Newlines in String Interpolation Expressions. Consider […]
January 10, 2023

Azure Durable Functions in Azure Functions .NET Isolated Worker Process

Azure Durable Functions now supports .NET 7.0 running in the Isolated worker process. It’s still in it’s preview stage, but it’s super exciting. In this post, […]
December 5, 2022

ASP.NET Core Web API: Exception Handling

In this post, let’s see how we can provide a common approach for handling exceptions in ASP.NET Core Web APIs in the Development environment as well […]
December 4, 2022

ASP.NET Core: Suppress Implicit Required Model Validation For Non Nullable Reference Types

In this post, let’s see how we can disable implicit required model validation for non-nullable reference types when the nullable context is enabled in an ASP.NET […]
December 2, 2022

JsonExtensionDataAttribute in System.Text.Json.Serialization

In this post let’s have a look at this nice attribute JsonExtensionDataAttribute that’s available in System.Text.Json.Serialization Namespace. I had a requirement where I have an integration API that […]
December 1, 2022

C# 11.0: File-local Types

In this post let’s have a look at one of the newest additions to C#, which is the file access modifier.  For types that are declared with file access modifier, […]
November 9, 2022

.NET: Using dotnet user-jwts to Create Development Time JWT Tokens

In this post, let’s see how we can easily create JWT tokens for Development purposes using dotnet user-jwts.  Consider the following code. using Microsoft.AspNetCore.Authentication.JwtBearer;using System.Security.Claims; WebApplicationBuilder builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddAuthentication(
November 2, 2022

.NET 7.0: ArgumentNullException.ThrowIfNullOrEmpty()

In this post, let’s have a look at this nice little feature that’s available with .NET 7 and C# 11.0. With .NET 6 and C# 10.0, […]
October 7, 2022

EF Core 7.0: Save and Query JSON in Relational Databases

In this post, let’s have a look at a new feature that’s going to be available with EF Core 7.0 and that’s the support for saving […]