Are there any C# "service" libraries
<p>Once again I find myself creating an IService interface, with start, stop, status etc.  Then building a manager to start the services, having service dependencies, a class to ensure that there are no circular dependencies etc.
All fairly standard stuff, done it a few times now in different jobs.</p>

<p>Surely there must be a library out on nuget?  Or possibly a way using MEF?  But I can't find anything, google being saturated with results on Windows Services, WCF services etc.</p>

<p>Does anyone know of such a thing, or if a "service" isn't the correct name, what I can search for?</p>

<p>Just to clarify with an example:</p>

<p>I need a service to authenticate my user, a service to provide application data and a service to provide static data.  The application data service depends on the authentication service as the user has to be authenticated before getting any data.
So I'm after a library where I can create these services implementing an IService interface, specifying the dependency.  Then call Start on a ServiceManager and this will start the authentication service and the static data service, and once the user is authenticated and the authentication service is therefore started, it will start the application data service.
I've written this a few times now in various jobs (so can't reuse the code), so is there a library out there that provides the generic functionality I need.</p>
