次の方法で共有


SpaPrerenderingExtensions.UseSpaPrerendering メソッド

定義

注意事項

Prerendering is no longer supported out of box

シングル ページ アプリケーションのサーバー側プリレンダリング ミドルウェアを有効にします。

public:
[System::Runtime::CompilerServices::Extension]
 static void UseSpaPrerendering(Microsoft::AspNetCore::SpaServices::ISpaBuilder ^ spaBuilder, Action<Microsoft::AspNetCore::Builder::SpaPrerenderingOptions ^> ^ configuration);
public static void UseSpaPrerendering (this Microsoft.AspNetCore.SpaServices.ISpaBuilder spaBuilder, Action<Microsoft.AspNetCore.Builder.SpaPrerenderingOptions> configuration);
[System.Obsolete("Prerendering is no longer supported out of box")]
public static void UseSpaPrerendering (this Microsoft.AspNetCore.SpaServices.ISpaBuilder spaBuilder, Action<Microsoft.AspNetCore.Builder.SpaPrerenderingOptions> configuration);
static member UseSpaPrerendering : Microsoft.AspNetCore.SpaServices.ISpaBuilder * Action<Microsoft.AspNetCore.Builder.SpaPrerenderingOptions> -> unit
[<System.Obsolete("Prerendering is no longer supported out of box")>]
static member UseSpaPrerendering : Microsoft.AspNetCore.SpaServices.ISpaBuilder * Action<Microsoft.AspNetCore.Builder.SpaPrerenderingOptions> -> unit
<Extension()>
Public Sub UseSpaPrerendering (spaBuilder As ISpaBuilder, configuration As Action(Of SpaPrerenderingOptions))

パラメーター

spaBuilder
ISpaBuilder

ISpaBuilder

configuration
Action<SpaPrerenderingOptions>

プリレンダリング ミドルウェアの構成を提供します。

属性

適用対象