WCF代理和WCF服务对象之间有什么区别?

编程入门 行业动态 更新时间:2024-10-12 22:25:41
本文介绍了WCF代理和WCF服务对象之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

详细来说,WCF代理对象与普通类对象和服务对象(实际WCF服务对象)之间有什么区别?

What is difference between the WCF proxy object and the normal class object and service object (actual WCF service object) in detail ?

我们可以在WCF代理上执行的许多功能可以在类对象上执行.

As many of the fucnctionality which we can performed on class object we could not performed on WCF proxy.

推荐答案

这是一个很大的主题,但我们可以简单地看一下.代理,服务本质上是类,但它们是为特定目的而构建的.例如当您说WCF服务时,您将拥有诸如数据合同,服务合同,故障合同之类的结构 反正.代理类抽象了服务的通信模型,并消除了对客户开发人员的服务需求意识.当您说执行的功能.............

Its a huge subject but we can look at it briefly. Proxy, service are essentially classes but they are framed for specific purposes. e.g. when you say WCF service then you have constructs like data contract, service contracts, fault contracts which are classes any way. Proxy classes abstract the communication model of service and eliminates the need awareness of service to client developer.What you are referring to when you say that the "functionality performed.............

还请注意,类是对象的蓝图,除非您实例化该类,否则对象不会出现在图片中,因此不能同义使用它们.

Also please note that a class is blueprint of object and unless you instantiate class, object doesn't come into the picture so they can't be used synonymously.

希望这会有所帮助.

更多推荐

WCF代理和WCF服务对象之间有什么区别?

本文发布于:2023-11-07 10:33:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566221.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有什么区别   对象   WCF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!