Get a deep dive into building web APIs in ASP.NET Core 8, including hands-on practice with advanced data retrieval, securing APIs, API versioning, and more.
Overview
Syllabus
Introduction
- Upskill your ASP.NET Core 8 web APIs
- What you should know
- Sample application
- How to use the exercise files
- Introduction: Advanced data retrieval
- Paginating items
- Filtering items
- Searching items
- Sorting items
- Working with minimal APIs
- Challenge: Advanced search
- Solution: Advanced search
- Introduction: API versioning
- Versioning options
- NuGet versioning packages
- Implementing URL versioning
- Implementing header versioning
- Using the Accept header for versioning
- Implementing query string versioning
- Versioning minimal APIs
- Versioning and Swagger
- Introduction: Securing APIs
- Redirecting to HTTPS
- Enforcing HTTPS
- Consuming the API with JavaScript
- Cross-origin resource sharing (CORS)
- Enabling CORS
- Adding ASP.NET Core Identity
- Adding token authentication
- Next steps
Taught by
Christian Wenz