共用方式為


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

適用於