Dela via


PrerenderingServiceCollectionExtensions Class

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Extension methods for setting up prerendering features in an IServiceCollection.

public static class PrerenderingServiceCollectionExtensions
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static class PrerenderingServiceCollectionExtensions
type PrerenderingServiceCollectionExtensions = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type PrerenderingServiceCollectionExtensions = class
Public Module PrerenderingServiceCollectionExtensions
Inheritance
PrerenderingServiceCollectionExtensions
Attributes

Methods

AddSpaPrerenderer(IServiceCollection)
Obsolete.

Configures the dependency injection system to supply an implementation of ISpaPrerenderer.

Applies to