News

Visual Studio To Include jQuery Library

In a tip of its hand toward open source software development, Microsoft announced on Sunday that it will incorporate the jQuery JavaScript library into Microsoft Visual Studio and ASP.NET.

In addition, Nokia is showing similar enthusiasm for incorporating this open source library into its products. The cellular equipment provider plans to use JQuery in its WebKit and widget development platform, according to a blog post by John Resig, jQuery lead developer and Mozilla JavaScript evangelist.

Microsoft has its skeptics in the world of open source. However, the company perceived jQuery as a popular library solution "with a huge ecosystem and community" that would complement what developers wanted to see in ASP.NET AJAX, according to an account by Scott Guthrie, a leader in Microsoft's IIS, ASP.NET and Visual Web Dev products.

The jQuery JavaScript library doesn't replace ASP.NET AJAX. Instead, it adds a quick way to perform "selection and animation operations," Guthrie wrote. The two components can work together to make the developer's job a little easier.

"jQuery is a fantastic JavaScript library that focuses on DOM querying and manipulation, whereas the Microsoft Ajax Library focuses on building reusable components and interacting with ASP.NET web services," explained Bertrand Le Roy, a Redmond-based software design engineer.

Microsoft is embracing jQuery whole heartedly. It plans to contribute code and bug fixes back to the open source project's development team, which will have control on whether or not to incorporate the changes. Users trying to get assistance using jQuery in Microsoft's products will be able find it at Microsoft product support. The company also will abide by jQuery's licensing.

"We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch," Guthrie stated. "The files will continue to use and ship under the existing jQuery MIT license."

The MIT license is permissive and allows code modification and redistribution, similar to the open source General Public License.

Microsoft will enable the use of its Intellisense code annotation capabilities in Visual Studio for the jQuery JavaScript library. That capability will be "available as a free web-download in a few weeks," Guthrie wrote. The capability will be part of the ASP.NET Model View Controller distribution, as well as in future new projects.

"Folks have said Microsoft would never include Open Source in the platform, I'm hoping this move is representative of a bright future," wrote Scott Hanselman, a Microsoft senior program manager. Hanselman provided a number of code samples that take advantage of the jQuery JavaScript library, which can be viewed here.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

comments powered by Disqus

Featured

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

Subscribe on YouTube