public void Run() { ClassLogger.Configure(); DeclareWorkflow(); CreateHost(); InstantiateWorkflow(); DriveWorkflow(); Report(); }
protected void Application_Start() { //Configure logging XmlConfigurator.Configure(); ClassLogger.Configure(); AreaRegistration.RegisterAllAreas(); PortableAreaRegistration.RegisterEmbeddedViewEngine(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); new TagCategoryManager().CreateDefaultCategories(); RoleBusinessLogic.CreateRolesAndNavigationInfo(); TenantHelper.TenantCreated += TenantHelperOnTenantCreated; ContextRoleRegister.RegisteredRoles.Add("ItemRegistration", RoleFlags.TenantOwner); ContextRoleRegister.RegisteredRoles.Add("InviteUser", RoleFlags.OwnerAndTenantOwners); }