static void Main(string[] args) { string fakedServiceName = "MicrotingOdense"; ServiceLogic serveiceLogic = new ServiceLogic(); //serveiceLogic.OverrideServiceLocation("c:\\microtingservice\\" + fakedServiceName + "\\"); serveiceLogic.Start(); Console.WriteLine("Press any key to close"); Console.ReadKey(); serveiceLogic.Stop(); }
protected override void OnStart(string[] args) { //WebApp.Start<Startup>(url: ReadAppSetting("HostServer"));//TODO: Add the case where no builds have been retrieved yet! m_ServiceLogic.Start(); }