2

The documentation for Edge.js states that in order to have .net settings for my app, I need to put them in node.exe.config.

How to: app.config

When running C# code within Node.js app, the app config file is node.exe.config and should be located right next to the node.exe file.

This will create conflicts as I have several edge applications running on this box. What are the alternatives?

4

1 回答 1

0

您可以将 node.exe 放在每个项目的根目录中。然后你可以有node.exe.config每个项目。

顺便说一句,我建议为每个项目使用 node.exe,因为您可以为每个项目使用不同版本的 NodeJS 而不会发生冲突。NodeJS 更新非常快,有时您希望对一个项目进行一些更改,但可能会破坏其他项目的代码。

于 2017-01-12T10:37:16.050 回答