A step by step tutorial on how to build a simple bare bones .NET 5.0 API from scratch with a couple of example endpoints/routes, with details on every line of code and configuration to show how it all fits together.
How to create and debug a simple .NET web application in Visual Studio Code.
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 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.
This tutorial shows how to build a .NET 5.0 API that supports user registration, login with JWT authentication and user CRUD operations. Includes example client apps built with Angular, Blazor, React & Vue.
How to implement Basic HTTP Authentication in .NET 5.0 with C#. Includes example client apps built with Angular, React, Vue & Blazor.
How to implement custom JWT authentication in .NET 5.0 with C#. Includes example client apps built with Angular, React, Vue & Blazor.