Load WCF app.config bindings in edge.js app

纵饮孤独 提交于 2019-11-27 08:34:14

问题


I have a WCF client for soap service, generated via SvcUtil that I want to consume via edge.js

Is it possible to load an service model binding from an app.config using edge.js or will I have to construct the bindings in c#?

If I can, Where should the app.config live?

Thanks,

Gareth.


回答1:


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



来源:https://stackoverflow.com/questions/17170174/load-wcf-app-config-bindings-in-edge-js-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!