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
103
votes
7 answers

Remote Connections Mysql Ubuntu

For some reason, I've been unable to connect remotely to my MySQL server. I've tried everything and I'm still getting errors. root@server1:/home/administrator# mysql -u monty -p -h www.ganganadores.cl Enter password: ERROR 1045 (28000): Access…
96
votes
5 answers

Is .NET Remoting really deprecated?

Everyone is saying how .NET Remoting is being replaced by WCF, but I'm wondering just how accurate that is. I haven't seen any official word that Remoting is being deprecated, and it seems to me there are certainly scenarios where Remoting makes…
Mark
  • 11,257
  • 11
  • 61
  • 97
77
votes
5 answers

Usage of AppDomain in C#

What is the most important use of AppDomains in C#?
Nipun
  • 1,465
  • 4
  • 20
  • 28
70
votes
10 answers

Powershell remoting with ip-address as target

I successfully enabled PSRemoting on my Server 2008 R2. I'm able to do a remote-pssession from within the same network using the hostname as target. I'm failing when I try to use the IP-Address as target from any computer (within the network or from…
wullxz
  • 17,830
  • 8
  • 32
  • 51
63
votes
10 answers

AppDomain and MarshalByRefObject life time : how to avoid RemotingException?

When a MarshalByRef object is passed from an AppDomain (1) to another (2), if you wait 6 mins before calling a method on it in the second AppDomain (2) you will get a RemotingException : System.Runtime.Remoting.RemotingException: Object [...] has…
Guillaume
  • 12,824
  • 3
  • 40
  • 48
48
votes
2 answers

Is MarshalByRefObject special?

.NET has a thing called remoting where you can pass objects around between separate appdomains or even physical machines. I don't fully understand how the magic is done, hence this question. In remoting there are two base ways of passing objects…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
48
votes
9 answers

RMI vs. Web Services. What's best for Java2Java remoting?

I'm new to both Web Services and RMI and I wonder which is the better way to do remoting between different web applications, when these applications are all written in Java, that is when different programming languages don't matter (which would be…
cretzel
  • 19,864
  • 19
  • 58
  • 71
39
votes
6 answers

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…
open-collar
  • 1,404
  • 1
  • 16
  • 22
36
votes
2 answers

Get filename of current configuration file

I'd think this would be simple, but I can't find an answer. I'm using remoting and I want to store the RemotingConfiguration in the app.config. When I call RemotingConfiguration.Configure I have to supply the filename where the remoting information…
comecme
  • 6,086
  • 10
  • 39
  • 67
34
votes
2 answers

How fast or lightweight Is Protocol Buffer?

Is Protocol Buffer for .NET gonna be lightweight/faster than Remoting(the SerializationFormat.Binary)? Will there be a first class support for it in language/framework terms? i.e. is it handled transparently like with Remoting/WebServices?
Hao
  • 8,047
  • 18
  • 63
  • 92
32
votes
3 answers

C# Remoting - How to turn off CustomErrors

I getting the following error when I try to connect to my server app using remoting: A problem seems to have occured whilst connecting to the remote server: Server encountered an internal error. For more information, turn off customErrors in the…
HAdes
  • 16,713
  • 22
  • 58
  • 74
31
votes
6 answers

Java: no security manager: RMI class loader disabled

Hi I have RMI application and now I try to invoke some methods at server from my client. I have following code: public static void main(final String[] args) { try { //Setting the security manager System.setSecurityManager(new…
Xorty
  • 18,367
  • 27
  • 104
  • 155
31
votes
7 answers

Windows packet sniffer that can capture loopback traffic?

(This is a followup to my previous question about measuring .NET remoting traffic.) When I am testing our Windows service / service controller GUI combination, it is often most convenient to run both pieces on my development box. With this setup,…
McKenzieG1
  • 13,960
  • 7
  • 36
  • 42
28
votes
3 answers

PowerShell Remoting giving "Access is Denied" error

I am trying to use PowerShell Remoting to check some disk sizes from a Server in a remote domain, but the commands I am running are failing to work. The situation is like this: Source Server is in Domain A Destination Server is in Domain B There is…
HungryHippos
  • 1,473
  • 5
  • 16
  • 24
23
votes
6 answers

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…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
1
2 3
76 77