public App() { log4net.Config.XmlConfigurator.Configure(); Log.Info("Application start."); ValidatorOptions.CascadeMode = CascadeMode.StopOnFirstFailure; DispatcherHelper.Initialize(); ModelMapper.BindModelMap(); ApplicationEnvironment.Initialize(); Log.Info("Application start completely."); }