Responsive web app with user registration & authentication in ASP.NET Core 8 MVC + MySQL in 10 min

preview_player
Показать описание
Both code first and database first approaches used in a single project.
Developers who already have database and wants to use that and also wants to use ASP.NET Core 8 Identity using code first. this is perfect example.
Scaffolding is used for fast development.

Create Models from DB (db first)
Scaffold-DbContext "server=localhost;uid=root;pwd=Abcd1234*;database=Business" MySql.EntityFrameworkCore -OutputDir Models

Update Models from DB (db first)
Scaffold-DbContext "server=localhost;uid=root;pwd=Abcd1234*;database=Business" MySql.EntityFrameworkCore -OutputDir Models -f

Рекомендации по теме
visit shbcf.ru