Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASP.NET Core - SOLID and Clean Architecture
Role Play
Rating: 4.2 out of 5(2,699 ratings)
18,677 students

ASP.NET Core - SOLID and Clean Architecture

Build testable .NET APIs with CQRS, MediatR, EF Core, JWT, Blazor, and Clean Architecture.
Last updated 6/2026
English

What you'll learn

  • Implement SOLID Principles
  • ASP .NET Core Blazor and API Development
  • Advanced Tools - MediatR, Automapper, Fluent API and Validation
  • Custom Exceptions and Global Error Handling
  • Custom .NET Core Middleware
  • Using NSwag and NSwag Studio
  • Use Swagger for API Documentation
  • Apply CQRS and MediatR without over-engineering
  • Use Identity and JWT To Secure Application API
  • Build API Client Secure Application
  • Organize ASP.NET Core applications by features and use cases
  • Understand Clean Architecture, Onion Architecture, and Vertical Slice Architecture
  • Structure business logic for testing and maintainability

Course content

13 sections86 lectures10h 13m total length
  • Introduction1:55
  • IMPORTANT - .NET 10 Version0:19

Requirements

  • At least three months of C# Development
  • A Computer
  • Internet
  • A Willingness to Learn

Description

Overview

Many developers can build an ASP.NET Core CRUD application. Fewer know how to structure that application so it remains testable, maintainable, and easy to extend as requirements change. This course shows you how to take a real application and reshape it using SOLID principles and unit testing.

Learn how to refactor and structure an ASP.NET Core application using SOLID principles, Clean Architecture, CQRS, MediatR, EF Core, JWT authentication, validation, testing, and modern .NET practices. This course helps you move beyond basic CRUD development and design applications that are easier to test, maintain, and extend.

This course does not start with a tiny toy example. You work with an existing ASP.NET Core application and learn how to improve its structure the way developers often do in real projects: by identifying architectural problems, separating responsibilities, introducing application layers, adding validation, handling errors properly, securing APIs, and testing business logic.

Why SOLID Architecture?

When we talk about SOLID architecture, what we refer to isn’t straightforward. Decisions made early in the process can have a significant impact later on, and maintainability and testability play important roles. Adopting these practices can also help avoid code smells, refactor code, and facilitate more efficient agile development.

SOLID stands for:

  • S - Single-Responsibility Principle

  • O - Open-closed Principle

  • L - Liskov Substitution Principle

  • I - Interface Segregation Principle

  • D - Dependency Inversion Principle

In this course, you explore foundational architectural principles that help create maintainable code. You will discover how to set up a real-world application architecture with ASP.NET Core. Then, you’ll learn how to plug in common blocks such as email and authentication, and build a foundation for adding other third-party services as needed.

When you finish this course, you’ll have the skills and knowledge to create a testable and maintainable ASP.NET Core application to architect real-world enterprise .NET Core apps.

N.B. - The project in this course is based on the deliverables in Complete ASP.NET Core and Entity Framework Development. While it is not mandatory to take this course, much of the existing code will be reused from its content.

Build A Strong Foundation in .NET Clean Architecture:

  • Learn Clean or Onion Architecture and Best Practices

  • Learn Command Query Responsibility Segregation (CQRS)

  • Implement Mediatr Pattern

  • Add Email Service using SendGrid

  • Efficient Exception Handling and Routing

  • Implementing Unit Testing

  • Moq and Shouldy

  • Global Error Handling with Custom Middleware and Exceptions

  • Adding Validation Using Fluent Validation

  • Build a .NET Core API and Blazor UI Application

  • Implement JWT(JSON Web Token)  Authentication

Content and Overview

To take this course, you must have some knowledge of .NET Core development and C#.

This is a huge course. Over 10 hours of premium content, but smartly broken up to highlight related activities based on each module in the application being built. We will also look at troubleshooting and debugging errors as we go along, implementing best practices, writing efficient logic, and understanding why developers do things the way they do. Your knowledge will grow, step by step, throughout the course, and you will be challenged to be the best you can be.

We don't do things perfectly the first time; that is different from the reality of writing code. We make mistakes, point them out, and fix them. By doing this, we develop proficiency in using debugging tools and techniques. By the time you have finished the course, you will have moved around in Visual Studio and examined logic and syntax errors so much that it will be second nature for you when working in the .NET environment. This will put your newly learned skills into practical use and impress your boss and coworkers.

The course includes working files hosted on GitHub, including resources to make it easier for you to replicate the code demonstrated. You will be able to work alongside the author as you work through each lecture and will receive a verifiable certificate of completion upon finishing the course.

Clicking the Take This Course button could be the best step you could take towards quickly increasing your income and marketability! Also, remember that if you don't think the course is worth what you spent, you have a full 30 days to get a no-questions-asked refund!

Best for late-beginner to intermediate ASP.NET Core developers who already know the basics and want to write cleaner, more maintainable application code.

It's time to take action!

See you in the course!


Who this course is for:

  • You can build ASP.NET Core apps but struggle with project structure
  • You want to understand Clean Architecture beyond diagrams
  • You want to use CQRS and MediatR practically
  • You want to write testable application logic
  • You are preparing for intermediate or enterprise .NET development roles