Commit Graph

8 Commits

Author SHA1 Message Date
01436b2940 moved sln to root.
updated packages references to match this.
2018-05-30 13:39:44 +01:00
d55ee663b8 retarget for .net 4.5 (from 4.5.2) for mono support.
reference logger.
add calls to logger to help trace the service on start/stop.
2018-05-30 13:39:44 +01:00
cbfeecd608 add logger project. 2018-05-30 13:36:44 +01:00
901e9190a4 Improve code to handle disconnected card reader during runtime.
Correct thread/memory leak issue where two main threads were created/running. (bad juju!)

#90
2018-03-06 15:10:10 +00:00
d443ecb24c fixup! Fix memory leak issue, where we would create a duplicate cardmonitor for an "unaware" card reader state. #90 2018-03-06 14:47:34 +00:00
7ec0db9ebb Set service so that it will always start, not exit early if there is no card reader attached.
WIP #90
2018-03-06 14:31:31 +00:00
9eed5e827a removed args argument, was annoying.
changed debug writelines to console writelines for desktop operation.
tidied code.
moved over to use PostAsync, to prevent app hanging when trying to post to DataCenter.
changed api endpoint to windows datacenter desktop endpoint.
--end Service1 changes.
remove args from Start method
--end Program changes
added try catch to stop errors when the data center endpoint isnt up.
--end DataCenterHelper changes.
removed topshelf configuration stuff.
--end ConfigureService changes.
2017-01-26 16:44:07 +00:00
fd78367fb9 first commit of code to sit as service on machine, wait for card reader input, read the unique Id from the card, then post to the remote endpoint. 2017-01-25 22:43:41 +00:00