CSharp

Working with Timers in TimeProvider

How to work with Timers in TimeProvider and how to migrate existing timers to them.

Nov 22, 2024

A Complete Guide to HTMX + .NET Minimal APIs

Creating a HTMX and .NET Minimal API from scratch and adding necessary features like validation and error handling.

Nov 13, 2024

How to automatically deploy a passwordless Azure SQL Server

How to create an Azure SQL Server automatically that uses Microsoft Entra authentication, migrates the database using Entity Framework Core, and deploys out the infrastructure automatically with Bicep.

May 3, 2024

Keyed Services in .NET 8 And The Factory Pattern

How keyed services can smooth over the factory pattern in dependency injection scenarios.

Nov 15, 2023

Azure AD Authentication Pitfall #1

A common authentication pattern with Azure AD comes to a screeching halt because of backwards compatibility.

Nov 13, 2022

Fake It So You Can Make It

I use Bogus to demonstrate how fake factories can be used to easily create useful, random data, whether it be primitive types or complex objects, for use in testing and non-production data seeding.

Aug 31, 2021

From MVC to Blazor Server

A step-by-step guide to take your MVC project and spice it up with Blazor components - or even Blazor pages!

May 16, 2021

Blazor Server - EF Core Quirks

By default, EF Core’s DbContext is scoped. This will cause issues with asynchronous components accessing data in Blazor Server.

Dec 5, 2020

ADO.NET vs an ORM (Dapper & EF)

A case for an ORM compared to traditional ADO.NET and/or raw SQL scripts.

Jun 16, 2020

Fluent Validation

Learning, using, and extending the FluentValidation library.

May 20, 2020