Note

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

Access to this page requires authorization. You can try .

INodeServices Interface

Definition

Namespace:
Microsoft.AspNetCore.NodeServices
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

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

Represents the ability to invoke code in a Node.js environment. Although the underlying Node.js instance might change over time (e.g., the process might be restarted), the INodeServices instance will remain constant.

public interface class INodeServices : IDisposable
public interface INodeServices : IDisposable
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public interface INodeServices : IDisposable
type INodeServices = interface
 interface IDisposable
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type INodeServices = interface
 interface IDisposable
Public Interface INodeServices
Implements IDisposable
Attributes
Implements

Methods

Name Description
InvokeAsync<T>(CancellationToken, String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeAsync<T>(String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeExportAsync<T>(CancellationToken, String, String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeExportAsync<T>(String, String, Object[])

Asynchronously invokes code in the Node.js instance.

Applies to


Feedback

Was this page helpful?