English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 87 Lessons (14h 44m) | 2.99 GB
The Complete Guide to REST APIs in ASP.NET Core
Learn how to build production-ready REST APIs using the latest ASP.NET Core features and best practices. Join 6,400+ other students to improve your API design skills.
Everything you need to build production-ready REST APIs.
REST Introduction
Start with a solid foundation in REST principles. Learn about Richardson Maturity Model, API-First approach, and set up your development environment for building robust REST APIs.
Building REST APIs
Master HTTP methods, status codes, and REST best practices. Learn to implement CRUD operations, handle child resources, validation, searching, filtering, sorting, and pagination.
HATEOAS and Change Management
Implement HATEOAS to make your APIs more discoverable. Learn content negotiation, API versioning strategies, and how to manage API changes effectively.
Authentication and Authorization
Secure your APIs with token-based authentication, JWT, refresh tokens, and implement role-based and attribute-based authorization. Learn to protect sensitive data and integrate with external APIs.
Client Integration
Learn how to integrate REST APIs with client applications. Build a React client, implement batch operations, and use HATEOAS to drive UI behavior. Master OpenAPI client generation for type-safe API consumption.
Advanced REST API Concerns
Take your APIs to the next level with HTTP caching, optimistic locking, cursor pagination, rate limiting, and webhooks. Learn to build resilient and asynchronous REST APIs.
Testing REST APIs
Master different testing approaches including unit testing, integration testing, and end-to-end testing. Learn to test external services using WireMock and set up automated testing in CI/CD pipelines.
Documenting REST APIs
Create comprehensive API documentation using OpenAPI/Swagger. Learn to document multiple API versions, authentication flows, and explore modern documentation UI alternatives like Scalar.
Deployment and Monitoring
Deploy your REST APIs to Azure, manage database migrations, and implement monitoring with Application Insights. Learn to automate deployments using GitHub Actions for a robust CI/CD pipeline.
REST API Case Studies From Successful Companies
Analyze real-world REST APIs from successful companies. Learn from their design decisions, best practices, and implementation strategies.
Building REST APIs With Minimal APIs
Learn how to build lightweight and high-performance REST APIs using .NET Minimal APIs, and see if they’re a match for REST.
Integrating Auth0 as the Identity Provider
Learn how to integrate Auth0 with your REST APIs for robust authentication and authorization. We’ll also cover client integration.
More Than Just Theory
Pragmatic REST APIs includes more than just theoretical discussion.
We’re going to build a complete REST API from scratch, covering everything from basic CRUD operations to advanced features like HATEOAS, authentication, and automated testing.
The course includes bonus content to help you master modern REST API development.
After Completing This Course You Will
- Build production-ready REST APIs with confidence
- Implement secure and scalable authentication systems
- Master REST API testing and documentation
- Confidently deploy your APIs to production
Table of Contents
1 Agenda, Your Instructor, Course Structure
2 How To Use This Course
3 Introduction
4 Introducing REST
5 Richardson Maturity Model
6 API-First
7 What We Will Build
8 Project Setup
9 Introduction
10 HTTP Methods
11 HTTP Status Codes
12 Designing REST APIs – Best Practices
13 Introducing the Database, EF Core
14 Getting Resources – GET
15 Creating Resources – POST
16 Updating Resources – PUT
17 Partially Updating Resources – PATCH
18 Deleting Resources – DELETE
19 Adding Another Resource
20 Working With Child Resources
21 REST API Validation, Problem Details
22 Exception Handling
23 Supporting Searching and Filtering
24 Supporting Sorting
25 Implementing Pagination
26 Supporting Data Shaping
27 Introduction
28 Hypermedia As The Engine Of Application State
29 Quick Code Refactoring
30 Implementing HATEOAS
31 Content Negotiation
32 API Versioning
33 Implementing API Versioning
34 API Change Management
35 A Quick Question
36 Introduction
37 Authentication in REST APIs
38 Adding the Users Resource
39 Introducing ASP.NET Core Identity
40 Implementing User Registration
41 Token Based Authentication, JWT
42 Supporting Refresh Tokens
43 Protecting Resources: Owner Authorization
44 Role-Based Authorization
45 Advanced Authorization – RBAC, ABAC
46 Integrating With External APIs
47 Protecting Sensitive Data With Encryption
48 Introduction
49 Introducing the React Client Application
50 Adding the Entries Resource, GitHub Integration
51 Batch Resource Creation
52 HATEOAS: Driving Client Behavior
53 OpenAPI and HTTP Client Generation
54 Introduction
55 HTTP Caching
56 Optimistic Locking, Concurrency Control
57 Cursor Pagination
58 Refit – Automatic HTTP Client Generation
59 HTTP Resilience, Polly
60 Rate Limiting and REST APIs
61 Idempotence and REST APIs
62 Webhooks
63 Building Asynchronous REST APIs
64 A Small Favor?
65 Introduction
66 Unit Testing and REST APIs
67 Unit Testing: The Complete Picture
68 Integration Testing REST APIs
69 Testing External Services Using WireMock
70 Integration Testing: The Complete Picture
71 Functional Testing – Creating End-to-End Tests
72 Automated Testing in CI/CD Pipelines
73 Introduction
74 OpenAPI Support in .NET
75 Introducing Swagger for Documenting APIs
76 Adding Rich REST API Documentation
77 Documenting Multiple API Versions
78 Documenting Authentication
79 Exploring OpenAPI UI Alternatives – Scalar
80 Introduction
81 Deploying the Client Application to Azure
82 Deploying the Database and Applying Migrations
83 Deploying the REST API to Azure
84 Adding Monitoring With Application Insights
85 Automating Deployments With GitHub Actions
86 A Note From Me + Small Ask
87 Case Study: Patreon API
Resolve the captcha to access the links!