remoting

Local access to remoted object

I have a remoting server that I am successfully using as such. That assembly references a proxy assembly that defines all of the interfaces that will be passed around when a client makes use of the remoting server. The server itself uses a plugin architecture. I don't think having the plugins access the server object by way of remotin...

Recommendations for fully or partially porting my Flex client to C#/SQL Server?

I am a ways into developing an client that communicates with a pre-existing server using the Actionscript Message Format (AMF). I love designing my GUI in Flex, as I've found refactoring my GUI to be very straightforward since everything is nested well in the mxml file. However, there is alot to be desired in the API's that are availab...

How can I create a proxy to a remote object not derived from MarshalByRefObject?

In AppDomain A I have an object o of type T. T is neither Serializable nor derived from MarshalByRefObject. Type T is provided by a plugin host over which I have no control. I would like to create an AppDomain B and pass a proxy to o to a method in B, but am stumped: How to create the proxy? The method in B should be able to invoke met...

.Net Remoting Events - How to prevent Multiple registrations

I have written a winforms client app that uses remoting to monitor and control a .Net Windows Service. The Service fires events for which the client registers to a handler, using this (simplified) code... Server creates Server-side instance of Message Manager and registers it with Remoting using this code: // MessageManager is si...

How can I subscribe to an event across AppDomains (object.Event += handler;)

I'm having the problem described in this message board post. I have an object that is hosted in its own AppDomain. public class MyObject : MarshalByRefObject { public event EventHandler TheEvent; ... ... } I'd like to add a handler to that event. The handler will run in a different AppDomain. My understanding is this ...

MTOM/XOP implementation for .net remoting

My customer asked me to implement MTOM/XOP for .NET Remoting via HTTP/SOAP for remote stream access (for example, file uploading). WCF web services in not an option. So, what I have to do is modify our custom SoapClientFormatterSink and SoapServerFormatterSink to do the job, i.e. SerializeMessage method, which takes IMessage and if one...

Remoting SWT GUI

I'm trying to remote an SWT GUI (Eclipse RCP) from a Linux or Windows box onto a Windows Mobile handheld device. So far I've tried: RDP: Windows Terminal Services. xrdp server on the Linux box. This works, but we have issues with the clipboard and pasting punctuation (i.e. on the PDA, which has a barcode scanner that copies the barcode...

Remoting with AIR

Hi I am trying to set up remoting in an AIR app. Does anyone know if I need to define a context-root in the compiler settings. Can't seem to find any articles about setting it up, only in flex. Thanks ...

.NET Remoting HelloWorld

This is my Hello World Remoting App. using System; using System.Collections.Generic; using System.Text; namespace Remoting__HelloWorld.UI.Client { public interface MyInterface { int FunctionOne(string str); } } using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime...

Filetransfer in remoting

I'm new to .net remoting,i done few sample applications on .net remoting.i can easily get a file from the server through the remote object but i dont know how to send a file to the server side ,if it is possible through a interface means how to design it.give me some suggestions and links ,it will be useful for me to drive in the right d...

Is there something like a OnClientConnected event for .NET remoting?

I'm using something like this on my server: TcpServerChannel channel = new TcpServerChannel(settings.RemotingPort); ChannelServices.RegisterChannel(channel, true); RemotingServices.Marshal(myRemoteObject, "myRemoteObject"); I would like to subscribe to some kind of event so that whenever a remote client connects to myRemoteObject, I c...

What is WebORB for PHP?

What is the WebORB for PHP runtime environment? It supposedly connects Flex, Flash, AJAX and Silverlight clients with PHP classes and data from relational databases. It seems to support AMF (Flash<>PHP data exchange), is the entire product built around this? Does it use sockets? or is it just an AMF service? Does it run as a backgroun...

Send a class, not just a class interface, between servers?

I am creating a grid application which requires me to send software packets that wrap a class out to participating nodes within my grid. The first idea that I came up with was to have the master nodes contact each node (running a Windows service) and send an assembly containing a class which adheres to a common interface along with a ....

Remote Shared Objects: Which is better, one array SO or multiple object SOs?

Hello everyone, I'm building a multiplayer game using Flash/Flex for the client and FluorineFX (just like FCS/FMS except it is written in .NET) on the server-side. My questions are regarding the use and performance of shared objects over RTMP protocol. Essentially, I'm planning on having quite a few objects on screen simultaneously, ea...

Using Singleton vs Single Call in .NET Remoting?

Up until this point all the .NET remoting code I have written or worked with has been exposed as SingleCall. I ran across a .NET remoting component hosted in a Windows service that is exposed as a Singleton. This object has the potential to be called by more than one client at the same time, and it has no locks or other provisions to p...

.NET Remoting in AddIn VS2008 not working?

Hi, I just started with AddIn development and have a small problem. The following code is working nice inside a console application: Trace.WriteLine("Started"); var channel = new TcpChannel(8083); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(Re...

why is it said that remoting is faster than web services? Why XMLserializer is slow?

Is remoting faster than web service or vice versa. Also on what parameters can we differentiate the performance. web service uses XMLserializer while Remoting uses binary is xmlserialization a slow process and if yes than why? ...

Remoting or WCF for new development (between two .NET apps on the same machine) using interfaces?

We want to have two .NET apps running on the same machine communicate with each other. We want three projects. A library containing interfaces. A "server" app that implements the interfaces and "client" app that communicates with the server using the interfaces. We do not want the client to reference the server. We have a test app th...

Secure two-way communication between client and server including large file attachments

In .net, I need to securely transfer files 4mb in size from client machines running my software to a central server, process, and securely send back results consisting of a pdf file, a jpg image, and xml data. What .net technology would be most appropriate for this? (web service. remoting, etc) ...

is it possible to debug 2 clients of a remote (remoting) server on the same pc?

hi i want to test my application which involves one server and a few clients. it is necessary that 2 clients at least will be connected to the server in order to test it's functionality. i succeeded to run one client and the server on the same machine and debug it. is it possible to run 2 clients at the same times? the problem is that th...