MicrosoftDocs / mslearn-interact-with-data-blazor-web-apps

Sample repo for Interact with Data for Blazor Web Apps Learn Module
Creative Commons Attribution 4.0 International
44 stars 209 forks source link

Error in page "Exercise - Access data from a Blazor component" #4

Open nbourre opened 2 years ago

nbourre commented 2 years ago

This page has some errors which renders the tutorial useless.

In all respect, You are Microsoft. Please double-check your tutorial before publishing them...

Thebe01 commented 2 years ago

If I'm correct this issue concerns module Program.cs mentioned in unit 5 of the tutorial.

nbourre commented 2 years ago

I haven’t touched the tutorial since the error. I've abandoned learning blazor because of this...

Get Outlook for iOShttps://aka.ms/o0ukef


From: Pierre Theberge @.> Sent: Friday, June 3, 2022 11:34:27 PM To: MicrosoftDocs/mslearn-interact-with-data-blazor-web-apps @.> Cc: Nick B @.>; Author @.> Subject: Re: [MicrosoftDocs/mslearn-interact-with-data-blazor-web-apps] Error in page "Exercise - Access data from a Blazor component" (Issue #4)

If I'm correct this issue concerns module Program.cs mentioned in unit 5 of the tutorial.

— Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/mslearn-interact-with-data-blazor-web-apps/issues/4#issuecomment-1146516590, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARZQBYQJRO6NQJTPG4NLOLVNLFEHANCNFSM5Q5CV6BQ. You are receiving this because you authored the thread.Message ID: @.***>

Thebe01 commented 2 years ago

Si cela vous tente de vous remettre à l'apprentissage de Blazor... Trouvé les 3 lignes suivantes dans Program.cs et inséré le code requis juste après : app.MapRazorPages(); app.MapBlazorHub(); app.MapFallbackToPage("/_Host");

Cela vous permettra de terminer l'unité 5.

Diaz15h commented 2 years ago

There is another error in the "Use a service to obtain data" section <h1>Choose your pizza</a> the closing tag must </h1>

BagusTesa commented 8 months ago

I do wonder if the tutorial is written using AI, I noticed this particular part of the tutorial feels disjointed compared to the previous sections.

It would be far easier to start from cloning this repo as step 1 and Exercise 4 should have been about writing PizzaSpecialService instead to replace the hard coded pizza specials.

pmarangoni commented 3 months ago

This module "Interact with data in Blazor web apps" is pathetically terrible. It's really hard to believe that Microsoft has gotten this bad. All they care about is selling subscriptions to Azure.

How about updating/fixing your tutorials? I think we're supposed to be up to .NET 8 at this point.

pmarangoni commented 3 months ago

Exercise 4 should have been about writing PizzaSpecialService instead to replace the hard coded pizza specials.

Exactly! It's as if different people wrote different parts of this without checking what else was already written.