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

LinkedIn Learning

ASP.NET Core: Razor Pages

via LinkedIn Learning

Overview

Build ASP.NET applications without an MVC framework. Learn how to use Razor Pages to build dynamically rendered pages and secure, interactive forms for your apps.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. Razor Pages Intro
  • What is Razor Pages?
  • Development environment setup
  • Exploring the sample application
2. Razor Pages Basics
  • Creating a new Razor Pages application
  • Creating Razor Pages
  • Serving static content
  • Using the Razor syntax to render dynamic content
  • Adding code blocks to a Razor page
  • Passing parameters in the URL
3. Reusing Markup with Layouts
  • Reusing shared markup with layouts
  • Using sections in Razor layouts
  • Sharing data between layouts and views
  • Executing code before every page
4. Building Maintainable Applications
  • Using loose coupling for maintainability
  • Using a page model to keep logic out of the view
  • Increasing maintainability with dependency injection
5. Working with Data
  • Building a form with tag helpers
  • Handling HTTP verbs with custom logic
  • Automatically populating objects with request data
  • Adding custom handlers beyond GET and POST
  • Challenge: Process an uploaded image file
  • Solution: Process an uploaded image file
6. Validating User Inputs and Securing Your Application from Unauthorized Users
  • Validating form post data
  • Displaying validation errors
  • Securing your pages from unauthorized access
  • Implementing basic cookie-based authentication
  • Next steps

Taught by

Jess Chadwick

Reviews

Start your review of ASP.NET Core: 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.