Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 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();
 }