ISpaPrerenderer ISpaPrerenderer ISpaPrerenderer ISpaPrerenderer Interface

Definition

Warning

This API is now obsolete.

Represents a service that can perform server-side prerendering for JavaScript-based Single Page Applications. This is an alternative to using the 'asp-prerender-module' tag helper.

public interface class ISpaPrerenderer
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public interface ISpaPrerenderer
type ISpaPrerenderer = interface
Public Interface ISpaPrerenderer
Attributes

Methods

RenderToString(String, String, Object, Int32) RenderToString(String, String, Object, Int32) RenderToString(String, String, Object, Int32) RenderToString(String, String, Object, Int32)

Invokes JavaScript code to perform server-side prerendering for a Single-Page Application. This is an alternative to using the 'asp-prerender-module' tag helper.

Applies to