Hosting remote object with in windows service?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I've followed several online tutorials on how to use remote objects hosted
with windows service. But none seem to work, perhaps I'm just not
understanding the exact configuration. I've tried this one but to no avail:
http://www.codeproject.com/Purgatory/winservicehost.asp

Does anyone have any resources regarding this sort of remoting
configuration?
I seem to having trouble with the Windows Service. I created a windows
service, which configures the channel\port to use via tcp as per the
tutorials. But the service doesn't run continuously, it starts and stops.
Can someone tell me why this is happening? I gather the service needs to be
running in order to access the remotable object. Also where on the server
machine do I store my remote object files? How does the service know where
they are located, do they need to be in the GAC? If anyone can supply any
bit of information regarding my dilemma I would appreciate it.

Frank



.



Relevant Pages

  • Windows service
    ... I'm using a windows service as a host for my remote objects. ... Meaning that the client application hangs! ... The only thing I can do is restart the service on the server. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Windows service
    ... I'm using singlecall remote objects, so the lifetime shouldn't be an issue ... >>I'm using a windows service as a host for my remote objects. ... >>The only thing I can do is restart the service on the server. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: .NET Remoting Security
    ... One of the most compelling reasons for using IIS to host your remote objects ... > I have a remote object hosted by Windows Service. ...
    (microsoft.public.dotnet.framework.remoting)