Microsoft.AspNetCore.Mvc.RazorPages Namespace

Provides types required for runtime support for Razor Pages.

Classes

CompiledPageActionDescriptor

A PageActionDescriptor for a compiled Razor page.

NonHandlerAttribute

Specifies that the targeted method is not a page handler method.

Page

A base class for a Razor page.

PageActionDescriptor

Describes a page action.

PageBase

A base class for a Razor page.

PageContext

The context associated with the current request for a Razor page.

PageContextAttribute

Specifies that a Razor Page model property should be set with the current PageContext when creating the model instance. The property must have a public set method.

PageModel

Abstract class representing a Page

PageResult

An ActionResult that renders a Razor Page.

RazorPagesOptions

Provides configuration for Razor Pages.

Interfaces

IPageActivatorProvider

Provides methods to create a Razor page.

IPageFactoryProvider

Provides methods for creation and disposal of Razor pages.

IPageModelActivatorProvider

Provides methods to create a Razor Page model.

IPageModelFactoryProvider

Provides methods for creation and disposal of Razor Page models.

Remarks

For more information about Razor Pages, see Razor Pages.