- Module 1: Learn how APIs are implemented in ASP.NET Core, and how to use API documentation to learn the APIs requirements.
After completing this module, you'll be able to:
- Describe the two model types of APIs in ASP.NET Core
- Create Swagger documentation for an API by using Swashbuckle
- Interact with an API by using the Swagger interface
- Module 2: Learn how to implement HTTP clients and perform HTTP operations in ASP.NET Core Razor Pages.
After completing this module, you'll be able to:
- Implement HTTP clients in .NET Core
- Use HTTP clients to perform safe and unsafe operations
- Add code to support HTTP operations in an ASP.NET Core Razor Pages app
- Module 3: Learn how to render API responses in ASP.NET Core Razor Pages and perform HTTP operations by using page handlers.
After completing this module, you'll be able to:
- Combine HTML and C# to define dynamic page rendering logic
- Render API responses in Razor Pages
- Create pages that perform HTTP operations
Overview
Syllabus
- Module 1: Module 1: Interact with an ASP.NET Core minimal API
- Introduction
- Explore ASP.NET Core APIs
- Document an API by using Swashbuckle
- Exercise - Interact with an API
- Knowledge check
- Summary
- Module 2: Module 2: Implement HTTP operations in ASP.NET Razor Pages
- Introduction
- Explore HTTP clients in .NET Core
- Perform HTTP operations in Razor Pages
- Exercise - Implement HTTP operations in Razor Pages
- Knowledge check
- Summary
- Module 3: Module 3: Render API responses in ASP.NET Core Razor Pages
- Introduction
- Explore Razor Pages project structure
- Discover Razor Pages syntax
- Exercise - Render API responses in Razor Pages
- Knowledge check
- Summary