Condividi tramite


NodeAppHostingExtension Class

Definition

Provides extension methods for adding Node applications to an IDistributedApplicationBuilder.

public static class NodeAppHostingExtension
type NodeAppHostingExtension = class
Public Module NodeAppHostingExtension
Inheritance
NodeAppHostingExtension

Methods

AddNodeApp(IDistributedApplicationBuilder, String, String, String, String[])

Adds a node application to the application model. Node should available on the PATH.

AddNpmApp(IDistributedApplicationBuilder, String, String, String, String[])

Adds a node application to the application model. Executes the npm command with the specified script name.

Applies to