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
29
votes
4 answers

WCF vs. .Net Remoting

according to this article, WCF with named pipes is the best choice for IPC, and it is around 25 % faster than .Net Remoting. I have the following code that compares WCF with named pipes with .Net Remoting: [ServiceContract] internal interface…
Sergey
  • 581
  • 1
  • 5
  • 12
27
votes
1 answer

Execute Python function in Main thread from call in Dummy thread

I have a Python script that handles aynchronous callbacks from .NET Remoting. These callbacks execute in a dummy (worker) thread. From inside my callback handler, I need to call a function I've defined in my script, but I need the function to…
Jim C
  • 4,517
  • 7
  • 29
  • 33
25
votes
2 answers

.Net Remoting versus WCF

I am wondering that I can do same thing from both .net remoting and WCF, then why WCF is more preferred over .Net remoting. Where can I choose (or in which situation) .Net remoting or WCF?
Saveen
  • 702
  • 2
  • 14
  • 34
24
votes
4 answers

Can I remove empty catch with throw?

I'm hoping this is straightforward. I work on a large code-base, the overall quality is good, but occasionally you get some of these: try { // Calls a .NET remoting method. } catch { throw; } Note there is no finally logic and the catch does…
Adam Houldsworth
  • 63,413
  • 11
  • 150
  • 187
18
votes
1 answer

Requested Service not found

I have a windows service application which works using remoting. It is used to display baloon tip. However, it sometimes throws this error: Exception :Requested Service not foundInner Exception : Stack Trace : Server stack trace: at…
mathirengasamy
  • 191
  • 1
  • 6
18
votes
7 answers

What is the difference between web service and remoting?

I know web service and have some knowledge on remoting. Both concepts invoke methods on the client machine so where lies the difference ?? Through remoting we can also execute the method on the remote machine and the same functionality can be…
Ashish Ashu
  • 14,169
  • 37
  • 86
  • 117
12
votes
1 answer

Does WCF really replace .NET Remoting?

I can understand that WCF is in general better than Remoting, but the two seem quite different to me. MS make this pretty picture to show how great WCF is (or perhaps how poor the other techs are to only check one box each): (source: microsoft.com)…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
10
votes
3 answers

How can we troubleshoot intermittent "An existing connection was forcibly closed" errors caused by a Cisco CSS

We have the "standard" three tier architecture with our middle tier hosted in IIS and accessed via .net remoting. These errors occur between our web and web services servers (front tier) that are remoting to the app servers (middle tier). We'll…
JohnOpincar
  • 5,620
  • 3
  • 35
  • 38
10
votes
2 answers

.NET remoting service seemingly crashes, and stops responding to clients

I have a .NET Remoting service which works fine most of the time. If an exception or error happens, it logs the error to a file but still continues to run. However, about once every two weeks the service stops responding to clients, which causes the…
codewario
  • 19,553
  • 20
  • 90
  • 159
10
votes
2 answers

Get the AppDomain of object

Is there any way to determine in which AppDomain was an object or ObjectHandle instance created?
IS4
  • 11,945
  • 2
  • 47
  • 86
9
votes
2 answers

What causes "Tcp channel protocol violation expecting preamble" in .NET Remoting?

I have a distributed application that uses .NET Remoting on an in-house gigabit network. There is a single server, and over a dozen clients that connect to the server. The clients run multiple threads, and there can be up to 10 concurrent requests…
Jim Mischel
  • 131,090
  • 20
  • 188
  • 351
9
votes
1 answer

What happens under the cover when you return a Stream from a remote object via .NET Remoting

I'm returning Streams from a remote service (.NET Remoting). But Streams are also disposables which as we all know are ment to be disposed. I could call Dispose on the client side once I finished consuming those. However, I would like to know what…
Christoph
  • 26,519
  • 28
  • 95
  • 133
9
votes
4 answers

What are the benefits of migrating our application over to WCF as opposed to continuing to use .NET Remoting?

Alright, so I've asked several questions on StackOverflow about .NET Remoting, and there is always at least one person who just has to chime in, ".NET Remoting is deprecated, use WCF instead." I understand that it's deprecated and there is no…
codewario
  • 19,553
  • 20
  • 90
  • 159
8
votes
3 answers

.Net Remoting: Indicate which local interface to use to connect to one server

We have a server which we connect with .Net remoting. The server is on two network, the client is on two network. The client and the server have only one network in common: Using discovery, we find the IP of the server(in this case: 10.10.10.110).…
J4N
  • 19,480
  • 39
  • 187
  • 340
7
votes
1 answer

My test indicates .NET Remoting is faster than WCF 4 by a factor of 1.5

In order to tell whether my project should migrate from .net remoting to WCF, I extracted its network communication part and implemented it by WCF. I run the remoting version and wcf version and eventually find remoting is faster than wcf by a…
Gqqnbig
  • 5,845
  • 10
  • 45
  • 86
1
2 3
18 19