Solution Creation, SQL Server Database Design & EF Core | .NET 10 Clean Architecture

Опубликовано: 19 September 2026
на канале: Dot Net Tutorials
1,490
20

In this video, we continue building our AI-Powered Customer Support System using .NET 10, ASP.NET Core Web API, SQL Server, Entity Framework Core 10, and Clean Architecture.

This is Chapter 1.2 – Solution Creation, SQL Server Database Design, and Entity Framework Core of our AI for .NET Developers course.
In the previous chapter, we understood the project requirements, users, business workflow, and Clean Architecture. Now, we start developing the actual application.

What You Will Learn
✅ Create the solution using Visual Studio 2026
✅ Create the Clean Architecture projects
✅ Create CustomerSupport.Domain
✅ Create CustomerSupport.Application
✅ Create CustomerSupport.Infrastructure
✅ Create CustomerSupport.API
✅ Configure Clean Architecture project references
✅ Install Entity Framework Core packages
✅ Design the SQL Server database
✅ Create Domain Entities
✅ Create Domain Enums
✅ Configure Entity Framework Core using Fluent API
✅ Configure Entity relationships
✅ Create CustomerSupportDbContext
✅ Configure SQL Server connection string
✅ Register DbContext with Dependency Injection
✅ Seed initial master data using HasData
✅ Create the initial EF Core Migration
✅ Create the SQL Server database using EF Core Code First

Technologies Used
🔹 .NET 10
🔹 C#
🔹 ASP.NET Core Web API
🔹 Visual Studio 2026
🔹 SQL Server
🔹 Entity Framework Core 10
🔹 EF Core Code First Approach
🔹 EF Core Fluent API
🔹 Clean Architecture
🔹 Swagger / OpenAPI

Clean Architecture Projects
Our CustomerSupportSystem solution contains four main projects:

CustomerSupport.Domain – Contains Entities, Enums, and core business concepts.

CustomerSupport.Application – Contains application services, DTOs, repository interfaces, validators, mappings, and application use cases.

CustomerSupport.Infrastructure – Contains Entity Framework Core, DbContext, SQL Server integration, entity configurations, repositories, migrations, seed data, and other infrastructure implementations.

CustomerSupport.API – Contains ASP.NET Core Web API Controllers, application configuration, dependency injection, and the HTTP request pipeline.

We also configure the correct project dependencies so that the application follows proper Clean Architecture dependency rules.
SQL Server and Entity Framework Core

In this chapter, we design the database required for our Customer Support System and create the corresponding Domain Entities.
We use Entity Framework Core Fluent API instead of placing EF Core-specific database configuration inside our Domain Entities. This helps keep the Domain layer independent of Entity Framework Core and SQL Server. Chapter 1.2 - Solution Creation…

We also create the CustomerSupportDbContext, configure entity relationships, add indexes and constraints, seed master data using HasData, create the initial EF Core Migration, and generate the SQL Server database.

This provides the complete non-AI foundation of our application. Once the traditional business application is ready, we will gradually enhance the same project with Generative AI, RAG, Semantic Search, Tool Calling, AI Agents, Multimodal AI, and other AI capabilities.

If you are a .NET Developer, ASP.NET Core Developer, C# Developer, or Software Engineer who wants to understand how to build real-world applications using Clean Architecture and later integrate AI, this series is for you.
👍 If you find the video useful, please Like, Share, and Subscribe.
🔔 Subscribe and enable notifications so you don't miss the upcoming chapters of our AI for .NET Developers course.

Connect with Us for Live Training
📞 Contact Number/WhatsApp: +91 7021801173
📧 Email: [email protected]
📢 Telegram Group: https://telegram.me/dotnettutorials
🌍 Website: https://dotnettutorials.net/

Follow & Subscribe for More .NET Tutorials
📺 Subscribe to our YouTube Channel:
   / @dotnettutorials  

👥 Join Our Facebook Group:
  / 501905403704561  

📘 Like & Follow Our Facebook Page:
  / tutorialsdotnet  

💼 Join Our LinkedIn Group:
  / 14539101  

🏢 Follow Our LinkedIn Company Page:
  / dot-net-tutorials  

#AIForDotNetDevelopers #DotNet10 #ASPNETCore #CleanArchitecture #EntityFrameworkCore #EFCore #SQLServer #CSharp #WebAPI #VisualStudio2026 #CodeFirst #DatabaseDesign #DotNetDeveloper #DotNetTutorials #GenerativeAI