public static void SetUpFacade(ISessionService sessionService) { // ensure valid link to server in place - create a new user key! var request = new GetIDRequest { UserKey = WindowsContext.UserKey }; var response = sessionService.GetID(request); if (!response.Success) return; WindowsContext.UserKey = response.UserKey; }