Exercise - Implement HTTP operations in Razor Pages

Completed

In this exercise, you learn how to add the necessary code to an ASP.NET Core Razor Pages app to create the HTTP client and perform GET, POST, PUT, and DELETE operations to manage a list of fruit. The code to render the data in the cshtml files is complete, and you are updating the cshtml.cs code-behind files.

Launch the exercise and follow the instructions. When you're done, be sure to return to this page so you can continue learning.


Button to launch exercise.