Consume REST web services in .NET MAUI apps

Beginner
Developer
Student
Visual Studio
.NET
.NET MAUI

Consume a REST web service by using HttpClient and perform basic CRUD operations. You will detect when your device is connected to the internet to provide a good user experience and take advantage of the native networking stacks to get top performance.

Learning objectives

In this module, you will:

  • Detect if your device is connected to the internet
  • Consume a REST web service by using HttpClient
  • Take advantage of the native networking stacks while using HttpClient

Prerequisites

  • Visual Studio 2022 with the .NET MAUI workload installed
  • Familiarity with C# and .NET
  • Basic knowledge of REST