Full Stack Web Development

W08 Fast Focus: Getting Started with ASP.NET Core Razor Pages

03/04/2020

1:30pm - 1:50pm

Level: Introductory

Walt Ritscher

Senior Staff Instructor

LinkedIn Learning / Lynda

Razor Pages are a new feature of ASP.NET Core that brings a simple page-based development model to .NET Core. While they are similar to Razor Views in MVC, they have interesting differences. Essentially, they are the preferred way to generate server-side HTML content in the Microsoft MVC world.

This session explores how the Pages framework operates and how it fits into the standard ASP.NET Core MVC infrastructure. We’ll look at scenarios where Razor pages are a good choice and discuss when it is best stick with MVC. You’ll see how all your favorite concepts (like Model Binding) work in this new system.

You will learn:

  • How Razor Pages fit into the ASP.NET MVC Core framework
  • How to build a data and model driven site with Razor Pages
  • How handlers work in Razor code