Questions tagged [.net-remoting]

.NET Remoting is a legacy technology of the .NET Framework for distributed applications. For development of new distributed applications it is recommened to use Windows Communication Foundation (WCF)

274 questions
6
votes
2 answers

.net remoting: Update already serialized objects

I got a MarshalByRefObject named "DefaultMeasurement", which contains a List of IPoint-objects. public class DefaultMeasurement : MarshalByRefObject, IMeasurement { private List iPoints; public this[int aIndex] { get { return…
yas4891
  • 4,774
  • 3
  • 34
  • 55
6
votes
1 answer

Select specific channel on Activator.GetObject

Suppose that you have registered two TcpChannels in .NET Remoting. Then I try to get the proxy using Activator.GetObject using a url tcp://... Is it possible to choose which channel to use? Thanks in advance.
Daniel Peñalba
  • 30,507
  • 32
  • 137
  • 219
6
votes
5 answers

Any 'quick wins' to make .NET remoting faster on a single machine?

I've been badly let-down and received an application that in certain situations is at least 100 times too slow, which I have to release to our customers very soon (a matter of weeks). Through some very simple profiling I have discovered that the…
Ian Goldby
  • 5,609
  • 1
  • 45
  • 81
6
votes
0 answers

Failed to connect to an IPC Port: The system cannot find the file specified

In my .net 2.0 application Remote object suddenly destroyed and thrown the below exception. "Failed to connect to an IPC Port: The system cannot find the file specified." I have IPC remoting server and which create a singleton object. i have…
user2080185
  • 101
  • 1
  • 6
5
votes
2 answers

Access COM objects on another box from .NET (without deprecated DCOM, remoting)

I have to integrate my .NET server app with a vendor's product. The vendor's product will be on its own server and has a supported & documented API, but alas, only as COM objects. Since DCOM and .NET remoting are both deprecated, is there a…
Joel P.
  • 869
  • 10
  • 20
5
votes
1 answer

How do I communicate an event between App Domains?

I have two app domains, one parent creating the child domain. In the child domain, there is a MarshalByRef object, being communicated with using .NET Remoting. An object running in the parent domain invokes the wrapper for the remote object as part…
Paul Turner
  • 38,949
  • 15
  • 102
  • 166
5
votes
0 answers

How-to proxy-remote a .NET IEnumerable with fixed-size batches over the network?

.NET remoting can generate transparent proxy remotes for an interface with serializable members, such as: public interface INetworkInterface { bool login(string username, string password); bool ExecuteSomething(string command); } I'd like to…
David Jeske
  • 2,306
  • 24
  • 29
5
votes
1 answer

.Net remoting error "Requested Service not found"

I am trying to build a very simple .Net remoting connection and can't seem to figure out the magic incantation. I have a server side class that is meant to be a singleton and live for the duration of the service process. public class…
astibich
  • 71
  • 1
  • 3
5
votes
1 answer

Event not firing through AppDomain

I am having a lot of trouble with AppDomains. I currently have an AppDomain containing camera controls, and am trying to have events raised from this secondary AppDomain (like a picture being taken) come back to the main program. Everything seems to…
Jess
  • 42,368
  • 6
  • 37
  • 51
5
votes
3 answers

Is it possible to use .NET Remoting + TLS 1.2 (or 1.1)?

Recently our PCI DSS scan failed, and requires that we disable TLS 1.0 (and enable TLS 1.1 or 1.2). I found the instructions on how to do so on our Windows Server 2008 R2 box, but we have a legacy application that is using .NET Remoting (its a .NET…
NightOwl888
  • 55,572
  • 24
  • 139
  • 212
5
votes
1 answer

replacing MarshalByRefObject with safer option in C#

I've tried to find a solution at stackoverflow but can't seem to find one quite like mine so here it goes. I have a computer in the lab that is connected to various devices like pan/tilt units, cameras, and light sensors and has all their drivers…
Dave B
  • 78
  • 9
5
votes
3 answers

Best way to move files of varying sizes across slow network using .NET

I'm building a .NET remoting client/server that will be transmitting thousands of files, of varying sizes (everything from a few bytes to hundreds of MB), and I'd like some feedback on the best method for achieving this. As I see it, there are a…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
5
votes
2 answers

Difference between Serializable and MarshalByRefObject

I am very confused with [Serializable] and :MarshalByRefObject attribute in .NET Remoting .However i read many article on that. If i am using [Serializable] attribute then all methods are executed entirely in callers domain, it means that different…
Saveen
  • 702
  • 2
  • 14
  • 34
5
votes
1 answer

COM Interop, RPC server is unavailable in c#

I am using a COM Interop and i am instantiating the COM class object from the interop dll So, few times the object is instantiated successfully and make remote procedure calls without any problem but sometimes it throws an exception like RPC Server…
Yogesh
  • 3,044
  • 8
  • 33
  • 60
5
votes
2 answers

Checking if an object exists after calling Activator.GetObject

I'm developing a project with passive replication where servers exchange messages among themselves. The locations of each server are well-known by every other server. So, it may happen that when a server comes up, it will check the other servers,…
Manuel Reis
  • 574
  • 8
  • 29
1
2
3
18 19