Dela via


Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure Namespace

The types in this namespace support the ASP.NET Core framework and are not intended to be used directly.

Classes

CompiledPageActionDescriptorProvider

A IActionDescriptorProvider for build-time compiled Razor Pages.

DefaultPageActivatorProvider

IPageActivatorProvider that uses type activation to create Pages.

DefaultPageFactoryProvider
DefaultPageHandlerMethodSelector
DefaultPageModelActivatorProvider

IPageActivatorProvider that uses type activation to create Razor Page instances.

DefaultPageModelFactoryProvider
HandlerMethodDescriptor

Represents a description of a handler method.

HandlerParameterDescriptor

Describes an handler parameter.

PageActionDescriptorProvider

A IActionDescriptorProvider for PageActions

PageArgumentBinder
PageBoundPropertyDescriptor

Describes a page bound property.

PageDirectiveFeature
PageLoader

Creates a CompiledPageActionDescriptor from a PageActionDescriptor.

PageModelAttribute

An attribute for base classes for page models. Applying this attribute to a type marks all subclasses of that type as page model types.

PageResultExecutor

Executes a Razor Page.

PageViewLocationExpander

An IViewLocationExpander for PageView.

RazorPageAdapter

Implements IRazorPage so that RazorPageBase-derived classes don't get activated twice. The page gets activated before handler methods run, but the RazorView will also activate each page.

RazorPageAttribute

Obsolete: This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.

ServiceBasedPageModelActivatorProvider

IPageActivatorProvider that uses type activation to create Razor Page instances.

Interfaces

IPageHandlerMethodSelector

Selects a handler method from a page.

IPageLoader

Creates a CompiledPageActionDescriptor from a PageActionDescriptor.

Remarks

For more information about Razor Pages, see Razor Pages.