Update 3-razor-pages/README.md

Co-authored-by: Katie Savage <katie.a.savage@gmail.com>
This commit is contained in:
Jon Galloway 2022-06-24 14:32:53 -07:00 committed by GitHub
parent 7822551ad4
commit b9d85c4482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@ Welcome back! In the last lesson, you got a crash course in C# language fundamen
## Okay, so what are Razor Pages?
There are a few different kinds of web apps out there. If youre building a highly interactive web apps like a game or in-browser experience you would probably want to use Blazor. Youll learn about that In Week 5. But the huge majority of web sites out there run most of their logic on the server - think shopping and commerce websites, web sites for small businesses and portfolios, news sites, etc. And thats what Razor Pages is really good at.
There are a few different kinds of web apps out there. If youre building highly interactive web apps like a game or in-browser experience you would probably want to use Blazor. Youll learn about that in Week 5. But the huge majority of web sites out there run most of their logic on the server - think shopping and commerce websites, web sites for small businesses and portfolios, news sites, etc. And thats what Razor Pages is really good at.
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.