Blazor boilerplate template including user authentication with a MySQL database. This template uses Pomelo.EntityFrameworkCore.MySql for the connection to the database throught the Entity Framework.
- dotnet sdk
- Entity Framework Core .NET Command-line Tools (aka
dotnet ef
) - MySQL/MariaDB server
- Create a MySQL/MariaDB database, no need to create any tables this repo will execute some migrations.
- Clone ths repo
- Update the
DefaultConnection
setting in appsettings.json with the hostname/ip, port, user, password and database name. - Run
dotnet ef database update
- Run
dotnet watch