private static void Initialize() { ICacheProvider provider = new RuntimeMemoryCacheProvider(); CacheManager.SetProvider(provider, CacheLevel.First); IOSharpInitializer initializer = new OSharpInitializer(); initializer.Initialize(); }
protected void Application_Start(object sender, EventArgs e) { AreaRegistration.RegisterAllAreas(); RoutesRegister(); DtoMappers.RegisterMappers(); IOSharpInitializer initializer = new OSharpInitializer(); initializer.Initialize(); }