Published: June 24 2021

VS Code + .NET - Debug a .NET Web App in Visual Studio Code

How to create and debug a simple .NET web application in Visual Studio Code.
Published: June 15 2021

.NET 5.0 API - JWT Authentication with Refresh Tokens

How to implement JWT authentication with Refresh Tokens in a .NET 5.0 API. Includes example client app built with Angular.
Published: June 08 2021

.NET 5.0 - Automatic Entity Framework Migrations to SQL Database on Startup

A super quick example of how to automatically migrate database changes from code in .NET 5.0 using Entity Framework in the Startup.cs file.
Published: June 03 2021

.NET 5.0 - Entity Framework Migrations for Multiple Databases (SQLite and SQL Server)

An example of how to setup a .NET 5.0 project with Entity Framework Migrations that supports multiple different database providers.
Published: June 02 2021

.NET 5.0 - Create and Validate JWT Tokens + Use Custom JWT Middleware

This is a quick example of how to create and validate JWT tokens in .NET 5.0. We'll also cover how to implement custom JWT authentication using custom JWT middleware and a custom authorize attribute.
Published: June 01 2021

Next.js - NavLink Component Example with Active CSS Class

This is a quick post to show how to create a custom NavLink component in Next.js that extends the built-in Link component to add the CSS className "active" when the href attribute matches the current URL.
Published: May 31 2021

Next.js - Make the Link component work like React Router Link

How to create a custom Link component that wraps the built-in Next.js link component to make it work more like the standard link component from React Router.
Published: May 30 2021

AWS - Create a VPC with Public and Private Subnets and a NAT Gateway

How to create an AWS VPC with public and private subnets and enable outbound internet access from the private subnets through a NAT Gateway.
Published: May 29 2021

.NET 5.0 - Global Error Handler Tutorial

This is a quick post to show how to implement a global exception handler in .NET 5.0.
Published: May 27 2021

.NET 5.0 - Hash and Verify Passwords with BCrypt

This is a quick example of how to hash and verify passwords in .NET 5.0 using the BCrypt.Net-Next password hashing library, a C# implementation of the bcrypt password hashing function.
Supported by