Fix note on Blazor's preferred approach version in README.md

This commit is contained in:
Jon Galloway 2025-05-12 21:27:34 -07:00
parent 4e46ba03d9
commit 5b019a7498

View file

@ -10,7 +10,7 @@ Welcome back! In the last lesson, you got a crash course in C# language fundamen
There are a few different kinds of web apps out there. Many web apps render content and handle requests from the server - think shopping and commerce websites, web sites for small businesses and portfolios, news sites, etc. Other web apps are highly interactive like a game or in-browser experiences. Razor Pages is a web UI framework for building web apps that run from the server.
> Note: Starting in .NET 9, Blazor is the preferred approach for building web UI with ASP.NET Core. You can use Blazor's rich component model to build both server rendered web apps and interactive client web apps. We'll learn more about Blazor in Week 5.
> Note: Starting in .NET 8, Blazor is the preferred approach for building web UI with ASP.NET Core. You can use Blazor's rich component model to build both server rendered web apps and interactive client web apps. We'll learn more about Blazor in Week 5.
In Razor Pages applications, youll write your logic in a Page Model class, and youll write your markup in a Razor file. Razor is a nifty language that blends HTML markup with C# logic, so you can pull in your dynamic information from your Page Model class and display it in Razor. If that sounds complicated, dont worry, because youre about to see how easy it is to write a simple Pizza store web app using Razor Pages.