Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
285いいね 22838回再生

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

Full ASP.NET Courses 🚀

👉 Build ASP.NET Core Web API - Scratch To Finish
www.udemy.com/course/build-rest-apis-with-aspnet-c…

👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API
www.udemy.com/course/real-world-app-angular-aspnet…

👉 ASP.NET Core Razor Pages - Scratch to Finish
www.udemy.com/course/aspnet-core-razor-pages-web-a…

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.

💖 Subscribe to show support: bit.ly/2FAgXzS
☕ Buy me a coffee: www.buymeacoffee.com/SameerSaini

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"

We will then change the connection to the database from the startup.cs file. We will use dependency injection to inject the DBContext and use it in the database serv

コメント