Razor Pages lets you build, configure, and deploy amazing dynamic ASP.NET websites with ease.
In ASP.NET Core Razor Pages in Action you will learn:
Building, configuring, and publishing a data-driven website
Creating a complete web application step-by-step
Forms for collecting and processing user data
Connecting to databases from a Razor Page
Protecting areas of a Razor Page from unauthorized access with ASP.NET Identity
Using Object Relational Mapping tools to work with data in Razor Pages applications
Generating CRUD pages using scaffolding gestures
Generating and sending email from your web application
ASP.NET Core Razor Pages in Action teaches you to develop dynamic websites using the powerful Razor Pages framework, .NET 6, and ASP.NET. Razor Pages generates HTML on the server, and is the perfect choice for eCommerce sites, intranet services, content management systems, and other apps that require reliability. In this book, you’ll use Razor Pages to build a complete application for booking city breaks, learning to iterate amazing new features chapter-by-chapter. You’ll even learn how to enhance your web applications with the huge ecosystem of C# libraries, and how to locate the perfect tool for your task using centralized repositories.
About the technology
Simplify ASP.NET web development with Razor Pages! Razor Pages provides a cohesive page-based organization layer for application components like routes and actions. It’s page-centric approach means you spend less dev time switching between the controller, model, and view files, as compared to a traditional MVC approach.
About the book
ASP.NET Core Razor Pages in Action teaches you how to use Razor Pages to code and scale dynamic ASP.NET Core websites. You’ll learn a new feature in every chapter as you build an interesting vacation-booking application. As your app grows, you’ll be amazed how Razor Pages accelerates essential tasks like form creation, data processing, testing, and deployment.
What's inside
Securing your applications from unauthorized access
Using object-relational mapping tools to work with data
Generating and sending email from a web application
Enhance your web apps with C# libraries
About the reader
For web developers familiar with C# programming.
About the author
Mike Brind is an 11-time recipient of the Microsoft Most Valuable Professional (MVP) award for ASP.NET.
Table of Contents
1 Getting started with Razor Pages
2 Building your first application
3 Working with Razor Pages
4 Matching URLs to Razor Pages with routing
5 Working with forms: Model binding
6 Working with forms: Tag helpers
7 Using dependency injection to manage services
8 Working with data
9 Managing users with authentication
10 Controlling access with authorization
11 Client-side technologies and AJAX
12 Troubleshooting your application
13 Protecting your application against external attacks
14 Configuring and publishing your application

- 456 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
ASP.NET Core Razor Pages in Action
About this book
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- inside front cover
- ASP.NET Core Razor Pages in Action
- Copyright
- contents
- front matter
- 1 Getting started with Razor Pages
- 2 Building your first application
- 3 Working with Razor Pages
- 4 Matching URLs to Razor Pages with routing
- 5 Working with forms: Model binding
- 6 Working with forms: Tag helpers
- 7 Using dependency injection to manage services
- 8 Working with data
- 9 Managing users with authentication
- 10 Controlling access with authorization
- 11 Client-side technologies and AJAX
- 12 Troubleshooting your application
- 13 Protecting your application against external attacks
- 14 Configuring and publishing your application
- index
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access ASP.NET Core Razor Pages in Action by Mike Brind in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C. We have over one million books available in our catalogue for you to explore.