To complete this stage of the project, you will need Visual Studio 2019 with the ASP.NET and web development workload installed:
- Create a new ASP.NET Core web application:
- Make sure API is selected withNo Authenticationset:
- Click onCreateto scaffold your new project. Then, run your project. By default, an example weather forecast API is defined, and it outputs the following JSON code in the browser window:
[{"date":"2020-04-13T20:02:22.8144942+01:00","temperatureC":0,"temperatureF":32,"summary":"Balmy"},{"date":"2020-04-14T20:02:22.8234349+01:00","temperatureC":13,"temperatureF":55,"summary":"Warm"},{"date":"2020-04-15T20:02:22.8234571...