protected override void OnBeforeSave() { if (string.IsNullOrWhiteSpace(ConfigBaseUrl)) throw new ApplicationException("ConfigBaseUrl config option is missing"); }