NodeServicesOptionsExtensions.UseHttpHosting(NodeServicesOptions) 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
Use Microsoft.AspNetCore.SpaServices.Extensions
Configure le INodeServices service afin qu’il utilise des instances de Node.js hors processus et effectue des appels RPC via HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static void UseHttpHosting(Microsoft::AspNetCore::NodeServices::NodeServicesOptions ^ options);
public static void UseHttpHosting (this Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static void UseHttpHosting (this Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
static member UseHttpHosting : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> unit
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member UseHttpHosting : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> unit
<Extension()>
Public Sub UseHttpHosting (options As NodeServicesOptions)
Paramètres
- options
- NodeServicesOptions
- Attributs