Skip to content
UdemyAsp.netPaid courseAll LevelsCertificate

ASP.NET Core - SOLID and Clean Architecture (Udemy.com)

Build testable .NET APIs with CQRS, MediatR, EF Core, JWT, Blazor, and Clean Architecture.

Created by: Trevoir Williams

Last updated July 2026

icon
What you will 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

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 88 / 100

icon
Course 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!


icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Trevoir Williams

Trevoir Williams is a software and systems engineer, author, instructor, and technical educator specializing in .NET, Azure, SQL Server, microservices, DevOps, secure coding, and AI-powered application development. He holds a master’s degree in Computer Science with a focus on Software Development and has earned multiple Microsoft Azure certifications.

As an author and instructor, Trevoir focuses on practical, production-ready software development. He is the author of Microservices Design Patterns in .NET and Effective .NET Memory Management, and a contributor to the Azure Integration Guide for Business. His work helps developers understand modern architecture, data access, messaging, observability, security, cloud deployment, performance, and AI integration with real implementation context.

Trevoir has taught more than 500,000 learners through online courses on ASP.NET Core, Entity Framework Core, SQL Server, Microsoft Azure, microservices, DevOps, secure application development, and generative AI. He also teaches thousands more through his YouTube tutorials, articles, and practical technical content.

His teaching philosophy is simple: explain the why, build the how, and help learners develop the confidence to apply both in real systems.

icon
More courses by Trevoir Williams

$89.99

$89.99

$89.99

$54.99

$64.99

$69.99

icon
More ASP.NET courses

$74.99

$69.99

$84.99

$99.99

$69.99

$84.99

icon
Reviews

4.4

2,753 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Matt Levere on 10/30/2025

I'm about 30-35% the way in. So far it's been good with explanations, but it's only writing code and explain what the code does, nothing regarding using the code for anything like actual data to see it working. There is no showing what it does with actual data, so no testing after writing it (Assuming this is in the future, but would prefer it earlier on as I'm a visual learner as well). Would much prefer to use the code on data to see it actually working rather than explain on pen and paper as it looks like.

By Mortada Issa on 10/26/2025

Clear Explanation so far yes. But the main problem are the issues. The instructor is pretending that this might be better to learn. For myself, i see that this is misleading and can cause interruptions for someone who is trying to understand the concept, he turns out thinking about the problem instead. But in general Kudo for this instructor who covered lot of good concepts so far.

By Francisco Zapata on 8/5/2024

Gran curso, aborda de una forma completa y clara la arquitectura limpia. Sin embargo siento que en el final del curso se podria hacer uso de un Autenticador externo, que suele ser mas comun en emrpesas. Tambien con la libreria MediaTR se pueden hacer unos behaviours que son muy interesantes para el manejo global de varias situaciones.

By Damon Jacquemin on 7/16/2024

Trevoir is an excellent teacher. I took this course to learn a new architecture and I finished it not only understanding very well the subject I was coming for, but also a lot of other small tips & tricks to make my code better in general. I highly recommand this course, doing the challenges Trevoir gives you along the way.

By Felix Patrick Adhiambo on 6/9/2024

I can strongly say that this course exceeded my expectations. I loved the structure of the course, Trevoir brought in Testing,Logging and Serilog to the course besides just learning the clean architecture. To anyone who's been struggling to integrate and put things together, this course is for you and look no further.

By Gee Gadacho on 3/27/2024

Highly recommend! This tutorial is a game-changer for anyone looking to level up their software skills especially in architecture. I found the value in its practical insights, relatable examples, and hands-on approach. I can confidently say that this tutorial has had a profound impact on my job, equipping me with the tools and knowledge needed to tackle real-world projects with confidence.

By Stephen Walker on 11/15/2023

Good course. Not everything is completed, but shows you the basics of how to create everything. Sometimes writing the code manually despite it taking longer is the way to go. It's easier to miss things if you're trying to follow his copied text. Resulted in me taking alot of extra time to debug sections to find out why it was not working the same way. Overall, a very good course which gives you a good basis for a complete application.

By Missy Maloney on 3/30/2023

Excellent. One of the best things (and, different from other courses I have taken) is that there is incremental source code available at the end of each unit. This is so important. To get the source code at the end just generates a lot of confusion about how the student got there. Also, this course includes testing which I find difficult and not all courses have testing. One item that I have communicated with Trevoir about, is the fact that there are a number of significant differences between VS Windows and VS Mac. A few things don't actually work on Mac. This should be addressed. Possibly, noting some reasons why a developer might choose to work on a Windows computer vs Mac, if they have that option.

By Antonio Marcos Fernandes de Souza on 3/4/2023

I recommend this course if you intend to grow up in your carrier following best practices to develop and to think about things that you can do to solve real problems. I know that there are a lot of others concepts and tools around to solve some problems but this course can be a good starting point to improve your professional skills.

By Igor Mateus Pereira Martins on 7/20/2022

Pretty good course, I had the opportunity to learn about CQRS, Mediator and some other very interesting content. I think there is room for improvement in video editing, sometimes a few coding parts were skipped. Since we have access to the GIT repository for each module, I could check there to keep following the lessons. Personally, I enjoy shorter videos, but that's really me. Anyway, I want to focus on the positive side: it was a great follow up to the previous course (Complete ASP.NET Core and Framework Entity), and now I have a fully testable application using good practices :)

Showing all 10 reviews on CourseDuck

Read all 2,753 reviews on Udemy