다음을 통해 공유


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))

매개 변수

configuration
Action<SpaPrerenderingOptions>

미리 렌더링되는 미들웨어에 대한 구성을 제공합니다.

특성

적용 대상