Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Develop an ASP.NET Core web app that consumes an API

Microsoft via Microsoft Learn

Overview

  • 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

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

Reviews

Start your review of Develop an ASP.NET Core web app that consumes an API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.