JQuery Vsdoc Support

JQuery has been around for a while now and is one of the most popular Javascript libraries availible to use when building Dyanamic HTML sites or sites with AJAX functionality and as of 2008 JQuery was alos thrust upon ASP.NET developers as Microsofts prefered javascript library (JQuery & Microsoft via ScottGu’s Blog).

Now personally I was never the biggest fan of Javascript in it’s raw form and when getting in to JQuery found client side scripting so much easier and have since used the AJAX methods many a time. Therefore I loved having this as part of ASP.NET, however one of the greatest features in my option was the Vsdoc support. Vsdoc files you could add to your project in Visual Studio and you would get full intellisense against the JQuery library with help on all of the in-built methods.

You used to get a link on the JQuery site marked ‘Visual Studio’ as shown below that would allow you to download this file.

JQuery VsDoc Downloads

JQuery VsDoc Downloads

However there has been no link for the Vsdoc file since version 1.4.1 on the offical JQuery site….. This seemed strange as the guides for all of the vsdoc intergration always had you download them and place them in your project.

The key as it turns out is using the CDN to get the scripts! Microsoft have this page AJAX CDN which contains information on the CDN as well as links for all version of JQuery as well as their prospective vsdoc file. But it also gets better, it turns out if you use the Microsoft CDN Jquery in your project the vsdoc file is automatically picked up and pulls the latest version of the vsdoc’s intellisense down. This works whether you use the full JQuery files or the minified file.

JQuery CDN in Visual Studio 2010

JQuery CDN in Visual Studio 2010

You can not only lever the power of CDN hosted scripts but get the benefit of enhanced Visual Studio support without any hassle. Awesome!

About ScottReed

I am an ASP.NET C# developer working in the south of England current for the south's top digital agency Redweb. I have worked for financial companies, CMS vendors, charities and web agencies tacking a variety of challenges. As part of my jobs and freelance I have done lots of work for high profile companies, big brands and government bodies and worked on some exciting large award winning builds. I love development and enjoy architectural design of software. ScottGu is my .NET hero and the Guru of all thing M$oft