Experimenting with RSS

This is a test.

Remoting Exception : Requested service not found

I have application which hides itself after it is closed and places a icon in task tray. When you run the program it will check to see if its running and if it is then contact the application using remoting and tell it to show its self.

This seems to work fine, however, after a while it seems to loose the remoting server. The client application gets a RemotingException “Requested Service not found”. The server application is still running in the task tray.

On some googling I found that the connection dies after 5 mins. So I need to override InitializeLifetimeService or create a lease.

public override object InitializeLifetimeService()
{
return null; // return null to live forever
}