Aracılığıyla paylaş


SpaPrerenderingExtensions.UseSpaPrerendering Yöntem

Tanım

Dikkat

Prerendering is no longer supported out of box

Tek Sayfalı Bir Uygulama için sunucu tarafı ön kayıt ara yazılımını etkinleştirir.

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

Parametreler

spaBuilder
ISpaBuilder

ISpaBuilder.

configuration
Action<SpaPrerenderingOptions>

Ön üretim ara yazılımı için yapılandırma sağlar.

Öznitelikler

Şunlara uygulanır