filmov
tv
ASP.NET 8 Core and Angular Tutorial - Part 2: Web API and SQL Database Setup

Показать описание
Net Core API Part 2 - Project Creation and Database Setup
Welcome to Part 2 of our .NET Core API tutorial series! 🎉 In this video, we’ll kickstart our journey by creating a new .NET Core API project from scratch. We'll cover the initial setup, choose the right project templates, and configure essential settings to set up a solid foundation. Next, we’ll dive into database setup with Entity Framework Core, creating the necessary models, DbContext, and initial migrations to ensure our database is structured and ready for action.
Whether you're building an API for a web, mobile, or desktop application, this series will guide you through each step. Subscribe to stay tuned for Part 3, where we’ll start building out our first endpoints! 🚀
Packages Used:
Microsoft.EntityFrameworkCore.SqlServer
Microsoft.EntityFrameworkCore.Tools
Scaffolding Command:
Scaffold-DbContext 'Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Customers' Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Database: Microsoft SQL
Framework: ASP .Net Core Web API - .Net 8
Chapters:
0:00 Introduction to ASP .Net Core database connection
0:41 ASP .Net Core Web API project creation
2:51 .Net Core necessary packages for Scaffolding
5:37 ASP .Net Core database context and models scaffolding (Reverse Engineering)
8:30 .Net Web API Db Context and Models
9:27 ASP .Net Core Db Context configuration and Dependencies Injection
Github repository:
Welcome to Part 2 of our .NET Core API tutorial series! 🎉 In this video, we’ll kickstart our journey by creating a new .NET Core API project from scratch. We'll cover the initial setup, choose the right project templates, and configure essential settings to set up a solid foundation. Next, we’ll dive into database setup with Entity Framework Core, creating the necessary models, DbContext, and initial migrations to ensure our database is structured and ready for action.
Whether you're building an API for a web, mobile, or desktop application, this series will guide you through each step. Subscribe to stay tuned for Part 3, where we’ll start building out our first endpoints! 🚀
Packages Used:
Microsoft.EntityFrameworkCore.SqlServer
Microsoft.EntityFrameworkCore.Tools
Scaffolding Command:
Scaffold-DbContext 'Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Customers' Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Database: Microsoft SQL
Framework: ASP .Net Core Web API - .Net 8
Chapters:
0:00 Introduction to ASP .Net Core database connection
0:41 ASP .Net Core Web API project creation
2:51 .Net Core necessary packages for Scaffolding
5:37 ASP .Net Core database context and models scaffolding (Reverse Engineering)
8:30 .Net Web API Db Context and Models
9:27 ASP .Net Core Db Context configuration and Dependencies Injection
Github repository:
Комментарии