static void Main() { XmlConfigurator.Configure(); // create the engine manager _engineManager = new EngineManager(); _engineManager.DefaultInstance = _engineManager.CreateInstance(DEFAULT_INSTANCE_NAME); // create the control manager(s) var restControlManager = new RestControlManager(_engineManager); restControlManager.Open(); Console.WriteLine("Press <Enter> to stop the service."); Console.ReadLine(); _engineManager.Dispose(); }