{"id":3464565,"name":"exfsoft.web.optimization","ecosystem":"nuget","description":"ASP.NET WEB程序的优化功能，可以优化js/css文件。而且可以对原文件名进行加密。当你发布后，访问资源将自动压缩混淆代码。再次访问将从缓存中读取。\n使用方法：Web.config中：\u003cadd namespace=\"ExfSoft.Web.Optimization\"/\u003e;\n网页中：\n@Scripts.Render(\"~/packages/jquery\")\n@Scripts.Build(\"~/Scripts/abc-{version}.js\")\n@Scripts.Build(\"~/Scripts/test1.js\", new { attr = \"value\" })\n@Styles.Build(\"~/Content/site.css\")\n\n在使用@Scripts.Render时需要\n第一步：在Global.asax代码里\nprotected void Application_Start()\n{\n    BundleConfig.RegisterBundles(BundleTable.Bundles); //增加\n}\n第二步：在App_Start里增加一个文件BundleConfig.cs\npublic class BundleConfig\n{\n    internal static void RegisterBundles(BundleCollection bundles)\n    {\n        bundles.Add(new ScriptBundle(\"~/packages/jquery\").Include(\n            \"~/Scripts/jQuery.{version}.js\"));\n    }\n}","homepage":"","licenses":null,"normalized_licenses":[],"repository_url":"","keywords_array":["ExfSoft","AspNet","optimization","js","css","zip","minify"],"namespace":null,"versions_count":8,"first_release_published_at":"1900-01-01T00:00:00.000Z","latest_release_published_at":"2013-11-19T05:51:39.440Z","latest_release_number":"1.0.3.1","last_synced_at":"2026-07-30T19:30:39.431Z","created_at":"2022-04-10T18:49:18.369Z","updated_at":"2026-07-30T19:30:39.431Z","registry_url":"https://www.nuget.org/packages/exfsoft.web.optimization/","install_command":"Install-Package exfsoft.web.optimization","documentation_url":null,"metadata":{"owners":"ExfSoft","require_license_acceptance":false,"development_dependency":false,"serviceable":false,"framework_assemblies":[],"package_types":[],"summary":"ASP.NET WEB程序的优化功能，可以优化js/css文件。而且可以对原文件名进行加密。当你发布后，访问资源将自动压缩混淆代码。再次访问将从缓存中读取。","release_notes":"","verified":false},"repo_metadata":null,"repo_metadata_updated_at":null,"dependent_packages_count":0,"downloads":16452,"downloads_period":"total","dependent_repos_count":1,"rankings":{"downloads":14.90676630772349,"dependent_repos_count":7.006436066822623,"dependent_packages_count":20.71589595706455,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":14.209699443870221},"purl":"pkg:nuget/exfsoft.web.optimization","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/nuget/exfsoft.web.optimization","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/nuget/exfsoft.web.optimization","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/nuget/exfsoft.web.optimization/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/exfsoft.web.optimization/codemeta","maintainers":[{"uuid":"exf","login":"exf","name":null,"email":null,"url":null,"packages_count":10,"html_url":"https://www.nuget.org/profiles/exf","role":null,"created_at":"2022-11-18T20:36:41.964Z","updated_at":"2022-11-18T20:36:41.964Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/maintainers/exf/packages"}]}