December 1, 2022

Publish a web app to Azure with Visual Studio

Learn how to use Azure App Service to create a new ASP.NET-based web app, then publish and update directly from Visual Studio.
December 1, 2022

Integrate OpenAPI-enabled Web APIs with Azure API Management through Visual Studio

Learn how to add an OpenAPI-enabled Web API application to Azure API Management through Visual Studio.
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 […]
August 15, 2022

EF Core: OnDelete DeleteBehavior ClientSetNull Vs. SetNull in an Optional Relationship

In this post, let’s have a look at the difference between DeleteBehavior.ClientSetNull and DeleteBehavior.SetNull when configuring OnDelete action in an Optional EF Core Relationship.  I am finding this important […]
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 […]
July 20, 2022

Entity Framework Core 7 Preview 6: Performance Improvements

Entity Framework Core 7 (EF7) Preview 6 was released and it contains a bunch of performance improvements by reducing unnecessary roundtrips to the database and by improved […]
July 16, 2022

Visual Studio 2022 Version 17.3 Preview 3: IEnumerable Debugger Visualizer Improvements

In this post, let’s have a look at one of the nicest features in Visual Studio 2022 Preview that got improved with Visual Studio 2022 version 17.3 […]
July 6, 2022

.NET 7 Preview 5: Using [AsParameters] Attribute for Parameter Binding in Minimal APIs

In this post let’s go through this new attribute [AsParameters] that got introduced in .NET 7 Preview 5. This attribute is especially for Minimal APIs in ASP.NET Core. Let’s […]
June 28, 2022

Session: Improve Developer Productivity and Code Quality with GitHub at the First Ever Microsoft Reactor Pop-Up, New Zealand

First-Ever Microsoft Reactor Pop-Up, New Zealand started today and it’s a three-day event.  Microsoft Reactor Pop-Up, New Zealand Microsoft Reactor Pop-Up, New Zealand Day 1 was […]
June 16, 2022

.NET 7 Preview 5: Improved Polymorphic Serialization/Deserialization Support in System.Text.Json

.NET 7 Preview 5 is out and we now have omproved Polymorphic Serialization/Deserialization Support in System.Text.Json. Consider the following classes. public class Person {     public string Name { get; set; } } public class Student : Person {     public int StudentId { get; set; } […]