在edge.js应用程序负载的WCF的app.config绑定 [英] Load WCF app.config bindings in edge.js app
本文介绍了在edge.js应用程序负载的WCF的app.config绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个WCF客户端的SOAP服务,通过SvcUtil工具产生的,我想通过 edge.js 消费一>
I have a WCF client for soap service, generated via SvcUtil that I want to consume via edge.js
是否有可能加载从一个app.config使用edge.js的服务模式结合或 将我必须构建绑定在C#?
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#?
如果我可以,应该在哪里的app.config生活?
If I can, Where should the app.config live?
谢谢
加雷斯。
推荐答案
在内部的Node.js应用程序运行的C#code。使用Edge.js,应用程序配置文件是 node.exe.config
,应位于旁边的 node.exe
文件。
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.
这篇关于在edge.js应用程序负载的WCF的app.config绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文