Share via


IComponentPrerenderer Interface

Definition

A service that can prerender Razor Components as HTML.

public interface IComponentPrerenderer
type IComponentPrerenderer = interface
Public Interface IComponentPrerenderer

Properties

Dispatcher

Gets a Dispatcher that should be used for calls to PrerenderComponentAsync(HttpContext, Type, IComponentRenderMode, ParameterView).

Methods

PrerenderComponentAsync(HttpContext, Type, IComponentRenderMode, ParameterView)

Prerenders a Razor Component as HTML.

PrerenderPersistedStateAsync(HttpContext, PersistedStateSerializationMode)

Prepares a serialized representation of any component state that is persistible within the current request.

Applies to