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

ASP.NET Core 8 Web API: Clean architecture + Azure services

ASP.NET Core 8 Web API: Kiến trúc sạch + Dịch vụ Azure

ASP.NET Core 8 Web API: Kiến trúc sạch + Dịch vụ Azure

Xây dựng API .NET 8 với Kiến trúc sạch, hệ thống định danh người dùng và triển khai Azure dùng CI/CD + bài tập thực hành

4.5
(1,061 đánh giá)
5,971 học viên
Giảng viên
Jakub Kozera
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 1.429.000đ -97%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
14.0 giờ video
112 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ì

Tạo backend cho ứng dụng web để thêm, sửa, xóa hoặc trả về dữ liệu
Xây dựng cơ sở dữ liệu MS SQL dựa trên lớp C#
Thêm xác thực và phân quyền cho người dùng API
Tạo giải pháp theo Kiến trúc sạch tuân thủ CQRS
Triển khai middleware tùy chỉnh
Xử lý file - trả về từ API và tải lên server
Ghi log thông tin hoặc lỗi ứng dụng vào file text dùng Serilog
Viết pipeline CI/CD để tự động build và triển khai ứng dụng
Viết bài kiểm tra tự động đơn vị & tích hợp
Triển khai ứng dụng lên đám mây Azure

Yêu cầu

Kiến thức C# cơ bản (LINQ, async/await và generic collections)

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

Dành cho lập trình viên .NET muốn học cách tạo ứng dụng web

Nội dung khóa học

14 phần • 112 bài giảng
1 Lời chào mừng
2 Mã nguồn
3 Dự án cuối khóa
4 Tài nguyên miễn phí
1 Giới thiệu module
2 Giao thức HTTP
3 REST API
4 Thiết lập môi trường cục bộ
5 Dự án Web API mới
6 Điểm bắt đầu
7 DI container tích hợp sẵn
8 HTTP Client
9 Định tuyến và Model binding
10 Mã trạng thái
11 Bài tập - Endpoint đầu tiên
1 Giới thiệu module
2 Kiến trúc sạch
3 Thêm module vào giải pháp
4 Định nghĩa entities
1 Giới thiệu module
2 Tổng quan Entity Framework
3 Cài đặt EF
4 Kết nối Database linh hoạt
5 Khởi tạo dữ liệu
6 Bài tập - migration
1 Giới thiệu module
2 Truy xuất entities
3 Bài tập - lấy tài nguyên cụ thể
4 Trả về DTOs
5 Automapper
6 Cập nhật gói Automapper
7 Tạo tài nguyên
8 Kiểm tra Model
9 FluentValidation
1 Giới thiệu module
2 Giới thiệu CQRS
3 CQRS với MediatR
4 Xóa tài nguyên
5 Bài tập - Cập nhật tài nguyên
1 Giới thiệu module
2 Thêm logger
3 Ghi log vào file
4 Tài liệu Swagger
5 Middleware xử lý ngoại lệ
6 Ngoại lệ tùy chỉnh
7 Bài tập - Middleware ghi log thời gian
1 Giới thiệu module
2 Subentities trong REST
3 Tạo subentities
4 Truy xuất subentities
5 Bài tập - Xóa sub entities
6 Location header cho subentity
1 Giới thiệu module
2 Xác thực là gì
3 ASP.NET Identity
4 Swagger hỗ trợ identity
5 Tách dịch vụ presentation layer
6 Thiết lập xác thực
7 User Context
8 Mở rộng định nghĩa người dùng
1 Giới thiệu module
2 Phân quyền là gì
3 Phân quyền dựa trên vai trò
4 Gán vai trò người dùng
5 Bài tập - Hủy gán vai trò người dùng
6 Claims người dùng tùy chỉnh
7 Kiểm soát truy cập dựa trên claim
8 Yêu cầu phân quyền tùy chỉnh
9 Tài nguyên người dùng
10 Phân quyền dựa trên tài nguyên
11 Bài tập - Chính sách phân quyền
1 Giới thiệu module
2 Giới thiệu phân trang
3 Lọc kết quả
4 Phân trang kết quả
5 Kiểm tra yêu cầu phân trang
6 Sắp xếp kết quả
7 Thứ tự phương thức IQueryable
1 Giới thiệu module
2 Giới thiệu kiểm thử tự động
3 Tạo bài kiểm thử đơn vị nhanh
4 Bài kiểm thử người dùng hiện tại
5 Bài kiểm thử UserContext
6 Bài kiểm thử Validator
7 Bài kiểm thử Mapping
8 Bài kiểm thử CommandHandler
9 Bài tập - bài kiểm thử đơn vị
10 Bài kiểm thử chính sách phân quyền
11 Bài kiểm thử Middleware
12 Bài kiểm thử tích hợp Controller
13 Kiểm thử endpoint có phân quyền
14 Điều chỉnh cấu trúc giải pháp
1 Giới thiệu module
2 Giới thiệu Azure
3 Tạo Azure App service
4 Triển khai API lên web app
5 Thiết lập Azure SQL
6 Kết nối Azure SQL & migration tự động
7 Application insights
8 Blob storage
9 Tải lên blob storage
10 Tạo URL SAS cho blob
11 Làm việc với blob cục bộ
12 Bài tập - triển khai tài nguyên Azure
13 Lời giải - Triển khai tài nguyên Azure
1 Giới thiệu module
2 Tích hợp liên tục (CI)
3 CI trong Github actions
4 Chính sách pull request
5 Phân phối/Triển khai liên tục (CD)
6 Pipeline triển khai liên tục
7 Phân phối liên tục

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

Master Clean Architecture & Azure for Scalable APIs in ASP.NET Core 8

Ready to build robust, high-performance RESTful APIs with confidence? This comprehensive course empowers you with the knowledge and skills to create modern web APIs using the powerful combination of ASP.NET Core 8, Clean Architecture, and Azure services.


Your journey begins with understanding the fundamentals:

  • RESTful API essentials: Demystify HTTP communication, grasp REST principles, and set up your local development environment.

  • ASP.NET Core 8 mastery: Dive into routing, model binding, and HTTP client usage to build the foundation of your API.

  • Clean Architecture adoption: Learn the benefits and principles of Clean Architecture, and apply them to structure your API for maintainability and flexibility.


Next, you'll establish the infrastructure:

  • Database connection with Entity Framework: Set up your MS SQL database and leverage Entity Framework for seamless data interaction.

  • Seeding mechanism: Populate your database with essential data for realistic testing and functionality.

Ready to build features? Buckle up!

  • RESTful resource management: Create, retrieve, update, and delete resources following REST best practices.

  • DTO mapping and validation: Ensure data integrity and security with efficient mapping and Fluent Validation.

  • Command/Query Responsibility Segregation: Organize your code with a clear separation of concerns using MediatR.


More than just features - enhance your API's robustness:

  • Logging with Serilog: Track API events for troubleshooting and maintainability.

  • Automated documentation: Generate clear API documentation for easy client integration.

  • Global exception handling: Gracefully handle errors and provide informative feedback to clients.


Deep dive into advanced topics:

  • Sub-entity management: Handle nested resources within your main entities with proper RESTful structure.

  • User authentication and authorization: Secure your API with user accounts, roles, and custom claims using ASP.NET Identity.

  • Pagination and sorting: Optimize performance for large datasets with pagination and sorting capabilities.


Testing and deployment are crucial:

  • Automated unit and integration tests: Ensure code quality and prevent regressions with comprehensive testing strategies.

  • Azure deployment: Leverage Azure App Service and Azure SQL to deploy your API to a scalable cloud environment.

  • CI/CD pipelines: Automate deployment processes for efficient updates and bug fixes.


By the end of this course, you'll be equipped to:

  • Architect and build secure, maintainable, and scalable RESTful APIs.

  • Confidently leverage Clean Architecture principles for code organization.

  • Utilize powerful Azure services for deployment and scalability.

  • Implement best practices for performance, logging, testing, and documentation.

Enroll now and take your .NET WEB API development skills to the next level!

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 Azure
Hiển thị tất cả khoá học Backend Development
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 😊