Erick Thompson wrote:

> My questions are related to managing the service. I want to have a fairly
> complex form to manage the service, which is started from the context menu.
> Should I put this form in a completely different assembly then the service,
> and/or call it from a different thread? What is the best practice of writing
> Windows services, and the UI that controls them?

It's probably best if the UI code is separate from the service, and you use
remoting (is that right? locally? not sure exactly) to talk to the service
and poke it (either to give it new values, or to tell it to reload its
config, or whatever).

Sorry, no examples handy.

Brad

--
Read my web log at http://www.quality.nu/dotnetguy/

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to