remoting

Performance testing of Windows Forms application

We have a very old windows forms application that communicates with the server using .net remoting. Can anyone recommend a method or a tool to performance test this. ...

Sample Code for Remote Process/Application Monitoring

All I am looking for a bit of inspiration here, a client has requested me to build a simple remote process monitoring application with capability for smtp notification, when monitored processes go down or come back on-line. Can anyone point me in the direction of some sample code to get me started. I have briefly looked at .net remot...

Remoting channel calls twice to the Dispose method while disposing SingleCall objects from client side.

We have many classes published in a remoting channel as singlecalls. The application resides into a windows service. They are being used in the following scenarios: From the same application domain From another application domain using CrossAppDomain remoting channel From a remote client through the network using a tcp channel As som...

Powershell remoting ApplicationArguments not working

I'm trying to pass some arguments into a new Powershell remoting session using the PSSessionOption's ApplicationArguments property. Unfortunately, the arguments don't seem to show up. Here's the code: $client = "Bubba" $options = New-PSSessionOption -ApplicationArguments @{ Client = $client } Enter-PSSession -ComputerName "Server" -Se...

How to use .net reomting object in ironpython?

IUgRemoting.dll namespace test { public interface IUgRemoting { Session GetSession(); UFSession GetUFSession(); UI GetUI(); } } I test in C# var loader = (IUgRemoting)Activator.GetObject(typeof(IUgRemoting), "ipc://test/test.ShareClass"); var theSession = loader.GetSession(); ...

Any documents on game-developing using wpf/silverlight/remoting

Hi guys, I'm going to start developing a card game using wpf at my spare time, so that I can play it with my friends in other cities. I suppose there is a game-server, and players can play this game via their browsers(silverlight) or install a client(wpf). But I'm not familiar with the game-server programming. Maybe .net remoting is used...

Remoting(AMF) vs webservices for flash image gallery and form submission

Hi I've built a few gallery applications using AMFPHP (remoting). Now I'm faced with another project with existing database functionality already completed in .NET (.aspx). Can anyone tell me what the differences are in creating an image gallery with webservices vs remoting? And is their a recommended 3rd party webervices package? I'd p...

Permission Denied - Cross process UI using .NET Remoting and FrameworkElementAdapters

Hi folks, My question is very similar, if not a replica of this one. Irritatingly, the 'answer' doesn't give me a whole lot to work with and frankly I'm at a loose end. The problem should be fairly obvious. I want to pass WPF elements between processes for a pluggable application framework without having to use Managed AddIn Framework....

How Polling mechanism can be realized with RMI?

Hi! Following the design/architecture i created for multiuser/network turn-based game with RMI server callbacks, I have tried to create a distributed animation in which my model(Ball) is remote object and it updates the clients via callback mechanism from server. The current situation of code is : The model remote object, which is it...

ServicedComponent calling another ServicedComponent in the same Server application = remoting?

Is remoting used if a ServicedComponent is calling another ServicedComponent in the same COM+ application? ...

How do you specify the channel .NET remoting will use to perform a callback

I have a client (and server) with 2 channels set up on different protocols, lets say X:// and Y://. If I call a service (over remoting) from client (C) on a server (S) that needs to perform a callback to the client (so S->C) is there a way to specify which channel to use? In my use case I want any calls from X:// to callback over X:// ...

How to set the apartment state of the thread serving the .Net Remoting call?

The client and server of my program are both marked STAThread, and I verified in the debugger that the thread I make the call from is marked as STA. On the server side, I verified that the program itself when setting up the server is marked STA. However the actual .Net remoting call is done via a thread which is marked MTA. Is there anyw...

Execute Selenium 2 Tests Against Remote Browser

I'd like to have a configuration where my build server runs a NUnit test that opens and drives a browser on a remote machine. What would be the best way to accomplish this? It was easy to do in Selenium 1, because the java proxy server sat between your tests and the browser. In Selenium 2, your tests communicate directory with the brow...

Run sysocmgr.exe on remote server using powershell remoting

Hi, I am unable to run remote installation of windows component on a remote server using sysocmgr.exe. It is working with "psexec.exe \ServerName -i sysocmgr.exe /i:%wnidir%\inf\sysoc.inf /u:\path\to\components.txt but I want to achieve the same results using powershell remoting. I have powershell remoting with WinRM working fine, but...

Custom exception propagation in .NET Remoting fails with a TargetInvocationException saying "could not load the file or assembly"

Hi, I have a client server app which uses .NET Remoting to communicate. This is separated by an interface and the client doesn't reference the server's implementation. Now, a custom exception in a shared dll, when thrown from the server isn't caught by the client and throws a TargetInvocationException saying "Could not load the file or ...

What is the easiest solution for transparent remoting with Delphi?

I have a two tier Delphi for Win32 application with a lot of business logic implemented in a god object I want to outsource into a separate service. This separate service should be accessed by multiple clients via TCP/IP telnet-style protocol. How do I go about making the transition most simple? Precisely, I'd like to keep this simplic...

.NET Remoting client.exe needs server.exe

I have a working distributed application that has a rather big blemish. The client.exe needs the server.exe to work. The reason for this is that the client and server use a MarshalByRef Class (which exists on both sides in the form of a .DLL) which contains a reference to the server. Is there any way I can rearrange things so that I do...

How to remove .NET Remoting Fatal problem :Exception

Hello, I am implementing Publisher/Subscriber pattern via .NET Remoting. My publisher is waiting for incoming requests on its url. At its side remoting environment configures properly and no problem at all. At subscriber's end when I make some subscriptions from its side to publisher, it hangs out. I mean program hangs and console sho...

Remoting: fill the collection on remote side

I have simple remoting API that has method similar to this: bool FillMyList(List<string> ListToFill) { ListToFill.Add("something"); ListToFill.Add("more stuff"); } But, when I call it through a proxy object, upon return, ListToFill stays as it was (in my case, empty). What now? I must point out that rest of my methods are ca...

1 Dll, in our libraries... If called from webservice behaves as expected, if called from winform, uses remoting... HUH?

That's Pretty much it. I took a set of Active Directory classes we'd had in our webservices for years, and seperated & migrated it into our Libraries so I could also use them in a winform app I'm whipping up. Migration worked fine. Running it via the original webservice, works normally, I can debug into the Classes just fine. Same exa...