Microsoft.AspNetCore.NodeServices.HostingModels Namespace

Classes

NodeInvocationException

Represents an exception caused by invoking Node.js code.

NodeInvocationInfo

Describes an RPC call sent from .NET code to Node.js code.

NodeServicesOptionsExtensions

Extension methods that help with populating a NodeServicesOptions object.

OutOfProcessNodeInstance

Class responsible for launching a Node child process on the local machine, determining when it is ready to accept invocations, detecting if it dies on its own, and finally terminating it on disposal.

This abstract base class uses the input/output streams of the child process to perform a simple handshake to determine when the child process is ready to accept invocations. This is agnostic to the mechanism that derived classes use to actually perform the invocations (e.g., they could use HTTP-RPC, or a binary TCP protocol, or any other RPC-type mechanism).

Interfaces

INodeInstance

Represents an instance of Node.js to which Remote Procedure Calls (RPC) may be sent.