January 26, 2023

Choose the correct data type in your C# code

Learn the difference between many data types, how they work, what they do, and how to choose one over another.
January 25, 2023

Modify the content of strings using built-in string data type methods in C#

Use built in methods to extract, remove, or replace data in strings.
January 24, 2023

Store and retrieve data using literal and variable values in C#

Use data in your applications by creating literal values and variable values of different data types.
January 24, 2023

Format alphanumeric data for presentation in C#

Use C# to format strings with white space, special characters, padding, and alignment. Give context to numeric data like currency, percentages, and numbers with decimals.
January 20, 2023

Persist and retrieve relational data with Entity Framework Core

This module guides you through creating a data access project, connecting to a relational database, and writing CRUD queries.
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, […]