Link to the GitHub Repository: https://github.com/Clifftech123/dotne... Support Our Channel If you find value in our tutorial, please consider making a small contribution to support us. Your generosity helps us create high-quality educational content for the programming community! https://buymeacoffee.com/clifftech Connect with Me:* LinkedIn: / isaiah-clifford-opoku GitHub: https://github.com/Clifftech123 X : https://x.com/Clifftech_Dev What You'll Learn in This Video In this comprehensive tutorial, we’ll guide you through building a REST API from scratch using Clean Architecture principles. The project is developed with .NET 9, Entity Framework Core (EF Core), and popular patterns such as CQRS, unit of work, repository, and mediator. We’ll also leverage open-source libraries like MediatR, AutoMapper, and more, along with tools such as: Visual Studio: For efficient coding and debugging. Postman: To send HTTP requests and connect to our SQL database. We’ll cover both coding and refactoring to help you grasp essential concepts. By the end of this video, you'll have a solid understanding of how to apply these patterns and libraries to real-world, industry-level applications. Video Timestamps 0:00 - Introduction to Clean Architecture with .NET 9 3:00 - Setting up a Clean Architecture project in .NET 15:05 - Establishing references across the Clean Architecture layers 19:15 - Creating Todo entities and contracts in the Domain Layer 36:09 - Configuring database context and seed data in the Infrastructure Layer 41:19* - Defining DbContext for Todo and Category models 44:46 - Configuring seed data for Category 48:26 - Configuring seed data for Todo 57:55 - Implementing Generic Repository Interface 1:01:01 - Developing Generic Repository 1:19:14- Performing EF Core migration in the Presentation Layer 1:31:07 - Introduction to the Application Layer 1:32:08 - Structuring folders in the Application Layer 1:34:19 - Installing NuGet packages for the Application Layer 1:37:07 - Creating custom Exceptions *1:43:02 - Setting up Mapping Profiles 1:52:27 - Implementing Global Exception Handler 1:58:21 - Understanding Commands, Handlers, and Queries 2:00:28 - Implementing Todo Commands 2:05:46 - Developing Category Commands 2:09:14 - Creating Todo Queries 2:11:41 - Defining Category Queries 2:15:07 - Handling Todo-related tasks 2:46:33 - Handling Category-related tasks 3:23:02 - Working within the Presentation Layer 3:24:55 - Creating Todo Controller 3:50:18 - Building Category Controller 4:09:41 - Closing Remarks Why Watch This Video? By the end of this tutorial, you'll have a comprehensive understanding of Clean Architecture principles and how to implement them effectively using modern tools and frameworks. This hands-on guide is ideal for building scalable, maintainable, and professional-grade applications. #dotnet #aspnetcore #api #restapi