Udostępnij za pośrednictwem


NodeServicesOptionsExtensions.UseHttpHosting(NodeServicesOptions) Metoda

Definicja

Przestroga

Use Microsoft.AspNetCore.SpaServices.Extensions

Konfiguruje usługę INodeServices tak, aby korzystała z wystąpień poza procesem Node.js i wykonywać wywołania RPC za pośrednictwem protokołu 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)

Parametry

Atrybuty

Dotyczy