[x] Throw PlatformNotSupported exception on non-windows OS
[x] Improve error handling slightly: Ensure the calling main function has a chance of knowing what went wrong (should be a simple TrySetException() on the task completion source).
moved to logging work
[x] Add logging to windows event log to test service application
Introduce event log apis later as own library or add logging handlers (same ILog abstraction as asp.net core)
[x] Move test service application to a demo / example folder
[x] Add functional tests for state handling logic.
Not sure yet if a layer of abstraction over the Interop methods make sense..
[x] Introduce a Callback on IWin32Service to report when the service unexpectedly stops.
Prio 2:
[x] Add an end-to-end-test for the example app
Will potentially conflict with open services mmc snap-in / taskmgr, existing service and has to be run as administrator.
decided to completely abstract introp functions for tests for beta2 / rc
[x] Review exported symbols that aren't required by consumers.
PlatformNotSupported
exception on non-windows OSImprove error handling slightly: Ensure the calling main function has a chance of knowing what went wrong (should be a simpleTrySetException()
on the task completion source).Add logging to windows event log to test service applicationIWin32Service
to report when the service unexpectedly stops.Prio 2:
Add an end-to-end-test for the example app