Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Clean Architecture with ASP.NET Core
Rating: 4.7 out of 5(75 ratings)
414 students

Clean Architecture with ASP.NET Core

Build scalable applications with Clean Architecture, CQRS, and Mediator in .NET
Created byFelipe Gavilán
Last updated 11/2025
English
English [Auto],

What you'll learn

  • Design and structure applications with Clean Architecture
  • Implement features with CQRS and Mediator
  • Correctly model the business domain
  • Integrate infrastructure and persistence without coupling the domain
  • Securing your application with ASP.NET Core Identity and Claims-Based Authorization

Course content

7 sections96 lectures5h 10m total length
  • Introduction0:23

    Explore advanced scenarios for software development with .Net core applications. The module introduces clean architecture and guides developing the course application through upcoming modules.

  • What is Software Architecture?1:18

    Define software architecture as the fundamental structure of a software system, outlining components, relationships, and layers to ensure quality, maintainability, scalability, and performance.

  • Software Architecture Styles2:13

    Explores software architecture styles, from monolithic apps housed in a single dll to layered designs with presentation, services, and data access layers, highlighting scalability and maintenance trade-offs; introduce clean architecture.

  • What is Clean Architecture?5:12

    Clean architecture centers business logic by organizing code into domain, application, infrastructure, and UI layers with dependencies flowing from outside in, enabling easier testing, maintainability, and tech swaps.

  • Dependency Inversion Principle3:27
  • Separation of Concerns1:19

    Operate with separation of concerns by assigning each module a single responsibility across layers; inject a repository interface to access data, keeping presentation, application, and infrastructure decoupled.

  • Single Responsibility Principle2:42

    Understand the single responsibility principle, ensuring a class has only one reason to change by splitting validation, saving, and emails into separate classes, and compare SRP with separation of concerns.

  • Persistence Ignorance1:35

    Demonstrate persistence ignorance by keeping the domain away from data access details, such as tables and keys, and remaining agnostic to storage implementations like SQL Server or EF Core.

  • Exploring the Final App3:27

    Build a multi-layer ASP.NET Core app for a fictitious dental company, detailing core domain entities, features like creating and canceling appointments, and infrastructure, API, and security layers.

  • Summary0:47

    Explore clean architecture in ASP.NET Core by placing business logic at the center, independent of databases, logging, file system access, guided by dependency inversion, separation of concerns, and persistence ignorance.

  • GitHub Repository

Requirements

  • The student must have an intermediate level of C# and Web API development with ASP.NET Core

Description

Do you want to take your .NET applications to the next level?

In this course, you’ll learn step by step how to implement Clean Architecture with ASP.NET Core, developing a real application from scratch with principles that will allow you to build professional, maintainable, and scalable software.

Throughout the lessons, you’ll discover how to structure your code so it’s easy to test, extend, and maintain, applying best practices such as Dependency Inversion, Separation of Concerns, and the Single Responsibility Principle.

You’ll implement CQRS to separate commands and queries, use the Mediator pattern to centralize communication with features, handle transactions with Unit of Work, and apply validations in an elegant and consistent way. You’ll also learn how to configure authentication and authorization with Identity, and how to integrate services such as email sending without coupling them to your domain.

By the end of the course, you will be able to:

  • Model the domain with entities, value objects, and aggregates.

  • Create use cases with CQRS and Mediator.

  • Implement repositories and Unit of Work with EF Core.

  • Build clean, scalable APIs with ASP.NET Core.

  • Configure security with authentication and claim-based authorization.

  • Integrate external services in a decoupled way.

Learn how to build robust applications that stand the test of time and become a software developer who delivers professional-quality solutions.

Who this course is for:

  • .NET developers who want to learn enterprise-level development patterns