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)
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.
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!