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

.NET 5 Web API & Entity Framework Crash Course

Khóa học cấp tốc .NET 5 Web API & Entity Framework

Khóa học cấp tốc .NET 5 Web API & Entity Framework

Xây dựng dịch vụ web RESTful từ đầu với .NET 5 Web API và sử dụng Entity Framework để tạo cơ sở dữ liệu.

4.4
(4,814 đánh giá)
17,077 học viên
Giảng viên
Patrick God
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
3.0 giờ video
50 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 dịch vụ web RESTful bằng .NET 5 Web API
Ánh xạ đối tượng-quan hệ với Entity Framework
Lưu trữ dữ liệu lâu dài trong cơ sở dữ liệu SQL Server
Entity Framework Code-First Migrations
Sử dụng Postman để kiểm tra các lệnh gọi dịch vụ web
Tất cả các thao tác CRUD (Tạo, Đọc, Cập nhật, Xóa)
Các phương thức HTTP Request: GET, POST, PUT, DELETE

Yêu cầu

Bạn nên có một chút kinh nghiệm với C#

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

Khóa học này dành cho học viên muốn sử dụng .NET 5 để xây dựng dịch vụ web RESTful cho ứng dụng web của mình và lưu trữ dữ liệu lâu dài với sự hỗ trợ của Entity Framework và SQL Server.

Nội dung khóa học

4 phần • 50 bài giảng
1 Giới thiệu
2 Công cụ
3 Tạo một Ứng dụng Web mới
4 Tổng quan Dự án
5 Lệnh gọi Web API đầu tiên
6 Khởi tạo Kho lưu trữ Git
7 Kho lưu trữ GitHub
1 Giới thiệu
2 Mô hình Model-View-Controller (MVC)
3 Model đầu tiên của bạn
4 Controller đầu tiên của bạn
5 Các phương thức HTTP
6 Lệnh gọi GET cho một Liên hệ đơn lẻ
7 IActionResult & Mã trạng thái
8 Lệnh gọi POST
9 Lệnh gọi PUT
10 Lệnh gọi DELETE
11 Tóm tắt
1 Giới thiệu
2 Giải thích về Object-Relational-Mapping & Code-First Migration
3 Cài đặt Entity Framework
4 Cài đặt SQL Server Express (kèm Management Studio)
5 Triển khai DataContext
6 ConnectionString & Thêm DbContext
7 Migration đầu tiên
8 Một Controller mới cho Entity Framework
9 Các lệnh gọi Bất đồng bộ
10 Triển khai GET
11 Triển khai POST
12 Triển khai PUT
13 Triển khai DELETE
14 Xóa mềm (Soft Delete)
15 Tóm tắt
1 Kế thừa? Đó là gì?
2 Giới thiệu
3 Tạo Dự án Ứng dụng Web trong Visual Studio
4 Thêm Web API vào Ứng dụng Web của bạn
5 Model đầu tiên
6 Controller đầu tiên
7 HTML & JQuery
8 Yêu cầu HTTP GET
9 Mạng & Định tuyến
10 Lấy Liên hệ theo ID - Phía Máy chủ
11 Lấy Liên hệ theo ID - Phía Máy khách
12 Yêu cầu HTTP POST
13 PUT & DELETE
14 Lấy Liên hệ theo Tên - Định tuyến & Hành động Web API
15 Định tuyến bằng Thuộc tính (Attribute Routing)
16 Tiền tố & Ràng buộc Đường dẫn
17 Entity Framework Code First Migration

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

.NET 5 is the future.

It will combine the old .NET framework with .NET Core and that's why it’s about time to update this course with the latest version of .NET.

You will learn the crucial stuff about web development with Web API and Entity Framework in .NET 5 in no time so that you're able to join new projects and companies who are craving for .NET developers like you very soon.

With the example application, we're going to build you will be able to create, read, update, and delete contacts. We will use people you might even know, like Peter Parker or Tony Stark.

The tools we’re going to use are the .NET SDK, of course, together with Visual Studio to write our code, Postman to make our REST calls and SQL Server Express for our database.

Everything is available for free! So you already have everything you need to start developing with .NET 5.

A few minutes into the course, you will already make your first Web API call.

After that you create your own model and controller to make use of the Model-View-Controller pattern and implement all CRUD operations, meaning create, read, update and delete with the corresponding HTTP methods GET, POST, PUT and DELETE.

Then you will make your data persistent with the help of the object-relational mapper Entity Framework and code-first migration.

With all that knowledge, you are ready to conquer any .NET 5 back end application.


What You Will Learn

Introduction

  • Download & install the .NET 5 SDK, Visual Studio 2019 Community Edition & Postman

  • Create your first Web API call within the first minutes

  • Initialize a Git repository for your source control

Web API

  • The Model-View-Controller (MVC) pattern

  • Create models and controllers

  • Attribute routing (with parameters)

  • All CRUD operations (Create, Read, Update, Delete)

  • The HTTP request methods GET, POST, PUT & DELETE

Entity Framework

  • Object-Relational-Mapping

  • Code-First Migration

  • SQL Server Express

  • How to use a DataContext and a proper ConnectionString

  • All previous HTTP requests with Entity Framework  to save your data in a SQL Server database


Your Instructor

My name is Patrick and I will be your instructor in this course. I’m a web developer for over a decade now, I have worked for big corporations and small teams, as an employee and a contractor and I just love to see the way Microsoft is going with .NET and how important it gets day by day.

To this date, I was able to run seven courses on web development here on Udemy about NET Core, single-page applications, Angular, and DevOps with a total of almost 50.000 unique students and more than 4.000 reviews.

If you have any questions, feel free to connect.


And if you still have any doubts, you have a 30-day money-back guarantee, no questions asked.

So, I hope you’re ready for your new skills and your new projects! ;)

I’m looking forward to seeing 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 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 😊