tagged [remoting]

AppDomain and MarshalByRefObject life time : how to avoid RemotingException?

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...

Powershell remoting with ip-address as target

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 f...

Get external IP address over remoting in C#

Get external IP address over remoting in C# I need to find out the IP of the computer a C# application is running on. In the application I have a connection (via .NET remoting) to a server. Is there a...

2 Dec at 23:43

Mixing secure & unsecure channels

Mixing secure & unsecure channels I am unable to use an unsecure channel once a secure channel has already been registered. The code below works only if on the client side, the unsecured channel is re...

5 May at 05:9

RemotingException thrown when invoking remote object from NUnit

RemotingException thrown when invoking remote object from NUnit I discovered a strange problem while playing with .Net Remoting and Mono. When I invoke a remote object in code executed by NUnit this e...

1 Jun at 14:30

WCF vs. .Net Remoting

WCF vs. .Net Remoting according to [this article](http://msdn.microsoft.com/en-us/library/bb310550.aspx), WCF with named pipes is the best choice for IPC, and it is around 25 % faster than .Net Remoti...

10 Dec at 09:27

Inter-AppDomain communication problem

Inter-AppDomain communication problem I've been developing a Windows Service in C#. A set of configuration file paths is supplied to this service when it starts. For each of these files the service w...

Cross-AppDomain call corrupts the runtime

Cross-AppDomain call corrupts the runtime This was originally a much more lengthy question, but now I have constructed a smaller usable example code, so the original text is no longer relevant. I have...

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

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 p...

10 Oct at 15:38