// 配置应用程序启动时需要加载的项 static void AppRuntimeStart() { AppBootstrapper.Register <RmsDbContextInitializer>(); AppBootstrapper.Register <DtoMapperInitializer>(); AppBootstrapper.Register <OwinClaimInitializer>(); AppRuntime.Initialize(); AppRuntime.Instance.CurrentApplication.Start(); }
/// <summary> /// 程序启动 /// </summary> public static void Start() { AppRuntime.Initialize(); AppRuntime.Instance.CurrentApplication.Start(); }