Windows service singleton interface to a public sealed class

O

ogled

Hi

I have a scheduler functionality that is implemented in public sealed
class with static methods, and now i'd like to utilize it in a window
service and have an exe file to access the singleton from outside as
well. Is this possible to achieve?


I've looked inot remoting but I haven't been able to send the object
ref to the client to access.... the different appdomain and all that.



/Erik
 
G

Guest

I'm not quite sure what you mean by your last paragragh. With .Net remoting
objects can be passed by value (by adding the [Serializable] attribute to
your class), or by ref (inherit from MarshalByRefObject).

Your server side objects can be server (SingleCall or Singleton - which it
sounds like you want) or client activated.

There is a microsoft.public.dotnet.framework.remoting group, if you need any
advice specific to remoting.

HTH
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top