Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PrerenderingServiceCollectionExtensions Class

Definition

Namespace:
Microsoft.Extensions.DependencyInjection
Assembly:
Microsoft.AspNetCore.SpaServices.dll
Package:
Microsoft.AspNetCore.SpaServices v2.0.0
Package:
Microsoft.AspNetCore.SpaServices v2.1.0
Package:
Microsoft.AspNetCore.SpaServices v2.2.0
Package:
Microsoft.AspNetCore.SpaServices v3.0.3
Package:
Microsoft.AspNetCore.SpaServices v3.1.18
Source:
PrerenderingServiceCollectionExtensions.cs
Source:
PrerenderingServiceCollectionExtensions.cs
Source:
PrerenderingServiceCollectionExtensions.cs
Source:
PrerenderingServiceCollectionExtensions.cs

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.

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

Name Description
AddSpaPrerenderer(IServiceCollection)
Obsolete.

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

Applies to


Feedback

Was this page helpful?