ISpaPrerenderer Interface

Définition

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 à