DotNet.ScriptVersion NuGet Package

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" />.




Got any DotNet.ScriptVersion Question?





Info

Version: 1.0.0
Author(s): Tomasz Margacz
Last Update: Sunday, December 17, 2017
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/DotNet.ScriptVersion


Install
Install-Package DotNet.ScriptVersion
dotnet add package DotNet.ScriptVersion
paket add DotNet.ScriptVersion
DotNet.ScriptVersion Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2315