Load WCF app.config bindings in edge.js app

2020-02-07 05:31发布

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条回答
冷血范
2楼-- · 2020-02-07 06:06

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.

查看更多
登录 后发表回答