🧑💻 ASP.NET Core Web API Setup with Entity Framework Core – No Controller Yet
In this video, I walk you through the complete setup of an ASP.NET Core Web API project using Entity Framework Core. We focus on creating the project, setting up the model, configuring the DbContext, and running EF Core migrations to generate the database and table in SQL Server.
📌 What’s Covered:
✅ Creating a new ASP.NET Core Web API project
✅ Installing necessary EF Core packages
✅ Creating the Employee model with required and nullable fields
✅ Setting up the ApplicationDbContext
✅ Adding the connection string to appsettings.json
✅ Injecting the DbContext in Program.cs
✅ Running Add-Migration and Update-Database
✅ Verifying the database and table in SSMS
🎯 Project Name: EmployeeAdminPortel
📂 Technologies Used: ASP.NET Core, Entity Framework Core, SQL Server
🗂 Tools: Visual Studio, Package Manager Console, SSMS
👉 Next Part Coming Soon: Building the CRUD API Controllers!
👍 Like, 💬 Comment, and 🔔 Subscribe if you found this useful!
☕ Support me: https://buymeacoffee.com/rinshadvv3t
#aspnetcore #webapi #entityframeworkcore #dotnet #sqlserver #csharp