PrerenderingServiceCollectionExtensions 类

定义

注意

Use Microsoft.AspNetCore.SpaServices.Extensions

用于在 中 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
继承
PrerenderingServiceCollectionExtensions
属性

方法

AddSpaPrerenderer(IServiceCollection)
已过时.

配置依赖项注入系统以提供 的 ISpaPrerenderer实现。

适用于