This post shows goes through the steps to connect a .NET 6 API to SQLite using Entity Framework Core, and automatically create/update the SQLite database from code using EF Core migrations.
This post shows goes through the steps to connect a .NET 6 API to PostgreSQL using Entity Framework Core, and automatically create/update the PostgreSQL database from code using EF Core migrations.
This post shows goes through the steps to connect a .NET 6 API to MySQL using Entity Framework Core, and automatically create/update the MySQL database from code using EF Core migrations.
This post shows goes through the steps to connect a .NET 6 API to SQL Server using Entity Framework Core, and automatically create/update the SQL Server database from code using EF Core migrations.
How to build a boilerplate .NET 6.0 API that supports email sign up, verification, authentication, role based access control, forgot password, reset password and account management (CRUD) functionality.
A step by step tutorial on how to build a minimal .NET 6.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 build a .NET 6.0 API that supports user registration, login with JWT authentication and CRUD operations. Includes example client apps built with Angular, Blazor, React & Vue.
With the .NET CLI you can create a new project with the dotnet new <TEMPLATE> command, where the TEMPLATE is the type of application you want to create.
In this post we'll go through the steps to connect a .NET API to MySQL using Entity Framework Core, and to create a MySQL database from code using EF Core migrations.
In this post we'll go through the steps to connect a .NET API to SQL Server using Entity Framework Core, and to create a SQL Server database from code using EF Core migrations.
The Startup class configures the services available to the .NET Dependency Injection (DI) container in the ConfigureServices() method, and configures the .NET request pipeline for the application in the Configure() method.
The Main method is the entry point for a .NET application, when an app is started it searches for the Main method to begin execution. The method can be located anywhere in a project but is typically placed in the Program class.
How to build a boilerplate .NET 5.0 API that supports email sign up, verification, authentication, role based access control, forgot password, reset password and account management (CRUD) functionality.
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.
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 setup an AWS environment from scratch and deploy a .NET Core 3.1 API to AWS Lambda that connects to a SQL Server database running on AWS RDS (Relational Database Service) and sends email using AWS SES (Amazon Simple Email Service).
In this tutorial we'll go through an example of how to build a simple user registration, login and user management (CRUD) application with Blazor WebAssembly.
This is a quick post to show how you can add a couple of simple extension methods to the NavigationManager class in your Blazor WebAssembly app for accessing query string parameters in the URL.
This is a quick example of how to setup form validation in ASP.NET Core Blazor WebAssembly. The example is a simple registration form with pretty standard fields for title, first name, last name, date of birth, email, password, confirm password and an accept terms and conditions checkbox.
This is a quick example of how to create and validate JWT tokens in ASP.NET Core 3.1. We also cover how to implement custom JWT authentication with custom JWT middleware and a custom authorize attribute.
A quick example of how to hash and verify passwords ASP.NET Core 3.1 using the BCrypt.Net-Next password hashing library which is a C# implementation of the bcrypt password hashing function.
How to build a boilerplate authentication API with ASP.NET Core 3.1 that includes email sign up & verification, authentication & role based authorization, forgot password & reset password functionality, account management (CRUD) routes with role based access control, and Swagger documentation.
In this deployment tutorial we're going to setup a new production ready Windows 2019 web server on Microsoft Azure with IIS (Internet Information Services), then deploy a full stack Vue.js + ASP.NET Core + SQL Server application to it that supports user registration and JWT authentication.
In this deployment tutorial we're going to setup a production ready Windows + IIS server from scratch on Microsoft Azure, then deploy a full stack React + ASP.NET Core + SQL Server application to it that supports user registration and JWT authentication.
In this deployment tutorial we're going to setup a production ready web server from scratch on Microsoft Azure running Windows Server and IIS, then deploy a full stack Angular + ASP.NET Core + SQL Server application to it that supports user registration and authentication.
This is a super quick example of how to automatically migrate database changes from code in ASP.NET Core using Entity Framework Core from the Startup.cs file.
How to build an API with role based authorization / access control in ASP.NET Core 3.1 & C#. Includes example client apps built with Angular, React and Vue.
Simple boilerplate ASP.NET Core 3.1 API that supports User Registration, Login and User Management. Uses SQLite in development & SQL Server in production and includes example client apps built with React, Angular & Vue.
How to build an API with role based authorization / access control in ASP.NET Core 2.2 & C#. Includes example client apps built with Angular, React and Vue.