Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

ASP.NET Core - SOLID and Clean Architecture

ASP.NET Core - Kiến trúc SOLID và Clean Architecture

ASP.NET Core - Kiến trúc SOLID và Clean Architecture

Xây dựng ứng dụng ASP.NET Core có thể kiểm thử, tuân thủ SOLID bằng CQRS, Mediator Pattern và kiến trúc sạch.

4.5
(2,594 đánh giá)
18,200 học viên
Giảng viên
Trevoir Williams
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 1.669.000đ -97%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
89 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Triển khai các Nguyên tắc SOLID
Phát triển API và ASP .NET Core Blazor
Công cụ Nâng cao - MediatR, Automapper, Fluent API và Validation
Xử lý Ngoại lệ Tùy chỉnh và Lỗi Toàn cục
Middleware .NET Core Tùy chỉnh
Sử dụng NSwag và NSwag Studio
Dùng Swagger để Tạo tài liệu API
Triển khai Mẫu CQRS
Sử dụng Identity và JWT để Bảo mật API Ứng dụng
Xây dựng Ứng dụng Khách hàng API An toàn
Các Framework Moq và Shouldly
Kiểm thử Đơn vị (Unit Testing)

Yêu cầu

Ít nhất ba tháng kinh nghiệm phát triển C#
Máy tính
Kết nối Internet
Tinh thần sẵn sàng học hỏi

Đối tượng phù hợp

Dành cho lập trình viên từ Mới bắt đầu muộn đến Trung cấp

Nội dung khóa học

13 phần • 86 bài giảng
1 Giới thiệu
2 QUAN TRỌNG - Phiên bản .NET 10
1 Ôn tập các Nguyên tắc S.O.L.I.D
2 Nguyên tắc Trách nhiệm Đơn nhất
3 Nguyên tắc DRY
4 Đảo ngược Phụ thuộc
5 Tìm hiểu về Clean Architecture
6 Ứng dụng chúng ta sẽ xây dựng
1 Môi trường Phát triển
2 Cài đặt Visual Studio 2026 (Bản Insiders)
3 Thiết lập Solution
4 Tổng quan về các thành phần trong Solution
1 Tổng quan Phần này
2 Tạo Project Domain
3 Tạo Project Application Core
4 Tìm hiểu về CQRS, Mediator và Automapper
5 QUAN TRỌNG: AutoMapper và Mediator - Đã chuyển sang bản thương mại
6 QUAN TRỌNG: Automapper giờ dễ sử dụng hơn!
7 Thêm Automapper và MediatR
8 *QUAN TRỌNG* - Sửa lỗi Đăng ký MediatR
9 Thiết lập Cấu trúc Thư mục Features (Kiến trúc Vertical Slice)
10 Tạo CQRS Query Request và Handler - Phần 1
11 Tạo CQRS Query Request và Handler - Phần 2
12 Tạo CQRS Command Request và Handler - Phần 1
13 Tạo CQRS Command Request và Handler - Phần 2
14 Thêm Custom Exceptions
15 Thêm FluentValidation
16 *QUAN TRỌNG* - Sửa lỗi Quy tắc Validation
17 Ôn tập Phần này
18 Mã nguồn Phần này
1 Tổng quan Phần này
2 Tạo Project Persistence
3 Thêm Entity Framework và Database Context
4 Thêm các Triển khai Repository
5 EF Core - No Tracking
6 Hoàn thiện các Repository
7 Tạo Project Infrastructure
8 Thêm Dịch vụ Email của Bên thứ ba
9 Thêm Logging và Wrapper
10 Ôn tập Phần này
11 Mã nguồn Phần này
1 Tổng quan Phần này
2 Tạo Project API
3 Cấu hình Project API
4 QUAN TRỌNG: Lỗi Migration EF Core 9.0
5 Tạo (Scaffold) Cơ sở dữ liệu
6 Triển khai Controller với MediatR - Phần 1
7 Triển khai Controller với MediatR - Phần 2
8 Hoàn thiện Tính năng Phân bổ Nghỉ phép (Leave Allocation)
9 Hoàn thiện Tính năng Yêu cầu Nghỉ phép - Phần 1
10 Xử lý Lỗi Toàn cục
11 Ôn tập Phần này
12 Mã nguồn Phần này
1 Tổng quan Phần này
2 Tạo Project Unit cho Application
3 Kiểm thử Đơn vị Mã Ứng dụng - Thiết lập Mocks
4 Kiểm thử Đơn vị Mã Ứng dụng - Kiểm thử Handlers
5 Kiểm thử Tích hợp - Entity Framework
6 Ôn tập Phần này
7 Mã nguồn Phần này
1 Tổng quan Phần này
2 Tạo Project UI - Blazor WebAssembly
3 Sử dụng NSwag và NSwagStudio để Tiêu thụ API
4 Cấu hình Ứng dụng cho API
5 Thiết lập Dịch vụ Quản lý Loại Nghỉ phép
6 Thiết lập Giao diện Quản lý Loại Nghỉ phép
1 Thêm Bảo mật bằng Identity
2 QUAN TRỌNG - Thay đổi Gói Identity Core
3 Thêm Xác thực Json Web Token (JWT) vào API
4 Thêm Dịch vụ Xác thực vào Blazor
5 Thêm các Thay đổi UI cho Bảo mật
6 Ôn tập Phần này
7 Mã nguồn Phần này
1 Thiết lập Quản lý Phân bổ Nghỉ phép
2 Thiết lập Quản lý Yêu cầu Nghỉ phép - Phần 1 - Yêu cầu Nhân viên
3 Thiết lập Quản lý Yêu cầu Nghỉ phép - Phần 2 - Giao diện Quản trị
4 Thiết lập Quản lý Yêu cầu Nghỉ phép - Phần 3 - Phê duyệt
5 Thiết lập Quản lý Yêu cầu Nghỉ phép - Phần 3 - Hủy Yêu cầu
6 Ôn tập Phần này
7 Mã nguồn Phần này
1 Thêm Logging của Bên thứ ba (SeriLog)
2 Cải thiện Kiểm tra Dữ liệu (Data Auditing)
3 Thêm Thông báo (Notifications)
4 Mã nguồn Phần này
1 Kết luận
1 Bài giảng Thưởng thêm

Giới thiệu khóa học

Overview

Creating a modular, testable, and maintainable application in .NET Core requires a solid foundation. Setting up an application architecture requires foresight and much consideration, as early decisions will impact how easily the application is extended and maintained.

In the long run, though, applications need to be maintained and, in this case, extended. Between its design and the way the code was written, neither is possible, so the application needs to be redesigned and future-proofed.

Why SOLID Architecture?

When we talk about SOLID architecture, what we refer to isn’t a straightforward task. Decisions made early in the process can have a large impact later on, and maintainability and testability play an important role. Adopting these practices can also contribute to avoiding code smells, refactoring code, and facilitating 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 which help with the creation of 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 different, common blocks such as email and authentication and have a foundation to plug-in other third-party services as needed.

Everything in this course is .NET 6 / .NET 7 compatible.

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 do this course, much of the existing code will be reused from this course's 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 the perfect way the first time; that is different from the reality of writing code. We make mistakes and point them out and fix them around 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 is complete with working files hosted on GitHub, including some files to make it easier for you to replicate the demonstrated code. 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!


It's time to take action!

See you in the course!


Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Asp Net Core
Hiển thị tất cả khoá học Csharp
Hiển thị tất cả khoá học Software Architecture
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊