|
.NET Remoting - Part II
|
Total Hit (3570) |
Remoting provides a very flexible environment for distributed applications in the .NET arena. In part one of this series of four articles (note that this is an extension of the initially planned three as indicated in article I) I introduced the background to distributed applications and the .NET rem
....Read More |
Rating
|
|
|
.NET Remoting - Part I
|
Total Hit (1256) |
Remoting provides a flexible architecture for distributed applications in .NET. This series of articles shall examine the topic of remoting.
|
Rating
|
|
|
.NET Remoting - Part III/IV
|
Total Hit (3002) |
Remoting provides a very flexible environment for distributed applications in the .NET arena. In part one I introduced the background to distributed applications and the .NET remoting architecture that aims to support distributed applications. In part two we looked at some examples of the applicatio
....Read More |
Rating
|
|
|
Remoting Overview
|
Total Hit (1309) |
The common language runtime Remoting infrastructure provides a rich set of classes that allow developers to ignore most of the complexities of deploying and managing remote objects. Even though you are dealing with applications running against different run-time environments, calling methods on remo
....Read More |
Rating
|
|
|
How Remoting Works
|
Total Hit (1604) |
The .NET Remoting framework provides developers with a modern distributed object model that allows remote method invocation between different common language runtimes across the network or between different AppDomains in the same common language runtime. Any interaction with a remote object occurs t
....Read More |
Rating
|
|
|
How Do I...Create a Remote Server?
|
Total Hit (930) |
This sample demonstrates how to create the remoting version of a Hello World server. When a client calls the HelloMethod on the HelloServer class, the server object appends the string passed from the client to "Hi There" and returns the resulting string back to the client. The following code example
....Read More |
Rating
|
|
|
How Do I...Create a Client of a Remote Server?
|
Total Hit (809) |
If you haven't already read the section How Do I Create a Remote Server?, please read this first. The client references the server assembly for metadata, so you have to compile the server before the client. The code for the client is listed below.
....Read More |
Rating
|
|
|
How Do I...Create a Remote Object as a Singleton?
|
Total Hit (876) |
This example demonstrates how to modify the Client/Server example by deploying the remote object as a singleton. The client starts two threads and calls the CountMe method on the server on two different channels: TCP and HTTP. Although this example is very simple, it does illustrate a few important
....Read More |
Rating
|
|
|
How Do I...Pass An Object to a Server By Reference?
|
Total Hit (784) |
This example demonstrates how to create an object that derives from MarshalByRefObject on the client that is then passed as a parameter to the server. The server calls a method on the remote object it receives. The first step is to create the object you need to pass.
....Read More |
Rating
|
|
|
How Do I...Pass An Object to a Server By Value?
|
Total Hit (788) |
The Pass an Object to a Server by Reference section illustrated that local objects are always passed by value when you call a remote function. To demonstrate this concept, you need change the previous example.
|
Rating
|
|
|
|
How Do I...Make an Asynchronous Call to a Remote Object?
|
Total Hit (788) |
All the examples up to this point made synchronous calls to the remote object. This strategy might not always be desirable since the remote object might have to perform a number of time-consuming tasks and it is not advisable to block the client while a call is in progress. This example demonstrates
....Read More |
Rating
|
|