How to Implement an Interface within a Windows Service

L

Larry Page

Greetings,

I'm using remoting to execute commands on a remote machine. My original
testing used basic console client and server apps containing a common
interface, which I built as a seperate DLL and referenced in each app. I've
managed to wrap the remoting code up in a windows service but I'm having
trouble figuring out how to implement the Interface. I'll admit up front
I'm having trouble gettting my arms around some of the larger DotNet
concepts and this is a logical result of that shortcoming. I've built
working remoting code, working windows services, and implemented interfaces.
I'm not sure why I can't put the three together. If the answer is too
involved, I'd appreciate a pointer towards more information.

I'm not sure if this the best place to post this, so I'm going to search for
a remoting group. (Please don't yell at me for cross posting)

Thanks in advance,

Larry
 
M

Mohamoss

hi Larrry
About where to post such posting I think the framework groups would be
the best place . but let me try to help .
Why don't you but the remoting code on a separate DLL that you invoke from
the windows service then you can call send argument to the OnCustomCommand
of your window service. listen , windows service is very good choice for a
server to reomting objects ( it is not a bad design ) but may be you need
to tell us more about your configuration ( with a diagram may be).
Hope that helps.
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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