ASP.NET Core Razor Pages in Action

  • 8h 17m
  • Mike Brind
  • Manning Publications
  • 2023

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.

About the Author

Mike Brind is an 11-time recipient of the Microsoft Most Valuable Professional (MVP) award for ASP.NET. He is a regular Razor Pages blogger and a moderator of the official ASP.NET forums.

In this Book

  • About this Book
  • Getting Started with Razor Pages
  • Building Your First Application
  • Working with Razor Pages
  • Matching URLs to Razor Pages with Routing
  • Working with Forms—Model binding
  • Working with Forms—Tag Helpers
  • Using Dependency Injection to Manage Services
  • Working with Data
  • Managing Users with Authentication
  • Controlling Access with Authorization
  • Client-Side Technologies and AJAX
  • Troubleshooting Your Application
  • Protecting Your Application Against External Attacks
  • Configuring and Publishing Your Application