Where can one download Microsoft jQuery Unobtrusive Validation without using NuGet
Asked Answered
B

3

28

I'd like to download the latest version of Microsoft jQuery Unobtrusive Validation, however I don't like using NuGet since it is not possible for me to tell it where to install the packages within my project structure.

Does Microsoft host these files somewhere that I can access them directly?

Benzol answered 12/4, 2013 at 14:38 Comment(1)
For future reference, you can use the NuGet.Downloader to only download a package (not install) then you can include packages in your project as you see fit. Additionally, most of the projects on NuGet have a "Project" link on the Nuget.org site which you cna follow (and most of those link to source repositories which you can grab the library itself without nuget).Burgoo
H
38

The files for ASP.NET MVC 5.2 aren't (yet?) on the page I mention below, but the links are valid:

[Copied from Maxime's answer to this question.]

I found a page – Microsoft Ajax Content Delivery Network - ASP.NET Ajax Library – that lists several versions of the files for this that you can download.

Here are the ones I found via searching that page for "unobtrusive":

ASP.NET MVC 5.1

http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.js http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js

ASP.NET MVC 5.0

http://ajax.aspnetcdn.com/ajax/mvc/5.0/jquery.validate.unobtrusive.js http://ajax.aspnetcdn.com/ajax/mvc/5.0/jquery.validate.unobtrusive.min.js

ASP.NET MVC 4.0

http://ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.js http://ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.min.js

ASP.NET MVC 3.0

http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.js http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.min.js http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.js http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js

...

Heman answered 6/3, 2014 at 15:41 Comment(2)
Do we have any information other then the CDN on what these files are used for? Example documentation.Tully
@Jessycormier, the jquery.validate.unobtrusive files effectively convert (MVC) server-side validation attributes into jQuery Validation state (i.e. it calls jQuery Validation functions to map MVC validation). The jquery.unobtrusive-ajax provides 'automatic' AJAX features for MVC; here's a blog post that covers it.Heman
H
11

Here are the links :

jQuery Unobtrusive for ASP.NET MVC 5.2.3

http://ajax.aspnetcdn.com/ajax/mvc/5.2.3/jquery.validate.unobtrusive.js

http://ajax.aspnetcdn.com/ajax/mvc/5.2.3/jquery.validate.unobtrusive.min.js

jQuery Unobtrusive for ASP.NET MVC 5.2.2

http://ajax.aspnetcdn.com/ajax/mvc/5.2.2/jquery.validate.unobtrusive.js

http://ajax.aspnetcdn.com/ajax/mvc/5.2.2/jquery.validate.unobtrusive.min.js

jQuery Unobtrusive for ASP.NET MVC 5.2

http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.js

http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.min.js

And by using these files, you will also need to include jquery.validate(.min).js. The latest files can be found :

jQuery Validate

http://www.asp.net/ajax/cdn#jQuery_Validation_Releases_on_the_CDN_3 or http://jqueryvalidation.org/

You can browse the Microsoft Ajax CDN for all needed librairies: http://www.asp.net/ajax/cdn

Hanford answered 3/10, 2014 at 14:39 Comment(0)
B
0

It's available/hosted by google here code.google.com

Boiardo answered 12/4, 2013 at 14:42 Comment(1)
Thanks, but this doesn't seem to have the latest version (2.0.30116.0)Benzol

© 2022 - 2024 — McMap. All rights reserved.