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 […]
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(
October 13, 2022

ASP.NET Core: HTTP Logging

In this post let’s see how easy it is to set up HTTP Logging in an ASP.NET Core application. You just need to add the HTTP […]
September 1, 2022

Introducing Built-In Container Support for the .NET SDK

In this post, let’s see how we can create a containerized version of our application by doing just dotnet publish. Note: In order to do this, you’ll need […]
August 13, 2022

ASP.NET Core: Rate Limiting with .NET 7 Preview 6

With the upcoming .NET 7, there’s a new NuGet package System.Threading.RateLimiting coming to manage the Rate Limiting. We can use rate limiting to protect a resource from getting […]