Consume REST web services in .NET MAUI apps
Consume a REST web service by using HttpClient and perform basic CRUD operations. You'll 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.
- Optional: Local installations Visual Studio Code, the .NET SDK with .NET MAUI workload, and the .NET MAUI Extension for Visual Studio Code
- Familiarity with C# and .NET
- Basic knowledge of REST