Windows Service

The "to-do" list for Virtual Radar Server is as long as my arm, but if you want to pile more work onto it then this is for you.
Posts: 6
Joined: Thu Oct 08, 2015 12:09 pm

Re: Windows Service

Post by Staj » Thu Dec 01, 2016 10:12 am

In VirtualRadar.Headless.View.MainView.ShowView(), would you consider checking Console.KeyAvailable or Console.IsInputRedirected and using Console.In.Read() [Or Console.ReadLine()] for when standard input is redirected? Console.ReadKey is not redirected standard input friendly and this change would make it alot easier to build a service wrapper that works with Release build.
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Posts: 2249
Joined: Fri Feb 17, 2012 3:20 am

Re: Windows Service

Post by agw » Wed Dec 07, 2016 1:24 am

Feel free to submit a pull request in Github if you've got a working implementation :) I've not merged pull requests before, the source was on CodePlex up until a couple of months ago, but one of the reasons I moved to Github was to make it easier to take contributions to the source. From the looks of this tutorial it seems fairly straight-forward: ... -tutorial/

But failing that, yes, I'll add it to the list of things to do.

Post Reply