ASP Module 1
CtrlK
Creating a razor pages app
Creating a razor pages app
  • Different types of web apps
  • Creating a razor pages app
    • Create a web app project
    • Run the Razor Pages project
    • Tour the app
    • Explore the project
  • Add pizza page to the app
    • Examine pizza page's structure
    • Add pizza classes
    • Add pizza markup
    • Adding pizza pagemodel
      • PageModel Binding
      • Validating model
      • Pizza form submission
      • Post handler for the Delete
      • Link to the Pizza page
      • Test the app
      • Complete code for PizzaModel
      • Order of Execution
  • What are tag helpers
  • Summary and official documentation
Powered by GitBook
On this page
  • Order of execution
  • Index page
  • Pizza page
  1. Add pizza page to the app
  2. Adding pizza pagemodel

Order of Execution

Order of execution

Index page

  1. Program.cs

  2. Index.cshtml.cs

  3. _ViewStart.cshtml

  4. _Layout.cshtml

  5. Index.cshtml (to get title)

  6. _Layout.cshtml

  7. (@RendorBody())

  8. Index.cshtml

Pizza page

Similar, except Program.cs is not called

PreviousComplete code for PizzaModelNextWhat are tag helpers

Last updated 2 years ago