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

ASP.NET Core Deep-Dive

Đào Sâu ASP.NET Core

Đào Sâu ASP.NET Core

Khóa học ASP.NET Core toàn diện kèm bài tập và dự án thực hành

4.6
(246 đánh giá)
1,569 học viên
Giảng viên
Frank Liu
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
79.000đ 399.000đ -80%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
32.5 giờ video
232 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 07/06/2026

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

Cấu trúc và tổ chức bên trong của ASP.NET Core
Khám Phá Chuyên Sâu Về HTTP
Xây Dựng Middleware Mạnh Mẽ
Làm Chủ Minimal APIs
Framework MVC
Razor Pages
Kỹ Thuật Phát Triển Nâng Cao
Tài Liệu Hóa API và Quản Lý Phiên Bản
Quản Lý Dữ Liệu Đơn Giản Hóa
Xử Lý Lỗi, Xử Lý Ngoại Lệ và Ghi Log
Xác Thực & Phân Quyền

Yêu cầu

HTML, CSS, Javascript Cơ Bản
C# Trung Cấp
Nắm vững OOP, đặc biệt là cách sử dụng interface (mặc dù Dependency Injection sẽ được đề cập chi tiết trong khóa học)
Kiến thức cơ bản về SQL và ADO.NET

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

Lập trình viên muốn làm chủ ASP.NET Core
Chuyên gia muốn nâng cấp kỹ năng .NET
Bất kỳ ai đam mê xây dựng ứng dụng web hiện đại, bảo mật và có khả năng mở rộng

Nội dung khóa học

30 phần • 232 bài giảng
1 Giới Thiệu
2 ASP.NET Core là gì
3 Giải Phẫu ASP.NET Core
4 Ứng dụng Web đầu tiên của chúng ta
1 Cú pháp Request HTTP
2 HTTP Request trong HttpContext
3 Phương thức HTTP: GET
4 Phương thức HTTP: POST
5 Phương thức HTTP: PUT
6 Query String
7 Phương thức HTTP: Delete
8 HTTP Request Headers
9 Tái cấu trúc code routing
10 Cú pháp HTTP Response
11 HTTP Response trong HttpContext
12 HTTP Response Status Codes
13 Bài tập 1 - Hiển thị một nhân viên cụ thể
14 Bài tập 1 (Đáp án) - Hiển thị một nhân viên cụ thể
1 Lý thuyết Middleware Pipeline
2 Sử dụng app.Use để tạo middleware
3 Sử dụng app.Run để tạo middleware
4 Sử dụng app.Map để rẽ nhánh pipeline
5 Sử dụng app.MapWhen để rẽ nhánh pipeline
6 Sử dụng app.UseWhen để tạo nhánh có thể nhập lại
7 Tránh lỗi khi ghi response
8 Các Component Middleware có sẵn
9 Lớp Middleware Tùy Chỉnh
10 Bài tập 2 - Middleware xử lý ngoại lệ tùy chỉnh
11 Bài tập 2 (Đáp án) - Middleware xử lý ngoại lệ tùy chỉnh
1 Routing trong Minimal APIs
2 Hiểu về Endpoints
3 Sử dụng middleware routing
4 Component Middleware 404 Not Found
5 Tham số Route Bắt Buộc
6 Tham số route với giá trị mặc định
7 Tham số Route Tùy Chọn
8 Ràng buộc Tham số
9 Ràng buộc Tham số Tùy Chỉnh
10 Bài tập 3 - Triển khai các thao tác CRUD với routing
11 Bài tập 3 (Đáp án) - Triển khai các thao tác CRUD với routing
1 Model binding là gì
2 Bind vào giá trị route
3 Bind vào query string
4 Bind vào http headers
5 Sử dụng AsParameters để nhóm tham số
6 Bind mảng vào query strings hoặc headers
7 Bind vào HTTP Body
8 Binding tùy chỉnh với phương thức BuildAsync
9 Thứ tự ưu tiên nguồn binding
10 Model Validation
11 Model Validation tùy chỉnh với ValidationAttribute
12 Model Validation tùy chỉnh với IValidatableObject
13 Bài tập 4 - Binding & Xác thực Thông tin Đăng ký
14 Bài tập 4 (Đáp án) - Binding & Xác thực Thông tin Đăng ký
1 Các kiểu trả về trong Minimal API
2 Kết hợp Results và TypedResults
3 Chuẩn Problem Details
4 Chuẩn hóa kết quả API
5 Tùy chỉnh kết quả bằng cách triển khai IResult
6 Bài tập 5 - Triển khai CRUD cho Nhân viên
7 Bài tập 5 (Đáp án) - Triển khai CRUD cho Nhân viên
1 Tổ chức Endpoints của Minimal API
2 Vấn đề Phụ thuộc
3 Nguyên lý Đảo ngược Phụ thuộc
4 Nguyên lý Đảo ngược Điều khiển
5 Quản Lý Vòng Đời
1 Controllers là gì và tại sao dùng
2 Attribute routing
3 Conventional routing
1 Binding vào form fields
2 Kiểu phức tạp
3 Thứ tự ưu tiên nguồn binding
4 Thiếu nguồn binding
5 Input Formatter
6 Model State
1 Sự khác biệt chính trong MVC controllers
2 ContentResult
3 JsonResult
4 File Results
5 Redirect Results
6 Bài tập 6 - Triển khai Giao diện CRUD cho Phòng ban
7 Bài tập 6 - (Đáp án) Triển khai Giao diện CRUD cho Phòng ban
1 Mẫu MVC
2 Razor view
3 Truyền model vào View và Implicit Razor Expression
4 Explicit Razor Expression
5 Code blocks
6 Cấu trúc Điều kiện
7 Cấu trúc Lặp
8 Bài tập 7 - Error View
9 Bài tập 7 (Đáp án) - Error View
10 Razor Literal
11 ViewData và ViewBag
12 Bài tập 8 - Triển khai Views cho ứng dụng CRUD Phòng ban
13 Bài tập 8 (Đáp án) - Danh sách Phòng ban
14 Bài tập 8 (Đáp án) - Sửa Phòng ban
15 Bài tập 8 (Đáp án) - Thêm Phòng ban
1 Layout razor view
2 Nhiều Layout và Layout Lồng nhau
3 _ViewStart razor view
4 _ViewImports để tập trung các chỉ thị
5 Sử dụng ViewData hoặc ViewBag để giao tiếp với các file layout
6 Sections như các placeholder bổ sung
1 Lý thuyết Component hóa
2 Component hóa với Partial View
3 Truyền dữ liệu vào partial view
4 Bài tập 9 - Component hóa một danh sách
5 Bài tập 9 (Đáp án) - Component hóa một danh sách
6 Kết hợp Partial View và Javascript để tạo tương tác (Lý thuyết)
7 Kết hợp Partial View và Javascript để tạo tương tác (Triển khai)
8 ViewComponent vs PartialView
9 Các phần thiết yếu của View Component
10 Truyền tham số vào ViewComponent
1 Tại sao dùng Razor pages
2 Tạo ứng dụng razor pages đầu tiên
3 Kiến thức cơ bản về route matching và route templates
4 Cách razor pages hoạt động
5 Tùy chỉnh Route Template
6 Tham số Route trong Razor pages
7 Lựa chọn Page handler
8 Page handlers ngầm định
9 Model binding trong razor pages
10 Model validations cho razor pages
11 Tạo kết quả với razor pages
12 Layout, Sections, _ViewStart, _ViewImport
13 PartialView và ViewComponent
14 Razor pages vs MVC
1 Yêu cầu Dự án Khóa học
2 Mã nguồn cho Dự án Khóa học này
3 Bắt đầu làm việc trên dự án
4 Các lớp Employee và Repository đã cập nhật
5 Thêm hỗ trợ Razor pages
6 Triển khai trang danh sách Nhân viên
7 Component hóa với ViewComponent và PartialView
8 Thêm tính tương tác
9 Triển khai trang Nhân viên theo Phòng ban
10 Tạo nhân viên (ViewModel _ Antiforgery Token)
11 Trang lỗi razor page
12 Cập nhật nhân viên
13 Xóa nhân viên
14 Xác nhận xóa với JavaScript
1 Tag Helpers là gì
2 Tạo URL với Tag Helpers
3 Sửa đổi thẻ form với Tag helpers
4 Sửa đổi Input element với Tag Helpers
5 Tạo Option elements với Tag Helpers
6 Xác thực form phía client
7 Thêm Số Phiên bản với Tag Helpers
8 Tải Partial Views và ViewComponents với Tag Helpers
1 Constructor Injection 1
2 Constructor Injection 2
1 Filter Pipeline là gì và Tại sao sử dụng
2 Tạo và Gắn một filter
3 Thực thi filter, Model Binding và Model Validation
4 Thêm nhiều filter để tạo thành một filter pipeline
5 Bài tập 10 - Tạo filters để tách toàn bộ logic xác thực
6 Bài tập 10 (Đáp án) - Tạo filters để tách toàn bộ logic xác thực
1 Filter Pipeline cho MVC và Razor Pages là gì và Tại sao
2 Tạo và Áp dụng một filter
3 Phạm vi Filter
4 Thứ tự Thực thi
5 Bộ lọc Ủy quyền (Authorization Filter)
6 Bộ lọc Tài nguyên (Resource Filter)
7 Bộ lọc Ngoại lệ (Exception Filter)
8 Bộ lọc Action (Action Filter)
9 Bộ lọc Kết quả (Result Filter)
10 Bộ lọc Trang (Page Filter)
1 Dùng HttpClientFactory để truy cập các API endpoint
2 Tạo một Named Client với HttpClientFactory
3 Gọi API endpoint từ lớp repository
4 Cách HttpClient hoạt động
5 Sử dụng Polly để xử lý lỗi tạm thời
6 Bài tập 12 - Gọi API trong DepartmentsController
7 Bài tập 12 (Đáp án) - Gọi API trong DepartmentsController
1 Mô hình MVC trong việc tạo Web API với controllers
2 Tạo Web API với controllers bằng template VS
3 Định tuyến bằng thuộc tính (Attribute Routing) - Route Attribute
4 Định tuyến bằng thuộc tính - Thay thế Token (Token Replacement)
5 Định tuyến bằng thuộc tính - Thuộc tính HttpMethod
6 Thuộc tính ApiController (ApiController Attribute)
7 Thương lượng nội dung (Content Negotiation)
8 Minimal API so với Web API với controllers
1 Sử dụng OpenAPI để tài liệu hóa Minimal APIs
2 Cách OpenAPI hoạt động
3 Dùng Postman để xem tài liệu OpenAPI
4 Dùng Swagger để xem tài liệu OpenAPI
5 Cung cấp thông tin chi tiết cho tài liệu OpenAPI
6 Quản lý phiên bản cho Minimal API (Minimal API Versioning)
7 Tài liệu hóa nhiều phiên bản cho minimal APIs
1 Sử dụng OpenAPI để tài liệu hóa Web API
2 Dùng SwaggerUI để xem tài liệu của chúng ta
3 Cung cấp thêm thông tin chi tiết cho tài liệu
4 Quản lý phiên bản Web API (Web API Versioning)
5 Tài liệu hóa nhiều phiên bản
1 Tại sao nên dùng Entity Framework Core
2 Cách Entity Framework Core hoạt động
3 Cài đặt gói NuGet EF Core
4 Thiết lập DbContext, Entities và Relationships
5 Cấu hình EF Core để kết nối tới SQL Server
6 Chạy DB Migration
7 Triển khai Departments EF Repository
8 Bài tập 13 - Triển khai Employees EF Repository
9 Bài tập 13 (Đáp án) - Triển khai Employees EF Repository
10 Bao gồm các entity liên quan (Include related entities)
11 Mã nguồn cho Phần này
1 Cách Configuration hoạt động
2 Truy cập các giá trị Cấu hình
3 Ghi đè giá trị Cấu hình
4 Lớp Cấu hình có kiểu mạnh (Strongly Typed Configuration Class)
1 Cách Logging hoạt động trong ASP.NET CORE
2 Các phần khác nhau của một Log
3 Ghi Log với các logger provider mặc định
4 Tự ghi log của bạn
5 Kiến thức cơ bản về sử dụng SeriLog
6 Sử dụng SeriLog tương tự như logger tích hợp sẵn
1 Ghi log trong Middleware Xử lý Ngoại lệ
2 Sử dụng Middleware Xử lý Ngoại lệ tích hợp sẵn
1 Tổng quan về Xác thực (Authentication) và Phân quyền (Authorization)
2 Ticket Xác thực (Authentication Ticket)
3 Tạo Ticket Xác thực
4 Giải mã Ticket Xác thực
5 Phân quyền dựa trên Ticket Xác thực
6 Xóa Ticket Xác thực khi Đăng xuất
7 Bật HTTPS
1 Ticket Xác thực JWT (JWT Authentication Ticket)
2 Tạo Ticket Xác thực JWT
3 Lưu trữ và Gửi JWT
4 Lưu trữ JWT trong repository tĩnh
5 Giải mã JWT
6 Phân quyền dựa trên JWT
1 Sơ đồ (Diagrams)
2 Bài giảng Thưởng

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

NOTE: As of May 2026, this course is being actively updated to use .NET 11 (Preview). New lessons covering the latest features are added at least weekly.

Master ASP.NET Core like a pro and take your .NET skills to the next level! Join this in-depth course designed for developers eager to completely understand the ASP.NET CORE  and unlock the full potential of .NET. With hands-on assignments, real-world scenarios, and step-by-step explanations, you'll transform into an ASP.NET Core expert.


Course Overview:

  • Introduction to ASP.NET Core
    Explore the foundational concepts of ASP.NET Core, including its anatomy and structure, and follow step-by-step guidance to create your first ASP.NET Core app. This section sets the stage for your journey into modern web development.

  • In-Depth Exploration of HTTP
    Gain a deep understanding of the HTTP protocol and its context within ASP.NET Core. You'll learn about HTTP methods like GET, POST, PUT, and DELETE, how requests and responses are handled in HttpContext, and how to refine routing logic to build robust applications.

  • Building Robust Middleware
    Master the middleware pipeline, from understanding its theory to implementing custom middleware components. Learn how to use built-in middleware, branch pipelines effectively, and avoid common issues when writing response logic.

  • Minimal APIs Mastery
    Dive into the world of Minimal APIs, covering everything from routing and model binding to validation and producing standardized results. You'll implement CRUD operations and work with features like query strings and custom route constraints.

  • MVC for Professionals
    Delve into the Model-View-Controller (MVC) framework, starting with controllers and routing techniques. Discover how to bind models, validate inputs, and produce results efficiently. You'll also explore creating razor views, managing layouts, and integrating dependency injection.

  • Razor Pages Demystified
    Uncover the power of Razor Pages and understand how they differ from MVC. Learn to build dynamic apps with features like route matching, model binding, validation, and reusable components. This section ties together essential development techniques.

  • Advanced Development Techniques
    Learn to use Tag Helpers to simplify complex scenarios, create interactive views, and componentize your apps with partial views and JavaScript. Manage configurations and environments effectively to streamline your development process.

  • Building APIs That Stand Out
    Master the art of documenting and versioning APIs using OpenAPI, and secure your applications with JWT-based authentication. You'll learn to produce API results that are both consistent and customizable.

  • Data Management Made Simple
    Simplify data management with Entity Framework Core. Discover how to create a database context, configure connections, run migrations, and implement repositories for efficient data handling in your applications.

  • Error Handling and Logging
    Understand the anatomy of logs and learn how to write effective logs using built-in and custom loggers. You'll also master the art of handling errors gracefully with custom exception handling and status code management.

  • Securing Your Apps
    Develop secure web applications by mastering authentication and authorization principles. Learn how to protect APIs with JWT authentication, enable HTTPS, and remove authentication tickets when necessary.


Why This Course?

  • Comprehensive Curriculum: Covers everything from basics to advanced concepts.

  • Hands-On Assignments: Apply what you learn with real-world scenarios.

  • Expert Guidance: Designed by experienced professionals.

  • Up-to-Date with .NET 9: Get ahead with the latest tools and practices.


Who Should Enroll?

  • Aspiring developers looking to master ASP.NET Core.

  • Professionals seeking to upgrade their .NET skills.

  • Anyone passionate about building modern, secure, and scalable web applications.

Get Started Today!

Transform your .NET skills with ASP.NET Core Deep Dive in .NET 9. Enroll now and take the first step toward becoming a sought-after .NET developer.

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