protected virtual IApplicationSession GetApplicationContext() { return _applicationSession ?? (_applicationSession = ApplicationSession.Current); }