CDN NuGet Package

To generate js, css, image files link from cdnjs or any others cdn provider.
@Html.LoadCdn("jquery", "1.8.3", "jquery.min.js")
@Html.LoadCdn("meyer-reset", "2.0", "reset.css")
@Html.LoadCdn("twitter-bootstrap", "2.3.2", "img/glyphicons-halflings.png")
@Html.LoadCdn("//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.css")
@{ @Html.Raw(CDN.LoadCdn("jquery", "1.8.3", "jquery.min.js")); }.




Got any CDN Question?





Info

Version: 2.0.0
Author(s): Bhaumik Patel
Last Update: Thursday, August 8, 2013
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/CDN


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



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

3907