Here's an article from
MSDN that talks about how to host your .NET Remote objects in an NT Service. Also be sure to check out the information on the
ServiceController class to work with NT Services programatically and the
ServiceInstaller class. Lastly,
this article talks about how to debug and deploy NT Service applications.