13

Building Websites Using ASP.NET Core Razor Pages

This chapter is about building websites with a modern HTTP architecture on the server side using Microsoft ASP.NET Core. You will learn about building simple websites using the ASP.NET Core Razor Pages feature introduced with ASP.NET Core 2.0 and the Razor class library feature introduced with ASP.NET Core 2.1.

This chapter covers the following topics:

  • Exploring ASP.NET Core
  • Exploring ASP.NET Core Razor Pages
  • Using Entity Framework Core with ASP.NET Core
  • Using Razor class libraries
  • Configuring services and the HTTP request pipeline
  • Enabling HTTP/3 support

Exploring ASP.NET Core

We will start by creating an empty ASP.NET Core project and explore how to enable it to serve simple web pages. ...

Get C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals - Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.