I have not been able to complete this module

Brandon Shaw 20 Reputation points
2025-02-04T08:58:56.98+00:00

I did everything exactly as this article states and cannot get this code to run correctly. I have troubleshooted with co pilot and git hub. I'm new to programming so I'm sure there is a knowledge gap that I just can't seem to reconcile.

I will hold on to the project incase you want more specifics, but I just wanted you to know how much I struggled with this module.

This question is related to the following Learning Module

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
16 questions
{count} votes

Accepted answer
  1. Pradeep M 5,680 Reputation points Microsoft Vendor
    2025-02-05T09:58:43.0666667+00:00

    Hi Brandon Shaw

    Thank you for reaching out to Microsoft Q & A forum. 

    It seems like the issue is with the API returning invalid data. First, check if http://localhost:5000/specials returns valid JSON in the browser or Postman. Ensure routing is properly configured, especially the app.MapControllerRoute in Program.cs. Confirm that SeedData.Initialize() is working to populate your database. Review the OnInitializedAsync() method for correct HTTP request handling and JSON deserialization. 

    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.  


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.