Releases: PeterKottas/DotNetCore.WindowsService
Releases · PeterKottas/DotNetCore.WindowsService
Extra arguments passed to service factory
Extra arguments are now passed to service factory as well:
serviceConfig.OnStart((service, extraParams) =>
{
Console.WriteLine("Service {0} started", name);
service.Start();
});
Extra arguments passed to onStart action
Service on start method now looks something like this:
serviceConfig.OnStart((service, extraParams) =>
{
Console.WriteLine("Service {0} started", name);
service.Start();
});
Configurator api improvements
I've added api for setting description and display name with configurator api.
Command line params takes precedence though therefore you can override these methods by providing parameters to the application.
Timers support
I've added timers for this release. Check updated readme for details of how to use the new base class MicroService and the timers that come with it.
Initial release
1.0.1 Added dependecies to nuspec