Razor Pages: EF Core (DB First) | CRUD Scaffolding DBContext | Asp.Net Core

Опубликовано: 27 Март 2026
на канале: Zia A. Shaikh
10,382
127

Subscribe This Channel - Learn #RazorPages #EFCore & #CRUD #Scaffolding #DBContext of your #SqlServer #DB

Video Details:
Create Razor Pages Web Application in ASP.Net Core
Configure EntityFramework Core (EF Core)
Install-Package Microsoft.EntityFrameworkCore.SqlServer
Install-Package Microsoft.EntityFrameworkCore.Tools
Generate DB Context for Sql Server Database
Scaffold-DBContext " -connection string - " Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Tables (tables_names)

and then generate Crud (Create | Retrive | Update | Delete) pages automatically with Parent and Child relationships in SQL DB having PrimaryKey and ForeignKeys.

Child page will have dropdown of Parent table records - all auto generation - No Coding Required.