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

How to return DataTable from PowerShell Remoting?

I have a normal PS Function uses System.Data.SqlClient.SqlConnection, System.Data.SqlClient.SqlCommand, System.Data.SqlClient.SqlDataAdapter to query db, then return a System.Data.DataTable object. It works great so far and now I want to make it…
bychance
  • 282
  • 4
  • 14
0
votes
1 answer

Updating SVN remotely via batch file

I tried searching relevant threads, it didn't worked. So here are the detailed question / situation, where I am looking for help. I have 30 client nodes where I have setup SVN and checked out two folders (which needs to be updated) exactly when I…
haseeb
  • 190
  • 3
  • 12
0
votes
2 answers

Function/Event when multiple javascript remoting functions complete

I am working on an HTML5 mobile web app built on top of SalesForce. We make heavy use of JavaScript Remoting functions and I would like to know a way to wait for N (multiple) of these remote function calls to complete and then fire another event or…
Chris Sansone
  • 231
  • 1
  • 4
  • 14
0
votes
2 answers

Return a string from a Service already running using Remoting

im trying to use .Net Remoting to get a value of a variable that i use in a thread of an windows service. TcpChannel tcpChannel = new TcpChannel(9998); ChannelServices.RegisterChannel(tcpChannel, false); Type commonInterfaceType =…
Miguel de Sousa
  • 324
  • 2
  • 15
0
votes
3 answers

Flex remoting (mx.rpc) classes in an ActionScript only project?

Is it possible (and if so recommended) to use Flex remoting (mx.rpc) classes in an ActionScript only project? I'm creating an application with login and registration to a PHP backend using AMFphp. As an option I was wondering if it made sense to…
Bachalo
  • 6,965
  • 27
  • 95
  • 189
0
votes
0 answers

"Attempt to redirect activation..." exception

My application has an HTTP channel to run a method on a remote computer. I'm able to do that with one computer by using the line: System.Runtime.Remoting.RemotingConfiguration.RegisterWellKnownClientType( typeof(RemoteObject), uri); I also need…
0
votes
1 answer

alternative to Remoting when dealing with cross-AppDomain calls

I have a .NET class library which I need to load to a separate domain and execute some code from it. Right now I am using AppDomain.CreateInstanceFrom to create a remoting object and unwrap it using some interface. But what alternatives do I have?…
Bogdan Verbenets
  • 25,686
  • 13
  • 66
  • 119
0
votes
1 answer

Event Problem in .NET Remoting

Learning from INGO RAMMER's "Advanced .NET Remoting", I tried to use the following codes for firing events to clients: foreach (Delegate del in MessageArrived.GetInvocationList()) { try { mah = (MessageArrivedHandler) del; mah(msg); } catch…
cui chun
  • 107
  • 1
  • 10
0
votes
1 answer

.NET Remoting : Read Large File

I have a .NET Remoting application. Currently the application has functionality in which Remoting Server is required to fetch the file and send it to client as byte array. As the whole byte array is going to client at once, if the file size is big,…
Brij
  • 11,731
  • 22
  • 78
  • 116
0
votes
1 answer

TreeView filter

Well, Since I don't have the code here in this machine, I'm gonna try to be as clear as possible to explain what I have to do and hopefully get some help. Well, I'm doing a remote pagination (using remoting) and to show the files I'm using a…
Leonardo
  • 3,141
  • 3
  • 31
  • 60
0
votes
2 answers

Cross platform RPC for .NET service

I have a .NET 2.0 service that is currently accessed via .NET remoting, and I would like to add support for another RPC method that allows a wider range of platform and language support. All of the API methods take and return XML and simple types…
TWA
  • 12,756
  • 13
  • 56
  • 92
0
votes
1 answer

Generic remoting layer

I am currently working with project which uses defined layer to send messages over remoting, currently it is working so that all data access methods are wrapped inside of that layer. For eg: public class RemoteLayer: MarshalByRefObject { …
savpek
  • 1,372
  • 2
  • 14
  • 23
0
votes
6 answers

Start a java program with an object model as parameter

A server listens on a port, waiting for incoming requests from clients (the client as a matter of fact is an ejb). These requests pass a complete object model as parameter (e.g. a list of Employees, each Employee a list of Tasks etc.). Now the…
Gerard
  • 13,023
  • 14
  • 72
  • 125
0
votes
6 answers

What technology for a larger project?

I'm planing a larger project,so i'm considering some technology options. The project will use the 3 tier architecture design. The presentation layer will be ASP.NET but it could be some other technology. This doesn't matter for now. My questions…
user137348
  • 10,166
  • 18
  • 69
  • 89
0
votes
1 answer

Result handler not getting control in parsley 3 used with Flex 4 (BlazeDS + Spring)

I am using parsley 3 with Flex 4 (AIR) for one of my applications. When I make a remote call I am dispatching an event which reaches till command class and then to Java layer service. Till here all works fine. Java layer makes some call etc and…
akhil_mittal
  • 23,309
  • 7
  • 96
  • 95