Questions tagged [remoting]

.NET Remoting is a Microsoft application programming interface (API) for interprocess communication released in 2002 with the 1.0 version of .NET framework.

.NET remoting enables you to build widely distributed applications easily, whether the application components are all on one computer or spread out across the entire world. You can build client applications that use objects in other processes on the same computer or on any other computer that is reachable over its network. You can also use .NET remoting to communicate with other application domains in the same process.

Note: As of version 3 of the .NET framework, remoting is considered a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Instead of remoting, it is now recommended to develop distributed applications using the Windows Communication Foundation (WCF).

1152 questions
0
votes
1 answer

.NET Remoting - How callback to all connected 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…
Maiori
  • 37
  • 9
0
votes
1 answer

InterProcess Communication Factory (Design Advice)

I have a solution which contains many separate EXEs that need to be able to send messages back and forth to one another. Right now each EXE has to know about each other up front and they use IPC to communicate but I really want a more elegant…
Neal Bailey
  • 183
  • 10
0
votes
1 answer

Using log4net over the internet securely

I'm looking into using log4net in my VB.NET WinForms applications and ASP.NET websites. I'd like to have log messages sent to a server across the internet to centralize my logs (right now I'm either logging locally for installed WinForms apps, or…
John
  • 2,653
  • 4
  • 36
  • 57
0
votes
1 answer

C# Remoting Exception : Only one usage of each socket address (protocol/network address/port) is normally permitted

I am using C# remoting for accessing a Label on the server system and the text of that label is to be changed by the click of a button on the client system. I have made a remotable object in a class library naming RemoteObject and added the…
Asad Ansari
  • 3
  • 1
  • 4
0
votes
1 answer

.Net Remoting server dll in same directory as the executable

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…
MUSTAQ
  • 111
  • 2
  • 10
0
votes
2 answers

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

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…
Tal
0
votes
3 answers

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?
Panache
  • 289
  • 2
  • 4
  • 11
0
votes
2 answers

.NET Remoting in AddIn VS2008 not working?

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); …
Christian Ruppert
  • 3,749
  • 5
  • 47
  • 72
0
votes
1 answer

Remoting references by wrapping them in a MarshalByRefObject? Will it work?

I'm trying to implement a plugin system using MAF. The objects I want to pass currently aren't serializable though, and even though I'm sure I could make them serializable I don't think it would be very performant. Two questions: 1) In order for…
Brandon Moore
  • 8,590
  • 15
  • 65
  • 120
0
votes
0 answers

Activator.GetObject returns Authentication failure

I have a pair of old (2008) C# applications, one which provides a TCP listener service, and the other which is a client connecting to that service. If I run both apps on the same machine, it works fine. But if I try connecting from the client on a…
Daniel Williams
  • 8,912
  • 15
  • 68
  • 107
0
votes
0 answers

Solutions for cross platform RPC on C#

I'm developing a game server that has four stages: AccountServer, CharServer, InterServer and ZoneServer, they are different process and probably will stay on different machines. They need to intercommunicate with each other for synchronizing data,…
greenboxal
  • 469
  • 3
  • 16
0
votes
2 answers

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…
Ying
  • 1,142
  • 2
  • 15
  • 19
0
votes
2 answers

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…
karthik
  • 4,485
  • 8
  • 30
  • 45
0
votes
3 answers

.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…
user366312
  • 16,949
  • 65
  • 235
  • 452
0
votes
2 answers

Determining if the Replied Message Contains an exception in .Net Remoting Channel IMessageSink

I am working on a .Net Remoting project. and I want to monitor the remote calls and returned values or possible exceptions. I Implemented the IMessageSink Public Function SyncProcessMessage(ByVal msg As…