Readme - Code Samples for Chapter 26, Razor Pages and MVC

January 27, 2022 ยท View on GitHub

Razor Pages and MVC is about interacting with users with ASP.NET Core technologies. It covers Razor pages, Razor views, and functionality such as tag helpers and view components.

This chapter contains these samples:

  • WebAppSample (Razor Pages Project)
  • BookModels (Library for Razor Pages)
  • BooksViews (Razor Class Library with Razor Pages)
  • CustomTagHelpers (tag helpers library)
  • EventViews (view components library)
  • MVCSample (ASP.NET Core MVC Project)

.NET 6 Updates

With .NET 6, the Startup class has been replaced by top-level statements in the Program.cs file. The new WebApplication class abstracts the use of the Host class.

More Information

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!