private static void Main(string[] args) { using (WCFService service = new WCFService("AppService", typeof(UserAccountService))) { service.Open(); Console.ReadLine(); } }
private static void Main(string[] args) { using (WCFService service = new WCFService("ReplicationService", typeof(ReplicationService))) { service.Open(); Console.ReadLine(); } Console.ReadLine(); }
private static void Main(string[] args) { repService = WCFClient.GetInstance().GetConnection <IReplicationContract>("ReplicationService"); Task.Run(() => { Replicate(); }); using (WCFService service = new WCFService("AuthService", typeof(UserAuthService))) { service.Open(); using (WCFService authservice = new WCFService("AppAuthService", typeof(AppAuthService))) { authservice.Open(); Console.ReadLine(); } Console.ReadLine(); } Console.ReadLine(); }