SpaPrerenderingExtensions.UseSpaPrerendering Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
Prerendering is no longer supported out of box
Active l’intergiciel de pré-attribution côté serveur pour une application monopage.
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))
Paramètres
- spaBuilder
- ISpaBuilder
L’ISpaBuilderopérateur
- configuration
- Action<SpaPrerenderingOptions>
Fournit la configuration de l’intergiciel de pré-attribution.
- Attributs