Exemplo n.º 1
0
        // 配置应用程序启动时需要加载的项
        static void AppRuntimeStart()
        {
            AppBootstrapper.Register <RmsDbContextInitializer>();
            AppBootstrapper.Register <DtoMapperInitializer>();
            AppBootstrapper.Register <OwinClaimInitializer>();

            AppRuntime.Initialize();
            AppRuntime.Instance.CurrentApplication.Start();
        }
Exemplo n.º 2
0
 /// <summary>
 /// 程序启动
 /// </summary>
 public static void Start()
 {
     AppRuntime.Initialize();
     AppRuntime.Instance.CurrentApplication.Start();
 }