NodeServicesOptionsExtensions.UseHttpHosting(NodeServicesOptions) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use Microsoft.AspNetCore.SpaServices.Extensions
設定 INodeServices 服務,使其使用跨進程 Node.js 實例,並透過 HTTP 執行 RPC 呼叫。
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)
參數
- options
- NodeServicesOptions
- 屬性