YoVDO

ASP.NET Core: Razor Pages (2017)

Offered By: LinkedIn Learning

Tags

ASP.NET Core Courses Web Development Courses Razor Pages Courses

Course Description

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

Related Courses

Learn ASP.NET
Codecademy
Develop an ASP.NET Core web app that consumes an API
Microsoft via Coursera
Learn ASP.NET Core 3.1 - Full Course for Beginners [Tutorial]
freeCodeCamp
Razor Pages for ASP.NET Core - Full Course (.NET 6)
freeCodeCamp
ASP.NET Core: Razor Pages
LinkedIn Learning