Skip to content

6. Tutorial Lab

Alainna Carmon edited this page Oct 1, 2026 · 20 revisions

Tutorial / Lab

Lab Objective

Part 1 — Open the Starter Project and Install Open-Meteo API

After downloading the provided starter project and running a build to make sure there are not any errors running the project, open the Package Manager Console. You can do this by navigating to Tools > NuGet Package Manager > Package Manager Console. Insert the following command into the console to install Open-Meteo Weather API:

dotnet add package openmeteo_sdk

Screenshot 2026-10-01 130823

Part 2 — Create the Weather Model

[Explanation]

[Code]

[SCREENSHOT]

Part 3 — Create the Weather Service

[Explanation]

[Code]

[SCREENSHOT]

Part 4 — Build the API Request

[Explanation]

[Code]

[SCREENSHOT]

Part 5 — Send the Request

[Explanation]

[Code]

[SCREENSHOT]

Part 6 — Read the JSON Response

[Explanation]

[Code]

[SCREENSHOT]

Part 7 — Display the Weather

[Explanation]

[Code]

[SCREENSHOT]

Part 8 — Add Another Weather Variable

[Explanation]

[Code]

[SCREENSHOT]

Part 9 — Challenge Activity

[Explanation]

[Code]

[SCREENSHOT]

Lab Completion Checklist

Clone this wiki locally