In this lecture, we configure database connectivity in ASP.NET Core using Entity Framework Core (Code First Approach).
In this practical video, you will learn:
1️⃣ How to install required NuGet Packages
2️⃣ How to configure Connection String in appsettings.json
3️⃣ How to check SQL Server name in SSMS
4️⃣ How to create ApplicationDbContext class
5️⃣ How to register DbContext in Program.cs file
6️⃣ How to run Add-Migration command
7️⃣ How to run Update-Database command
After completing this lecture, your database and tables will be created automatically in SQL Server.
This is a very important lecture for beginners and interview preparation.
📌 Download Notes: (https://1drv.ms/p/c/c6e42df9a72932ee/...)
Don’t forget to Like, Share & Subscribe for complete ASP.NET Core Course.
#aspnetcore #entityframeworkcore #sqlserver #dotnet #csharp
#How to Create Data base in Code First #How To installed Nuget package #How Create ApplicationDbContext