ISpaPrerenderer Interface
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
Use Microsoft.AspNetCore.SpaServices.Extensions
Représente un service qui peut effectuer un pré-attribution côté serveur pour les applications monopage JavaScript. Il s’agit d’une alternative à l’utilisation du tag helper « asp-prerender-module ».
public interface class ISpaPrerenderer
public interface ISpaPrerenderer
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public interface ISpaPrerenderer
type ISpaPrerenderer = interface
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type ISpaPrerenderer = interface
Public Interface ISpaPrerenderer
- Attributs
Méthodes
RenderToString(String, String, Object, Int32) |
Obsolète.
Appelle du code JavaScript pour effectuer le pré-génération côté serveur d’une application Single-Page. Il s’agit d’une alternative à l’utilisation du tag helper « asp-prerender-module ». |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour