Dela via


NodeServicesOptionsExtensions.UseHttpHosting(NodeServicesOptions) Method

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Configures the INodeServices service so that it will use out-of-process Node.js instances and perform RPC calls over 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)

Parameters

Attributes

Applies to