Http://www.microsoft.com/china/msdn/archives/library/dnadvnet/html/vbnet05272003.asp
Microsoft Corporation
Rockford Lhotka
MAGENIC TECHNOLOGIES
May 11, 2003
Summary: Rocky Lhotka shows you basic applications in Remoting in client / servers, and peer-to-peer communications, and methods of communicating between client workstations with ServicComponents running in Server COM using Remoting.
Download VBAppliedRemoting.exe sample files (English).
About 18 months ago, I wrote a comparison of Web services and transking, Remoting and XML Web Services IN Visual Basic .NET [English]). Since then, more and more people began to develop .NET Framework applications, thus triggered the role of Remoting and how to use it continues. There are also questions about how to use COM and how to create a client application that transfers ServicesPonent (Components in COM ).
Although there are many discussion in Remoting on the web, there are a lot of books, but I think there is still necessary to discuss this topic in this column. This article we will exercise Remoting Basic Applications in client / servers and peer communications, and introduces ways to communicate between client workstations with ServicedComponents running in Server COM .
In many ways, Remoting is a reasonable receipt of DCOM (distributed COM). It provides a set of features that are roughly similar to DCOM, and also provides a function of similar Web services. Remoting has a large extent that the strengths of both.
Using Remoting, you can create a variety of network-based applications (typical Visual Studio® .NET application types are displayed in parentheses):
Type Client Mode Server Mode Client / Server Smart, State or Stateless (Windows Forms or Web Forms) No status, Service (ASP.NET) Automation Intelligence, State or State (Windows Forms or Web Forms) ActiveX EXE (Windows Form) is based on server intelligence, minimum status (Windows Forms or Web Forms), maintains data and provides services (Windows services) peers, state (Windows Form) Intelligence, state (Windows Form)