How to build a windows service framework

http://www.devopsonwindows.com/build-windows-service-framework/