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