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
()
Ex_Files_ASPNET_Razor_Pages.zip
(15.0 MB)