开发者

asp.net mvc should calls wcf

开发者 https://www.devze.com 2022-12-23 04:24 出处:网络
Greetings, I have a wcf service that exposes functionality to my wpf application. This works fine. I would like to create a web version and I am wondering how can I connect from my开发者_运维百科 as

Greetings, I have a wcf service that exposes functionality to my wpf application. This works fine. I would like to create a web version and I am wondering how can I connect from my开发者_运维百科 asp.net mvc application to my wcf service? Should I use the same approach as for WPF application (which uses Proxy to connect to the WCF Service. Is there any nice article how can i do this?


You can just add a Service Reference to your MVC application and use the proxy just as you would in your WPF app.

0

精彩评论

暂无评论...
验证码 换一张
取 消