ISpaPrerendererBuilder Interface

Definition

Caution

Prerendering is no longer supported out of box

Represents the ability to build a Single Page Application (SPA) on demand so that it can be prerendered. This is only intended to be used at development time. In production, a SPA should already have been built during publishing.

C#
public interface ISpaPrerendererBuilder
C#
[System.Obsolete("Prerendering is no longer supported out of box")]
public interface ISpaPrerendererBuilder
Derived
Attributes

Methods

Build(ISpaBuilder)

Builds the Single Page Application so that a JavaScript entrypoint file exists on disk. Prerendering middleware can then execute that file in a Node environment.

Applies to

Product Versions (Obsolete)
ASP.NET Core 2.1, 2.2 (3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0)