logo
Live instructor-led learningLearn with an experienced trainer and ask questions in real time.
Flexible delivery optionsChoose scheduled virtual or classroom dates that work for your team.
Onsite for three or moreAsk about a private delivery tailored to your organisation.
Course information

Microsoft Azure course content

View course overview
Upcoming classes

Choose a country and city to view dates

Course content

What you will learn

Overview

Learn how to gather information from API documentation and perform HTTP operations in an ASP.NET Core Razor Pages web app.

Skills Gained

By completing the Develop an ASP.NET Core Web App That Consumes an API - Applied Skills Workshop MAZ2002 course participants will gain practical knowledge, configuration skills, implementation techniques and best practice understanding relevant to real enterprise environments.

Prerequisites

  • Experience writing C# at an intermediate level
  • Ability to write HTML at an intermediate level
  • Knowledge of RESTful services and HTTP action verbs

Outline

Module 1: Interact with an ASP.NET Core minimal API

Learn how APIs are implemented in ASP.NET Core, and how to use API documentation to learn the APIs requirements.

  • Introduction
  • Explore ASP.NET Core APIs
  • Document an API by using Swashbuckle
  • Exercise - Interact with an API
  • Knowledge check
  • Summary

Module 2: Implement HTTP operations in ASP.NET Razor Pages

Learn how to implement HTTP clients based on HttpClient and IHttpClientFactory. And how to implement code to perform HTTP operations in ASP.NET Core 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: Render API responses in ASP.NET Core Razor Pages

Learn how to render API responses in ASP.NET Core Razor Pages and perform HTTP operations by using page handlers.

  • Introduction
  • Explore Razor Pages project structure
  • Discover Razor Pages syntax
  • Exercise - Render API responses in Razor Pages
  • Knowledge check
  • Summary

Certification

Please note: Your applied skills assessment practical lab can be sat at any time of your choosing directly via the MSLearn website here.

Does Develop an ASP.NET Core Web App That Consumes an API - Applied Skills Workshop MAZ2002 include exam preparation?

Exam availability depends on the selected delivery option; check the course details before booking.

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost-effective option. One-to-one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please note: All courses are available as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.