Where can one download Microsoft jQuery Unobtrusiv

2019-02-11 12:23发布

问题:

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?

回答1:

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

  • 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

[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

...



回答2:

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



回答3:

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