Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NodeServicesOptionsExtensions Class

Definition

Namespace:
Microsoft.AspNetCore.NodeServices.HostingModels
Assembly:
Microsoft.AspNetCore.NodeServices.dll
Package:
Microsoft.AspNetCore.NodeServices v2.0.0
Package:
Microsoft.AspNetCore.NodeServices v2.1.0
Package:
Microsoft.AspNetCore.NodeServices v2.2.0
Package:
Microsoft.AspNetCore.NodeServices v3.0.3
Package:
Microsoft.AspNetCore.NodeServices v3.1.18
Source:
NodeServicesOptionsExtensions.cs
Source:
NodeServicesOptionsExtensions.cs
Source:
NodeServicesOptionsExtensions.cs
Source:
NodeServicesOptionsExtensions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Extension methods that help with populating a NodeServicesOptions object.

public ref class NodeServicesOptionsExtensions abstract sealed
public static class NodeServicesOptionsExtensions
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static class NodeServicesOptionsExtensions
type NodeServicesOptionsExtensions = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeServicesOptionsExtensions = class
Public Module NodeServicesOptionsExtensions
Inheritance
NodeServicesOptionsExtensions
Attributes

Methods

Name Description
UseHttpHosting(NodeServicesOptions)
Obsolete.

Configures the INodeServices service so that it will use out-of-process Node.js instances and perform RPC calls over HTTP.

Applies to


Feedback

Was this page helpful?