Technical requirements
To complete this project, you need to have Visual Studio 2019 installed on your PC. For instructions on how to install the free Community Edition of Visual Studio 2019, refer to Chapter 1, Introduction to Blazor WebAssembly. You will also need the Empty Blazor WebAssembly App project template that we created in Chapter 2, Building Your First Blazor WebAssembly Application.
We will be using an external weather API to access the weather forecast data for our project. The API that we will be using is the OpenWeather One Call API for getting current, forecasted, and historical weather data. This is a free API that is provided by OpenWeather (https://openweathermap.org). In order to get started with this API, you need to create an account and obtain an API key. If you do not want to create an account, you can use the weather.json
file that we have provided in the GitHub repository for this chapter.
The source code for this chapter is available in the following...