Published: January 18 2023
How to fix the nullable reference warning in Entity Framework DbContext and DbSet: Non-nullable property '...' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Published: January 18 2023
Tutorial on how to build a .NET 7.0 API that supports Facebook Authentication.
Published: November 22 2022
This post shows how to connect a .NET 6 API to an InMemory database for testing with Entity Framework Core.
Published: September 05 2022
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.
Tutorial on how to build a .NET 6.0 API that supports CRUD operations.
Published: February 26 2022
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.
Published: February 01 2022
This is a super quick example of how to automatically migrate database changes on startup from code in .NET 6.0 using Entity Framework in the Program.cs file.
Published: January 31 2022
An example of how to setup a .NET 6.0 project with Entity Framework Migrations that supports multiple different database providers.
Published: January 07 2022
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.
Published: October 26 2021
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.
Published: October 21 2021
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.
Published: September 28 2021
Tutorial on how to build a .NET 5.0 API that supports CRUD operations.
Published: September 01 2021
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 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.
Published: May 25 2021
Last updated: January 07 2022
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.
Published: July 06 2020
Last updated: May 10 2021
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.
Published: January 03 2020
Last updated: June 04 2020
An example of how to setup an ASP.NET Core project with EF Core Migrations that support multiple different database providers.
Published: December 27 2019
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.
Published: October 14 2019
Last updated: June 04 2020
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.