IComponentPrerenderer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |