Hi Mac Perkins,
Thank you for reaching out to Microsoft Q & A forum.
The 404 error you encountered happens because the base URL only connects to the server itself but doesn’t point to the specific endpoint needed to display the API data.
To access your API’s JSON output, please follow these steps:
1.Run the app using dotnet run.
2.Then, in your web browser, enter the full URL, like this:
http://localhost:5290/weatherforecast
(Note: Be sure to replace 5290 with the actual port number you see in the terminal if it’s different.)
This should bring up the expected JSON response from your API.
Please feel free to contact us if you have any additional questions.
If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community