How to implement JWT authentication with Refresh Tokens in a .NET 5.0 API. Includes example client app built with Angular.
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.
An example of how to setup a .NET 5.0 project with Entity Framework Migrations that supports multiple different database providers.
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.
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.
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.
How to create an AWS VPC with public and private subnets and enable outbound internet access from the private subnets through a NAT Gateway.
This is a quick post to show how to implement a global exception handler in .NET 5.0.
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.
This is a quick post to show how to configure a .NET 5.0 API to allow CORS requests from any origin as well as with credentials.