Testing Windows Services
To help a fellow blogger and hopefully other people who read that thread, I posted 4 simple 1 liner bat files to Install, Uninstall, Start & Stop Windows Services that you have created. Just a handy reference! :)
Not, simply creating a Windows Service in .NET, then running those scripts won't work. You must also add a System.Configuration.Install.Installer to your project.
Along these lines though, I will make one suggestion. When creating a Windows Service, VS.NET really doesn't provide any nice way to test the service, so I would suggest just keeping your code for your service in a Class or a WindowsForm to do all of your testing. Once you've got it working how you'd like, then turn it into a WindowsService and install it for final testing.