Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Hands-On Introduction: ASP.NET Razor Pages

via LinkedIn Learning

Overview

Learn how to create an ASP.NET app using Razor Pages and run it in GitHub Codespaces.

Syllabus

Introduction
  • Hands-on with ASP.NET Razor Pages
  • Using GitHub Codespaces with this course
1. Picking Apart ASP.NET Razor Pages
  • 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
2. Model Binding
  • 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
3. Building New Code
  • 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
Conclusion
  • Next steps

Taught by

Walt Ritscher

Reviews

Start your review of Hands-On Introduction: ASP.NET Razor Pages

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.