.NET Remoting Speed and VPNs

Question :

.NET Remoting Speed and VPNs,

Answer :

I’m working on a project which uses .NET Remoting for communication between the client application and an object server. For development, the client, server, and MSSQL database are all running on my local development machine.

When I’m working at the office, the responsiveness is just fine.

However, when I work from home the speed is significantly slower. If I disconnect from the VPN, it speeds up (I believe, but maybe that’s just wishful thinking). If I turn off my wireless connection completely it immediately speeds up to full throttle.

Read More  Is there anything wrong with this query?

My assumption is that the remoting traffic is being routed through some point that is slowing everything down, albeit my home router and/or the VPN.

Does anyone have any ideas of how to force the remoting traffic to remain completely localized?


Perhaps during development you could use an IPC remoting channel which uses named pipes instead of TCP. If your remoting channels are set up via a config file then you won’t even have to recompile.

I found the link below was useful when setting up an IPC channel.

Read More  Why doesn’t inheritance work the way I think it should work?

That’s the answer .NET Remoting Speed and VPNs, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you