Dela via


Microsoft.AspNetCore.SpaServices.Prerendering Namespace

Single Page Application (SPA) prerendering is no longer supported in .NET 5.

Classes

JavaScriptModuleExport

Describes how to find the JavaScript code that performs prerendering.

Prerenderer

Performs server-side prerendering by invoking code in Node.js.

PrerenderTagHelper

A tag helper for prerendering JavaScript applications on the server.

RenderToStringResult

Describes the prerendering result returned by JavaScript code.

Interfaces

ISpaPrerenderer

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.

ISpaPrerendererBuilder

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.