static void Main(string[] args) { var port = ConfigurationManager.AppSettings["port"] ?? "8080"; var server = new RegistrarServer("http://localhost:8080", "MobileDB.sqlite"); Thread.Sleep(Timeout.Infinite); }