Skip to content

Releases: PeterKottas/DotNetCore.WindowsService

Stop from service and various other improvements

14 Jul 17:01
Compare
Choose a tag to compare

Hello all, it's been a while, sorry for the delay. I've been busy starting a new company recently but I figured you waited for a few features for too long so I've scraped this together today. You can now:

  1. Stop the service from code. ServiceFactory get's an extra parameter of type IMicroServiceController. You can use this in whatever way you want. The obvious though would be to pass it to the instance of the service via the constructor or somehow else. Leaving that to your imagination ;)

  2. I've updated the readme to reflect some recent development.

  3. There's now a dot net core template available that you can use as a quick start. This is the template https://www.nuget.org/packages/PeterKottas.DotNetCore.WindowsService.Templates/1.0.1 , feel free to add new ones. Readme details the very simple way of how you can use this.

Enjoy!

Recent PRs

31 May 12:58
Compare
Choose a tag to compare

Hello all. Apologies for the long wait, holidays got in the way :) I then wanted to add some more features but turns out it makes more sense to release recent contributions and focus on that later.

This release contains:
#20
#21

Enjoy and as usual, get in touch for support/contributions.

netcoreapp1.0

15 Apr 13:24
Compare
Choose a tag to compare

This release fixes a problem of referencing this lib from netcoreapp1.0. Now we support both netcoreapp1.0 and netcoreapp1.1

Spaces in executable path

24 Mar 17:40
Compare
Choose a tag to compare

This release fixes #13
I've also moved the solution to vs2017.

Commit : e883665

SetName, SetDisplayName and SetDescription fix

16 Mar 10:51
Compare
Choose a tag to compare

Merged #11 and #10

This contains a fix for SetName, SetDisplayName and SetDescription and some readme changes.

Thanks guys @BigtimeNet @OPSnake

Delay in retry

23 Feb 11:10
Compare
Choose a tag to compare

Very simple change. As you might know, the service runner tries to reinstall if it get's an exception during installing 10 times. I've just added 500ms delay between reinstalls to make it behave more sensibly.

Running via dotnet.exe cli

09 Feb 13:32
Compare
Choose a tag to compare

This release contains 2 main features:
First is a bug fix that made it impossible to run the service via dotnet.exe cli. This is now fixed.
Second feature is retry functionality for reinstalling service. The service throws "The specified service has been marked for deletion" exception from time to time which broke the deployment. Now the runner retries in case of this exception and keeps everything from falling appart.

Keeping up with nuget package versioning which was broken

13 Jan 15:06
Compare
Choose a tag to compare

Override for setting name, displayName and description

13 Jan 13:42
Compare
Choose a tag to compare

Updated behavior of install to reinstall if necessary

04 Jan 09:04
Compare
Choose a tag to compare