开发者

Using WCF Client without installing .NET Framework 3.5?

开发者 https://www.devze.com 2023-02-27 16:28 出处:网络
I have a WCF Service built with .NET Framework 3.5. I have a task to develop a WCF Client which only uses .NET Framework 2.0. The WCF Client will receive messages which is broadcasted from WCF Service

I have a WCF Service built with .NET Framework 3.5. I have a task to develop a WCF Client which only uses .NET Framework 2.0. The WCF Client will receive messages which is broadcasted from WCF Service. Can I do this?

The WCF Client runs well on a computer has .NET Framework 3.5. However on a computer which only has .NET Framework 2.0, and including WCF's DLLs in application's folder, WCF Client only send message to service ok but can't receive message from WCF Service.

WCF Client ---> WCF Service : OK

WCF Client <--- WCF Service : Not OK

Please开发者_运维知识库 help me. Thanks.


If your service exposes a basicHttpBinding endpoint, then you should be able to consume it in a .NET 2.0 application by using "Add Web Reference".

0

精彩评论

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