I have an application that hosts a remote object. For the client application to access this remote object; the dll with the remote server implemented, should be in the same directory where the executable of the server application resides. When I install this application the dll resides in a different directory and I manually paste the dl...
So I have an application which has a .NET API available. Their API library communicates with their main application through .NET remoting calls. In order to use the API, the application must be up and running already.
So, I have an instance where I need to programmatically start the application and then instantiate one of the API object...
I would like to be able to run a process that exists on a Linux machine remotely from a JAVA application running on a Windows machine. What is the best way to do this? Or an online resource that might be of help to me? Thanks very much.
...
I checked the rest of the remoting questions, and this specific case did not seem to be addressed.
I have a .NET Remoting server/client set up. On the server side I have an object with a method that can throw an exception, and a client which will try to call that method.
Server:
public bool MyEquals(Guid myGuid, string a, string b)
{
...
When implementing IClientChannelSinkProvider's CreateSink method:
public IClientChannelSink CreateSink(IChannelSender channel, String url, Object remoteChannelData)
{
IClientChannelSink nextSink = null;
if (_next != null)
{
nextSink = _next.CreateSink(channel, url, remoteChannelData);
if...
I'm studying .NET Remoting and I see an example on Remoting callbacks and events in .NET 2.0, A simple example. All works good.
Now my problem is if I try to start another client, the server doesn't callback to all clients connected to it but only to the last one.
How can I send callback to all clients?
...
I'm studying the .NET Remoting and I see an example on: http://www.mctainsh.com/Articles/Csharp/RemoteCallback.aspx#A%5Fsimple%5Fexample ,all works good. Now my problem is if I try to start another client, server don't callback to all clients connected but only to last one. How can I send callback to all clients?
...
Hi,
I am using .NET remoting to communicate between the client and server. I implemented the client application and encountered an exception while registering an object on the client using "RegisterWellKnownClientType". The exception is "attempt to redirect activation of type which is already redirected". I get this exception only when ...
I am using .Net Remoting to handle intra-process communication between a master service and numerous (sometimes 50+) instances of a small client library. From a security standpoint, it is imperative that the service only accepts connections from the local machine, and noone else -- yet I cannot find any information on how one does this, ...
hi all
I am doing Projects in remoting , i easily send/receive single files from a client.but
i don't know how to send multiple files concurrently from a client.can anyone help me with this.
please give somelinks i will feed on it.
...
hi all,
i'm using remoting to communication for IPC.
basically, i have a vb.net exe app which manages the login process. this sits in the windows task bar and is the remoting server (using tcp). it is a winforms app as i need a login screen and a few other details to be served to client apps.
my client apps connect look for the server ...
I am trying to use an App.config for a Windows Service application which is hosting Remoting and is developed in .NET3.5. In that App.config, I would like to keep some values which I will be using across the solution. I am not adding Remoting relation configuration stuff to it. But while running application it is expecting Remoting relat...
I suppose similar questions were already asked, but I was unable to find any. Please feel free to point me to an existing solutions.
I'll explain my scenario. I'd like to create a server application. There are many clients (currently only a few dozens, but it should scale up to 1000+) that connect to the server (which is running on a si...
I have a .NET 2.0 remoting application that needs to communicate between machines that may be on different domains or no domain at all. It is using the TCP channel.
Everything works fine until I enable encryption, then when connecting I get the error "The server has rejected the client credentials." I have done quite a bit of searching,...
Is it possible to transmit a callback via remoting? I'd like to do something along the lines of myRemoteObject.PerformStuff( x => Console.WriteLine(x) );
If not, how would I implement a equivalent functionality?
Edit: I'm aware Remoting got superseded by WCF, but I'm still interested in this specific case. (Out of curiosity though, how...
I have .NET Remoting setup for a number of objects. It has been production for over a year and all is well with the setup. I've added a Service Reference today in a project called Entities. One of the classes with the Entities project calls this new Service Reference. The Entities project is class library.
When I created Service Refere...
In .NET Remoting, Activator.GetObject method has a state parameter. What is the purpose of this state param? Can I retrieve its value from server side?
mdsn didn't help much.
What I'd like to do:
Client side:
ChannelServices.RegisterChannel(new TcpChannel(0));
object obj = Activator.GetObject(typeof(MyObj), "tcp://serverName:1234/Remot...
I'm going through some examples for how to configure asynchronous JMS messaging with Spring, and the book I'm going through, Spring In Action, 2nd Edition (I know there's a 3rd edition out there), mentions using Lingo (http://lingo.codehaus.org/ for messaged-based RPC asynchronous messaging.
The latest version of Lingo is a couple yea...
Hi!
I'm trying to start a process on a remote machine. I'm using OpenSCManager(), CreateService(), QueryServiceStatusEx() and StartService() API-s. I'm able to successfully install my process as a serice, but when i'm trying to start it, StartService returns with errorocode 1053 ("The service didn't respond to the start or control reque...
I have a process, let's call it Process A, that is hosting a simple WCF service exposed though a basic Http binding. If I spin up that process I can then access the service from another process, Process B, with no problems.
However, my required use case isn't so simple. What I need to do is access the Service from a DLL that is hostin...