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
7
votes
1 answer

Switching off the .net JIT compiler optimisations

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.…
Preet Sangha
  • 64,563
  • 18
  • 145
  • 216
7
votes
6 answers

Flex - Remoting vs HTTPService - when to use what?

I have been using Flex for a while and have not used remoting as of yet. Currently my apps use a webservice that generates xml that I use for databinding. What would be the benefit to using remoting over an xml webservice in this use case? Is there…
mmattax
  • 27,172
  • 41
  • 116
  • 149
7
votes
1 answer

"Dead Letters encountered" error while running AKKA remote actors

I am trying to run remote actors using AKKA, on my localhost, but each time I get this error. It says dead letters encountered. I searched on internet and found out that this error comes when actors receive a message after its thread is stopped. So…
java_doctor_101
  • 3,287
  • 4
  • 46
  • 78
7
votes
3 answers

How to start remotely process in PowerShell

I have a problem, I have a script which: Connect with PSSession (I use PSSession with admin account) Stop 2 process Do change on them files Start the 2 process (Problem here) I want to start process on server, so i'm connect with PSSession (No…
Servuc
  • 328
  • 1
  • 4
  • 16
7
votes
2 answers

Shutdown another System using shutdown.exe in C#?

I use the following code for shutdown the own System.It was working Fine.And I need to shut down another System, which is connected in LAN Connection. I'm unable to do it with this code. How to Shutdown another System using shutdown.exe? My OS is…
V.V
  • 875
  • 3
  • 25
  • 54
7
votes
7 answers

Flex - best strategy for keeping client data in synch with backend database?

In an Adobe flex applicaiton using BlazeDS AMF remoting, what is the best stategy for keeping the local data fresh and in synch with the backend database? In a typical web application, web pages refresh the view each time they are loaded, so the…
Steve
7
votes
6 answers

What remoting approach for Java application would you recommend?

I wonder how is the best way to integrate Java modules developed as separate J(2)EE applications. Each of those modules exposes Java interfaces. The POJO entities (Hibernate) are being used along with those Java interfaces, there is no DTO objects.…
Tomasz Błachowicz
  • 5,731
  • 9
  • 41
  • 47
7
votes
1 answer

Two unique named pipes conflicting and InvalidCredentialException

There are two problems I ran into last night which I have resolved now, but I am not 100% sure as to why what I have done has resolved them and was hoping maybe someone could offer some insight as I've been turning over a lot of rocks and have had…
user1243584
6
votes
6 answers

How to protect access="remote" functions in CFCs from snoopers?

One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps. One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc. All…
Chris Brandt
  • 948
  • 3
  • 11
  • 22
6
votes
2 answers

Mixing MarshalByRefObject and Serializable

Various sources explain that When an object derives form MarshalByRefObject, an object reference will be passed from one application domain to another rather than the object itself. When an object is marked with [Serializable], the object…
Qwertie
  • 16,354
  • 20
  • 105
  • 148
6
votes
3 answers

Implementation of C# XMLRPC.NET client and server over HTTPS

It's pretty hard to find information about XMLRPC.net library used with https. The only documentation where an "https" URL can be set is here : http://xml-rpc.net/faq/xmlrpcnetfaq-2-5-0.html#2.3 but yet it does not explain exactly how can one setup…
OlivierB
  • 455
  • 2
  • 6
  • 18
6
votes
1 answer

Optimized way to do RPC in .Net

I'm considering to move parts of a .Net application to other computers. The obvious way to do this is simply using WCF with a binary tcp protocol, for example as describer in " Easiest way to get fast RPC with .NET? ". I'll be making a vast amount…
Tedd Hansen
  • 12,074
  • 14
  • 61
  • 97
6
votes
2 answers

Remoting lifetime for static objects in app domain with client activated objects

I'm curious about shared/static object lifetime in an AppDomain where the RemotingCalls are the cause of creating the shared objects. We're using a Remoting setup that uses client activated objects of wich we only use the functions to reach into the…
CodingBarfield
  • 3,392
  • 2
  • 27
  • 54
6
votes
2 answers

Wrap .NET Remoting async method in TPL Task

We have a legacy .NET Remoting-based app. Our client client libary currently supports only synchronous operations. I would like to add asynchronous operations with TPL-based async Task<> methods. As proof of concept, I have set up a basic remoting…
Francois Botha
  • 4,520
  • 1
  • 34
  • 46
6
votes
1 answer

Wrapping __TransparentProxy of RemotingProxy in another Proxy throws RemotingException

Goal I have a couple of interfaces and some dlls that provide implementations for these interfaces. I want to load the implementation into a new AppDomain (so I can unload the dll later) and instatiate the implementation in the new AppDomain and…
prydain
  • 365
  • 3
  • 11