从哪里开始在C#.net中进行远程应用程序 [英] Where to start to do a Remoting application in C#.net

查看:83
本文介绍了从哪里开始在C#.net中进行远程应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是C#.net的新手.我期待构建远程处理应用程序.我对远程处理概念非常陌生.请帮助我从哪里开始.

问候
Chaithu

Hi,

I am new to C#.net.I am looking forward to build a remoting application.I am very new to the remoting Concepts.Please help me where to start .

regards
Chaithu

推荐答案

如果使用的是.Net 4.0,则应考虑使用WCF而不是远程处理.
在msdn网站上了解有关WCF的更多信息.
If you are using .Net 4.0, you should look at using WCF instead of remoting.
Read more about WCF on the msdn website.


我建​​议您不要从经典"远程处理开始,而应该从简单的自托管WCF案例开始.

在最典型和最简单的情况下,WCF易于启动和投入使用.经典远程处理需要付出更多的努力,尤其是当您首先解决远程对象激活的问题时.

如果您准备开始使用WCF,请尝试使用以下CodeProject文章遵循该方法:
快速而肮脏的WCF服务和客户端(使用WCF和Winforms) [简单的WCF托管和使用 [探索Windows Communication Foundation-第2部分 [探索WCF 3.5工具-WcfSvcHost和WcfTestClient [ http://msdn.microsoft.com/en-us/library/ms731082.aspx [ ^ ],
http://msdn.microsoft.com/en-us/netframework/dd939784 [ ^ ].

—SA
I would advice you to start not from "classical" remoting, but from simple cases of self-hosted WCF.

WCF is easier to start and put to work in most typical and simple cases. Classical remoting needs more effort, especially at first, when you sort out the problems of remote object activation.

If you''re ready to start with WCF, try to follow the approach using these CodeProject articles:
A Quick and Dirty WCF Service and Client (Using WCF and Winforms)[^],
Simple WCF Hosting and Consuming[^],
Exploring Windows Communication Foundation - Part 2[^] (where is part I, will you find it?),
Exploring WCF 3.5 Tools - WcfSvcHost and WcfTestClient[^].

See also: http://msdn.microsoft.com/en-us/library/ms731082.aspx[^],
http://msdn.microsoft.com/en-us/netframework/dd939784[^].

—SA


这篇关于从哪里开始在C#.net中进行远程应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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