private ConfigurationModel InitSiteConfiguration() { var store = new StoreService().GetStore(); var currentThemeId = store.ActiveThemeId; string assetPath = UriUtility.JoinUri( "//bizweb.dktcdn.net/", MediaUtility.GenerateS3FolderFromStoreId(1), "themes", currentThemeId.ToString(), "assets" ); string filesPath = UriUtility.JoinUri( "//bizweb.dktcdn.net/", MediaUtility.GenerateS3FolderFromStoreId(1), "files" ); string checkoutPath = UriUtility.JoinUri( "//bizweb.dktcdn.net/", MediaUtility.GenerateS3FolderFromStoreId(1), "checkout_stylesheet", currentThemeId.ToString() ); string version = string.Empty; var siteConfiguration = new ConfigurationModel { BaseDomain = "http://bizwebstore.dev/", MediaDomain = "//bizweb.dktcdn.net/", ThumbDomain = "//bizweb.dktcdn.net/thumb/", AssetsPath = assetPath, FilesPath = filesPath, CheckoutPath = checkoutPath, AssetsVersion = version, GlobalVersion = ConfigurationManager.AppSettings["GlobalVersion"] != null ? ConfigurationManager.AppSettings["GlobalVersion"] : "16052016" }; return(siteConfiguration); }