- Set up the solution to run the API and WebApp simultaneously.
- Put a break point in ForecastService.cs to identify the problem.
- I identified that the problem was that the URL parameter is null because it is not in the settings.
- Add the Url parameter in the correct section in appsettings.json:
"ApiSettings": { "Url": "http://localhost:5104/" }
- Run the App and test
It works!
Display the data when clicking on this link
Update the code to use the commented code
Extra points
Containerize the apps with docker