Build Your First ASP.NET Core Web API (.NET 10) 🚀
Learn to create a .NET 10 ASP.NET Core Web API from scratch with Entity Framework Core in this full tutorial.

Ripon Datta
2.9K views • Dec 21, 2025

About this video
In this tutorial, you’ll learn how to build a .NET 10 ASP.NET Core Web API from scratch using entity framework core, asp.net core web api, web api .net, swagger, scalar, etc.
We create a complete REST API with controllers, service classes, dependency injection, Entity Framework Core, SQL Server, and DTOs.
Entity Framework Core - Code First: https://youtu.be/-Wo7_KCOvxI
Swagger Setup: https://youtu.be/mk8m9w7tIgg
Scalar Setup: https://youtu.be/vjT2M_LMZMs
This step-by-step .NET tutorial covers everything from project setup to database integration, including API documentation with Swagger and Scalar. If you’re looking to understand how modern ASP.NET Core Web APIs/RESTful API are built in production, this video is for you.
🔧 What You’ll Learn in This Video
Project overview and structure in Visual Studio
Launch settings and application configuration
Understanding Program.cs in ASP.NET Core
Built-in Dependency Injection: AddScoped
Creating a Service layer (clean architecture)
Working with Controllers and Routing
Using HTTP files for API testing
API documentation with Scalar and Swagger
Creating models and DTOs
Using Entity Framework Core
Configuring SQL Server and connection strings
Running EF Core migrations
Building a clean and maintainable .NET Web API
Chapters:
00:00 Project Overview – What We’re Building
02:00 Launch Settings Explained
03:05 AppSettings & Configuration
05:25 Program.cs Deep Dive
06:57 Scalar Setup & Overview
08:23 Swagger Setup & Usage
11:12 Creating Web API Controller
18:45 HTTP File for API Testing
22:46 Entity Framework Core Setup
26:11 SQL Server Connection String
30:03 SQL Server & EF Core Migrations
34:03 Service Class & Business Logic Layer
36:26 Dependency Injection in ASP.NET Core
46:20 DTOs (Data Transfer Objects) Explained
Tags
asp.net core web api, web api .net, .net tutorial, c# tutorial, entity framework core, ef core, sql server, swagger tutorial, scalar tutorial, how to add swagger in asp.net core web api, rest api, asp.net core, .net core, dependency injection, addscoped, visual studio, dotnet 10, swagger, swaggerui, scalar, .http file
We create a complete REST API with controllers, service classes, dependency injection, Entity Framework Core, SQL Server, and DTOs.
Entity Framework Core - Code First: https://youtu.be/-Wo7_KCOvxI
Swagger Setup: https://youtu.be/mk8m9w7tIgg
Scalar Setup: https://youtu.be/vjT2M_LMZMs
This step-by-step .NET tutorial covers everything from project setup to database integration, including API documentation with Swagger and Scalar. If you’re looking to understand how modern ASP.NET Core Web APIs/RESTful API are built in production, this video is for you.
🔧 What You’ll Learn in This Video
Project overview and structure in Visual Studio
Launch settings and application configuration
Understanding Program.cs in ASP.NET Core
Built-in Dependency Injection: AddScoped
Creating a Service layer (clean architecture)
Working with Controllers and Routing
Using HTTP files for API testing
API documentation with Scalar and Swagger
Creating models and DTOs
Using Entity Framework Core
Configuring SQL Server and connection strings
Running EF Core migrations
Building a clean and maintainable .NET Web API
Chapters:
00:00 Project Overview – What We’re Building
02:00 Launch Settings Explained
03:05 AppSettings & Configuration
05:25 Program.cs Deep Dive
06:57 Scalar Setup & Overview
08:23 Swagger Setup & Usage
11:12 Creating Web API Controller
18:45 HTTP File for API Testing
22:46 Entity Framework Core Setup
26:11 SQL Server Connection String
30:03 SQL Server & EF Core Migrations
34:03 Service Class & Business Logic Layer
36:26 Dependency Injection in ASP.NET Core
46:20 DTOs (Data Transfer Objects) Explained
Tags
asp.net core web api, web api .net, .net tutorial, c# tutorial, entity framework core, ef core, sql server, swagger tutorial, scalar tutorial, how to add swagger in asp.net core web api, rest api, asp.net core, .net core, dependency injection, addscoped, visual studio, dotnet 10, swagger, swaggerui, scalar, .http file
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
2.9K
Likes
59
Duration
56:18
Published
Dec 21, 2025
User Reviews
4.5
(2) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now