Partager via


NodeServicesOptionsExtensions.UseHttpHosting(NodeServicesOptions) Méthode

Définition

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

Attributs

S’applique à