WCF调用与常规方法调用之间的区别 [英] Difference between a WCF call and a regular method call

查看:91
本文介绍了WCF调用与常规方法调用之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WCF调用和常规方法调用之间有什么区别?

What''s the difference between a WCF call and a regular method call?

推荐答案

一个简单的解释是,在WCF上调用WCF方法主机(通常是远程服务器). Visual Studio和C#通过为您生成代理类,使您可以轻松地做到这一点.因此,您在本地代理类上调用了一个方法(它将调用WCF服务上的实际调用).
A simplistic explanation would be that the WCF method is invoked on the WCF host machine (typically a remote server). Visual Studio and C# allow you to do this easily by generating proxy classes for you. So you invoke a method on the local proxy class (and it will invoke the actual call on the WCF service).


这篇关于WCF调用与常规方法调用之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆