Exemplo n.º 1
0
        private static void Initialize()
        {
            ICacheProvider provider = new RuntimeMemoryCacheProvider();
            CacheManager.SetProvider(provider, CacheLevel.First);

            IOSharpInitializer initializer = new OSharpInitializer();
            initializer.Initialize();
        }
Exemplo n.º 2
0
        protected void Application_Start(object sender, EventArgs e)
        {
            AreaRegistration.RegisterAllAreas();
            RoutesRegister();
            DtoMappers.RegisterMappers();

            IOSharpInitializer initializer = new OSharpInitializer();
            initializer.Initialize();
        }