Entity Framework Core Database First Approach - Build ASP.NET Core Razor Pages App using EF Core

preview_player
Показать описание
Full ASP.NET Courses 🚀

👉 Build ASP.NET Core Web API - Scratch To Finish

👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API

👉 ASP.NET Core Razor Pages - Scratch to Finish

In this video, we will make an ASP.NET Core Web Application using Razor pages and connect the application to a SQL server database using Entity Framework core database first technique.

We would need to install the below NuGet packages for this video
Microsoft.Entityframeworkcore.SqlServer
Microsoft.Entityframeworkcore.Tools

Scaffolding Entity framework database in the ASP.NET core application

"Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=Blogging;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models"

Рекомендации по теме
Комментарии
Автор

Thank you all for watching my video. If you liked the video, press that like button and subscribe to the channel to show your love and support.

SameerSaini
Автор

I like your video and the develop of the connection to the database is clearly explained.

stefanopetris
Автор

Thanks lot, this video help me do database first workflow on my Razor Pages project 😀

ntu
Автор

do a full blown elaborate discussion on CodeFirst Approach. also a comparison between the 2.
which is more advantageous

ProtikPC_pro_indigo
Автор

Your Tutorials is awesome sir please make more projects in .netcore MVC please sir please

ashraf
Автор

Do you have something like this for .Net 6? I hear there are some odd changes between v5 and v6.

DaveMelton
Автор

not a bad vid apart from the fact that you are mixing up some terminologies, eg instantiating vs assigning, scaffolding database vs scaffolding a model, etc.

stenly
Автор

Is the "Scaffold...." command line the only way to generate the dbcontext?

Juznik
Автор

Nice video dost, a suggestion if I might give, you can provide github link to this project. So that if someone's to download the project. :)

KaranSharma-immt
Автор

I would suggest to show how you set up sql server

AlThePal
Автор

How to use Name in scaffolding command ?

icecut