CDN 2.0.0
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")); }
Requires NuGet 1.0 or higher.
Install-Package CDN -Version 2.0.0
dotnet add package CDN --version 2.0.0
<PackageReference Include="CDN" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CDN --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CDN, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CDN as a Cake Addin
#addin nuget:?package=CDN&version=2.0.0
// Install CDN as a Cake Tool
#tool nuget:?package=CDN&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
This package has no dependencies.
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.