If I add settings to my app's web.config file, is there an API to read the settings from my app or do I have to read the file using an XML library?
相关问题
- IISNode periodically fails with HTTP 500.1001 on A
- How to implement Socket.IO with ASP.Net, IISNode,
- Unable to download msnodesql-0.2.1-v0.10-x64.msi
- use node.js express on iis with iisnode
- How to start node js script in a windows azure clo
相关文章
- IISNode periodically fails with HTTP 500.1001 on A
- How to implement Socket.IO with ASP.Net, IISNode,
- Unable to download msnodesql-0.2.1-v0.10-x64.msi
- 访问权限,并要求iisnode(Permissions and request with iisno
- 访问权限,并要求iisnode(Permissions and request with iisno
- use node.js express on iis with iisnode
- 如何运行的node.js服务器的web应用程序?(How to run Node.JS server
- How to start node js script in a windows azure clo
There is no special API that allows you read web.config into your node.js application running in iisnode. Having said that:
This example shows how promoted key/value pairs from the appSettings section in web.config are available as environment variables. In your web.config file:
In your node application:
console.log(process.env.abc); //--> test