addNodeApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addNodeApp( name: string, appDirectory: string, scriptPath: string): NodeAppResource;}Signature
method
addNodeApp builderAdds a node application to the application model. Node should be available on the PATH.
addNodeApp( name: string, appDirectory: string, scriptPath: string): NodeAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the node application.scriptPath stringThe path to the script relative to the app directory to run.Returns
NodeAppResource Applies to
This method applies to the following types: