示例#1
0
        static ResourceManagementOptionsConfiguration()
        {
            _manifest = new ResourceManifest();

            _manifest
            .DefineScript("TheBlogTheme-bootstrap-bundle")
            .SetCdn("https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js", "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.js")
            .SetCdnIntegrity("sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM", "sha384-5nxO28basTN0oojjESwP8Qm4oVsGeeMYOqXZTlbkw/fIOmXQcJnrDX3O6HBAmdDz")
            .SetVersion("5.0.2");

            _manifest
            .DefineStyle("TheBlogTheme-bootstrap-oc")
            .SetUrl("~/TheBlogTheme/css/bootstrap-oc.min.css", "~/TheBlogTheme/css/bootstrap-oc.css")
            .SetVersion("1.0.0");

            _manifest
            .DefineScript("TheBlogTheme")
            .SetDependencies("TheBlogTheme-bootstrap-bundle")
            .SetUrl("~/TheBlogTheme/js/scripts.min.js", "~/TheBlogTheme/js/scripts.js")
            .SetVersion("6.0.0");

            _manifest
            .DefineStyle("TheBlogTheme")
            .SetUrl("~/TheBlogTheme/css/styles.min.css", "~/TheBlogTheme/css/styles.css")
            .SetVersion("6.0.0");
        }
        static ResourceManagementOptionsConfiguration()
        {
            _manifest = new ResourceManifest();

            _manifest
            .DefineScript("TheBlogTheme-bootstrap-bundle")
            .SetCdn("https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js", "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.js")
            .SetCdnIntegrity("sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p", "sha384-8fq7CZc5BnER+jVlJI2Jafpbn4A9320TKhNJfYP33nneHep7sUg/OD30x7fK09pS")
            .SetVersion("5.1.3");

            _manifest
            .DefineStyle("TheBlogTheme-bootstrap-oc")
            .SetUrl("~/TheBlogTheme/css/bootstrap-oc.min.css", "~/TheBlogTheme/css/bootstrap-oc.css")
            .SetVersion("1.0.0");

            _manifest
            .DefineScript("TheBlogTheme")
            .SetDependencies("TheBlogTheme-bootstrap-bundle")
            .SetUrl("~/TheBlogTheme/js/scripts.min.js", "~/TheBlogTheme/js/scripts.js")
            .SetVersion("6.0.7");

            _manifest
            .DefineStyle("TheBlogTheme")
            .SetUrl("~/TheBlogTheme/css/styles.min.css", "~/TheBlogTheme/css/styles.css")
            .SetVersion("6.0.7");
        }
示例#3
0
        static ResourceManagementOptionsConfiguration()
        {
            _manifest = new ResourceManifest();

            _manifest
            .DefineScript("TheBlogTheme-bootstrap-bundle")
            .SetCdn("https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js", "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.js")
            .SetCdnIntegrity("sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj", "sha384-sCrrXXsCVYsmCuGTFZDBWJBhcTU5N2csSa8rhGERa1/tCRBHcJEcxG3ivcPvx3t6")
            .SetVersion("5.1.0");

            _manifest
            .DefineStyle("TheBlogTheme-bootstrap-oc")
            .SetUrl("~/TheBlogTheme/css/bootstrap-oc.min.css", "~/TheBlogTheme/css/bootstrap-oc.css")
            .SetVersion("1.0.0");

            _manifest
            .DefineScript("TheBlogTheme")
            .SetDependencies("TheBlogTheme-bootstrap-bundle")
            .SetUrl("~/TheBlogTheme/js/scripts.min.js", "~/TheBlogTheme/js/scripts.js")
            .SetVersion("6.0.5");

            _manifest
            .DefineStyle("TheBlogTheme")
            .SetUrl("~/TheBlogTheme/css/styles.min.css", "~/TheBlogTheme/css/styles.css")
            .SetVersion("6.0.5");
        }