From Zero to Hero: REST APIs in .NET
4h 42m 8s
English
Paid
June 7, 2024
When people say, "I want to build an API", nowadays, they almost always mean a REST API. RESTful APIs have been the dominant way of building APIs nowadays and for a good reason. Their properties make them scalable and robust for the modern world of distributed computing, and even though they are far from the only way of building APIs, they are the most popular by a wide margin. In this course, Nick will teach you how to build REST APIs based on his experience building them for millions of users in billion-dollar companies.
Watch Online From Zero to Hero: REST APIs in .NET
Join premium to watch
Go to premium
# | Title | Duration |
---|---|---|
1 | Welcome | 01:22 |
2 | What will you learn in this course? | 02:06 |
3 | Who is the course for and prerequisites | 01:04 |
4 | What is REST? | 01:08 |
5 | The 6 constraints of REST | 05:33 |
6 | Resource naming and routing | 02:10 |
7 | HTTP Verbs are meaningful | 02:06 |
8 | Using response codes to indicate status | 02:27 |
9 | Flexible response body options | 01:00 |
10 | Understanding Idempotency | 01:41 |
11 | Using hypermedia for connectedness | 01:45 |
12 | The different types of errors | 01:28 |
13 | Section recap | 00:54 |
14 | The system we will build an API for | 02:18 |
15 | Creating the projects | 02:28 |
16 | Defining the movie API contracts | 03:28 |
17 | Creating a temporary database | 06:24 |
18 | Creating the movies controller | 01:04 |
19 | Implementing movie creation | 04:27 |
20 | Introducing mapping | 02:05 |
21 | Keeping track of the endpoints | 02:18 |
22 | Implementing movie retrieval | 04:36 |
23 | Perfecting the movie creation endpoint | 01:38 |
24 | Implementing movie update | 02:53 |
25 | Implementing movie deletion | 01:33 |
26 | Why partial updates are not used | 01:25 |
27 | Section recap | 00:37 |
28 | Implementing slug-based retrieval | 06:05 |
29 | Moving to a real database | 01:40 |
30 | Adding the database infrastructure code | 06:36 |
31 | Removing the old in-memory database | 08:18 |
32 | Adding a business logic layer | 04:21 |
33 | Implementing validation | 09:38 |
34 | Cancellation token passing | 05:09 |
35 | Section recap | 00:41 |
36 | Authentication and Authorization in REST APIs | 02:21 |
37 | What is the JSON Web Token? | 03:59 |
38 | The token generation service | 01:32 |
39 | Implementing JWT Authorization | 07:08 |
40 | Limiting actions for an admin | 03:40 |
41 | Limiting actions for a trusted member | 02:37 |
42 | Section recap | 00:39 |
43 | The concept of movie ratings | 00:50 |
44 | Where should ratings live? | 02:28 |
45 | Preparing the database | 00:57 |
46 | Using the user id | 03:22 |
47 | Updating the existing functionality to support ratings | 05:36 |
48 | Rating a movie | 08:04 |
49 | Deleting a rating | 02:45 |
50 | Retrieving user ratings | 04:30 |
51 | Section recap | 00:44 |
52 | Filtering | 08:08 |
53 | Sorting | 06:36 |
54 | Pagination | 09:20 |
55 | HATEOAS | 05:13 |
56 | Basic versioning | 05:07 |
57 | Advanced versioning | 05:57 |
58 | What is Swagger? | 03:58 |
59 | Integrating versioning in Swagger | 03:38 |
60 | Integrating auth in Swagger | 02:01 |
61 | Extending Swagger documentation | 02:29 |
62 | Adding health checks | 04:55 |
63 | Implementing Response caching | 05:23 |
64 | Implementing Output caching | 06:12 |
65 | Implementing API-key based auth | 04:20 |
66 | Implementing multiple auth | 04:35 |
67 | Section recap | 00:58 |
68 | Why create an SDK? | 01:14 |
69 | Creating the SDK project and the client example | 02:04 |
70 | Introducing Refit | 02:41 |
71 | Retrieving movies | 02:01 |
72 | Using the HttpClientFactory | 01:45 |
73 | Adding authentication | 01:42 |
74 | Handling token generation and refreshing | 04:35 |
75 | Adding the remaining requests | 02:24 |
76 | Section recap | 00:40 |
77 | What are Minimal APIs? | 01:50 |
78 | Creating the new endpoint structure | 02:32 |
79 | Migrating movie retrieval | 03:18 |
80 | Migrating movie creation | 03:09 |
81 | Migrating movie listing | 03:11 |
82 | Migrating movie update | 01:12 |
83 | Migrating movie deletion | 01:55 |
84 | Migrating rating endpoints | 00:38 |
85 | Migrating Auth | 01:26 |
86 | Updating Swagger | 03:43 |
87 | Updating versioning | 03:37 |
88 | Updating output cache | 01:04 |
89 | Section recap | 00:35 |
90 | Course conclusion | 00:24 |
Similar courses to From Zero to Hero: REST APIs in .NET
![Microservices Troubleshooting Essentials](https://cdn.courseflix.net/courses/100x56/microservices-troubleshooting-essentials.jpg)
Microservices Troubleshooting Essentials
Duration 4 hours 23 minutes 24 seconds
Course
![Deep Dive: Clean Architecture in .NET](https://cdn.courseflix.net/courses/100x56/deep-dive-clean-architecture-in-net.jpg)
Deep Dive: Clean Architecture in .NET
Duration 3 hours 51 minutes 32 seconds
Course
![Thinking Like an Object-Oriented Programmer](https://cdn.courseflix.net/courses/100x56/thinking-like-an-object-oriented-programmer.jpg)
Thinking Like an Object-Oriented Programmer
Duration 4 hours 29 minutes 52 seconds
Course
![C# Application from Start to Finish](https://cdn.courseflix.net/courses/100x56/c-application-from-start-to-finish.jpg)
C# Application from Start to Finish
Duration 25 hours 24 minutes 50 seconds
Course
![C# Advanced Topics: Take Your C# Skills to the Next Level](https://cdn.courseflix.net/courses/100x56/c-advanced-topics-take-your-c-skills-to-the-next-level.jpg)
C# Advanced Topics: Take Your C# Skills to the Next Level
Duration 3 hours 7 minutes 18 seconds
Course
![Deep Dive: Modular Monoliths in .NET](https://cdn.courseflix.net/courses/100x56/deep-dive-modular-monoliths-in-net.jpg)
Deep Dive: Modular Monoliths in .NET
Duration 4 hours 21 minutes 31 seconds
Course
![Automate All The Things With DevOps](https://cdn.courseflix.net/courses/100x56/automate-all-the-things-with-devops.jpg)
Automate All The Things With DevOps
Duration 3 hours 9 minutes 37 seconds
Course
![Design Patterns in C# and .NET](https://cdn.courseflix.net/courses/100x56/design-patterns-in-c-and-net.jpg)
Design Patterns in C# and .NET
Duration 20 hours 15 minutes 1 second
Course
![Getting Started: C#](https://cdn.courseflix.net/courses/100x56/getting-started-c.jpg)
Getting Started: C#
Duration 5 hours 7 minutes 40 seconds
Course
![Mastering C# Unit Testing](https://cdn.courseflix.net/courses/100x56/mastering-c-unit-testing.jpg)
Mastering C# Unit Testing
Duration 3 hours 59 minutes 22 seconds
Course