DotNet.ScriptVersion
1.0.0
This client library allow you to easy include scripts and styles and forces them to refresh at every new publication.
How to use:
Example bundles:
Use: @Html.RenderJs("/bundles/scripts") instead @Scripts.Render("/bundles/scripts")
Use: @Html.RenderCss("/Content/css") instead @Styles.Render("/Content/css")
Example single file:
Use: @Html.RenderJs("/Content/global.js") instead <script type="text/javascript" src="/Content/global.js"></script>
Use: @Html.RenderCss("/Content/style.css") instead <link rel="stylesheet" href="/Content/style.css" />
Install-Package DotNet.ScriptVersion -Version 1.0.0
dotnet add package DotNet.ScriptVersion --version 1.0.0
<PackageReference Include="DotNet.ScriptVersion" Version="1.0.0" />
paket add DotNet.ScriptVersion --version 1.0.0
#r "nuget: DotNet.ScriptVersion, 1.0.0"
Dependencies
-
- Microsoft.AspNet.Mvc (>= 5.2.3)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,025 | 12/17/2017 |