public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<INotificationService>("NotificationService")) { return svc.Proxy.GetHeartBeat(); } } }