Learn how to create an ASP.NET app using Razor Pages and run it in GitHub Codespaces.
Overview
Syllabus
Introduction
- Hands-on with ASP.NET Razor Pages
- Using GitHub Codespaces with this course
- ASP.NET projects in GitHub Codespaces
- Static content and Razor Pages
- Routing and Razor Pages
- Writing code in a Razor Page
- Write code in the PageModel class
- Create pages with a namespace
- Create a model class
- Model binding: Automate data capture
- Use routes with model binding
- Model binding into the model class
- Method parameters and model binding
- Using TagHelpers to generate HTML elements
- Create a basic HTML form
- Add model and form code
- Use data annotations for readability
- Add SelectList
- Add SelectList code
- Next steps
Taught by
Walt Ritscher