Where can one download Microsoft jQuery Unobtrusive Validation without using NuGet

。_饼干妹妹 提交于 2019-11-30 00:14:58

问题


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



来源:https://stackoverflow.com/questions/15974230/where-can-one-download-microsoft-jquery-unobtrusive-validation-without-using-nug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!