CSharp

How to automatically deploy a passwordless Azure PostgreSql Server featured image

How to automatically deploy a passwordless Azure PostgreSql Server

How to create an Azure PostgreSql Server automatically that uses Microsoft Entra authentication, migrates the database using Entity Framework Core, and deploys out the …

avatar
Ben Sampica
Testing & Local Development without Dockerfiles in .NET (Aspire) featured image

Testing & Local Development without Dockerfiles in .NET (Aspire)

A guide to running and testing .NET projects without Dockerfiles using .NET Aspire and TUnit.

avatar
Ben Sampica
Testing & Local Development without Dockerfiles in .NET (TestContainers) featured image

Testing & Local Development without Dockerfiles in .NET (TestContainers)

A guide to running and testing .NET projects without Dockerfiles using TestContainers.NET and Respawner.

avatar
Ben Sampica
Working with Timers in TimeProvider featured image

Working with Timers in TimeProvider

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

avatar
Ben Sampica
A Complete Guide to HTMX + .NET Minimal APIs featured image

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.

avatar
Ben Sampica
How to automatically deploy a passwordless Azure SQL Server featured image

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 …

avatar
Ben Sampica
Keyed Services in .NET 8 And The Factory Pattern featured image

Keyed Services in .NET 8 And The Factory Pattern

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

avatar
Ben Sampica
Azure AD Authentication Pitfall #1 featured image

Azure AD Authentication Pitfall #1

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

avatar
Ben Sampica
Fake It So You Can Make It featured image

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 …

avatar
Ben Sampica
From MVC to Blazor Server featured image

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!

avatar
Ben Sampica