node / edge : alternative to node.exe.config

575 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

You can put node.exe in each of your projects root directories. Then you can have node.exe.config for each project.

By the way, I am recommending to have node.exe for each project, because you have the ability to using different versions of NodeJS for each project without conflict. NodeJS updates very fast, and sometimes there are some changes that you want for one project, but may break the code of other project.