Base class for windows service
        Posted  
        
            by user187020
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user187020
        
        
        
        Published on 2009-10-09T09:14:00Z
        Indexed on 
            2010/04/14
            1:03 UTC
        
        
        Read the original article
        Hit count: 532
        
My new project has a design in which there are number windows services for performing different tasks. I have been given a task to create base class from which all of the windows service will inherit. This base class will perform common functions like creating instances of other windows services by iterating through the config file (may be like Activator.CreateInstance), do event logging on onStart, onStop etc. and may contain some more functionality.
Before I start developing stuff, wondering if there is any pattern already in place or someone has good understanding of how to implement this kind of functionality.
Any help appreciated.
© Stack Overflow or respective owner