资 源 简 介
Provides a light, compact framework for hosting applications in either Console mode or as a Windows Service. Also includes simple command line based service installation and removal of Windows services.
Initialized by a simple bootstrap method call or using the one-line "jumpstart" method. Hosted service need only inherit from the IHostableService interface defined in the library.
Further, the framework supports "single instance mode", which prevents the hosted application from being run by multiple users or if it is running as a Windows service, prevents users from launching console instances.
Note: Requires NLog version 2.xx (although this could easily be removed).