Implement HTTP operations in ASP.NET Razor Pages

Intermediate
Developer
ASP.NET Core
.NET

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.

Learning objectives

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

Prerequisites

  • Experience writing C# at an intermediate level

  • Knowledge of RESTful services and HTTP action verbs