remoting

.Net Remoting Return values Discriminating between calls from different threads

I have inherited a middle tier system with some multi-Threading issues. Two different threads, running in the same method of the same instance of a class, are making the same calls to a .Net Remoting server... Does the proxy on the client side know how to route the return values from the remoting server to the correct thread? Are sep...

.Net Remoting to WCF Challenge!

I am trying to migrate my .net remoting code to wcf but I'm finding it difficult. Can someone help me migrate this simple Remoting based program below to use WCF? The program implements a simple publisher/subscriber pattern where we have a single TemperatureProviderProgram that publishers to many TemperatureSubcriberPrograms that subcr...

Switching off the .net JIT compiler optimisations

Hi there. I have a curly one here. When we remote a method (that is using generics) the remoting sink cannot seem to discover our method from the other identical named ones. Debugging with .net source code attached I've got it to where there is a MethodInfo. MakeGenericMethod call. However I cannot look at any of the surrounding data as...

Cancelling asynchronous remoting call

Hello, I have a client-server architecture where client communicates with the server using .NET Remoting. Server handles all business logic and database interaction. I need to add an operation which may take a while to execute and the dataset it returns might be quite large. I'm thinking of employing asynchronous call for that. Now the ...

Why does my .NET Remoting target machine actively refuse the connection?

I am trying to establish a basic .NET Remoting communication between 2x 64bit windows machines. If Machine1 is acting as client and Machine2 as server, then everything works fine. The other way around the following exception occurs: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refus...

Remoting from a Swing app to GWT server

To put it simple, I've written a JSE Swing app that needs to talk to a GWT server I've written earlier. I absolutely love the way GWT does remoting between it's javascript and server sides and wish I could utilize this mechanism. Has anyone managed to use GWT-RPC this way? Should I just go Restlet instead? ...

How do you do Cygwin passwordless rlogin or rsh to Solaris 5.7

I am trying to login in to my works Solaris box from cygwin on windows. SSH is not supported. I have tried different combination in the .rhosts with no luck I do not have root privileges. ...

How to test a remoting connection (check state)

I have an object created in a host application and can accecss it remotely using remoting, is there any way I can test the connection to ensure it is still "alive"? Maybe an event I can use that fires if the remoting connection gets disconnected, or some property that can tell me the state of the remoting connection. Is there something ...

Returning an interface from a WCF service

I have some .NET remoting code where a factory method, implemented in some server side class, returns interfaces to concrete objects, also executing on the very same server. .NET remoting automagically creates proxies and allows me to pass the interfaces across to the client, which can then call them directly. Example interfaces: publi...

Securing Remote Access over JMXMP with Spring Security

I am using Spring 2.5 and Java 1.6.0_7. I remote several JMX MBeans and have multiple clients invoking those MBeans remotely using JMXMP. I rely on JMX Notification listeners to push events out to multiple clients. I am trying to figure out how to secure remote access to those MBeans using Spring Security. I need to specify multiple le...

does silverlight support remoting?

Does silverlight support the remoting functionality of the .net framework? ...

.net remoting stops every 100 seconds

We have very strange problem, one of our applications is continually querying server by using .net remoting, and every 100 seconds the application stops querying for a short duration and then resumes the operation. The problem is on a client and not on the server because applications actually queries several servers in the same time and ...

Integrated Security

is there a managed code (without adding COM component or wrapped called to C++ routines) way to add integrated security to a C# Managed code assembly? i.e. I want to write a client-server system where the server uses Remoting instead of IIS, but I want the client to automatically pass it's credentials to the server just like a browser...

ASP.NET Stress Testing

Is there a way to test an application where you simulate a hundred different clients connecting to a IIS server and asking the same data? At the customer where our project is running they have 400 computers and they often do stress tests with all computers. I on the other hand have only got my laptop... (and a development server). (In m...

How best to communicate between AppDomains?

I have an application that needs to send a moderately high volume of messages between a number of AppDomains. I know that I could implement this using remoting, but I have also noticed that there are cross-domain delegates. Has anyone looked at this kind of problem? ...

MarshalByRefObject and Serialization

When I create a class, say ClassA, that inherits from MarshalByRefObject and then use the RemotingServices.Marshal method to create an ObjRef object does it serialize the all the private fields of ClassA? Thanks ...

Powershell remoting with V1

Do you know of any good remoting solutions using powershell V1 (I know the V2 stuff is awesome, but my organization doesn't like using pre-release software). I don't need anything spectactular, just a way to kick off powershell script on another box and get the results back when they're done. I'm considering using sysinternals PSEXEC a...

Remoting performance degrades over the time

Hello, I'm working on a client-server solution that uses .NET 2.0 Remoting (server activation, binary formatting over TCP channel, Vista Ultimate) for communication purposes. Currently I'm profiling the application and run everything on the same machine. I noticed that if I start the application, everything works just fine for several m...

.NET2.0 Remoting - Why Is Registering A ClientChannel Necessary?

I have a client/server application that must use .NET Remoting (not WCF because the project is using Framework 2). The following code (copied heavily from MSDN) works: _clientChannel = new IpcClientChannel(); ChannelServices.RegisterChannel(_clientChannel, false); IMyObject myObject= (I...

Testdriven Remoting in C# - Do I need a separate server AppDomain?

I wanted to start with the use of Remoting under C# in a testdriven way, but I got stuck. One thing I found on the topic is this article by Marc Clifton, but he seems to have the server running by starting it manually from the console. I try to have the server started (i.e. register the serving class) in the test fixture. I probably al...