public static void LoadSettings() { var config = GetConfiguration(); FscApplication.LoadSettings(config); PCAT.Common.Caching.CacheManager.ScopedCache = new DictionaryCache(); }
public Startup(IConfiguration configuration) { Configuration = configuration; var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly()); XmlConfigurator.Configure(logRepository, new FileInfo("Log4net.config")); //PCAT.Common.Caching.CacheManager.ScopedCache = new HttpContextCache(); todo: connect this to a session? FscApplication.LoadSettings(configuration); }