Onward and UpwardKeith Ward, Editor in Chief, Visual Studio Magazine
Blog archive
LightSwitch HTML Client Runtime Updated
Microsoft has updated the HTML client runtime in LightSwitch, its lightweight Web development tool. "Runtime Update 1", as it's called, is a bug and compatibility fix for the latest versions of jQuery, jQueryMobile and datajs.
The update adds support for jQueryMobile 1.3 and jQuery 1.9, according to this blog posting from the LightSwitch team. "Embracing the mobile-first, instead of mobile-only, approach was the main focus of this release," the team states.
The key upgrade to the runtime, it appears from the blog, is the implementation of responsive design. Responsive design automatically resizes an interface according to the screen size of a particular device. (It's something we did on VisualStudioMagazine.com; we've been writing about some of the challenges.)
The update is available through NuGet. The first step is to update the "Microsoft.LightSwitch.Client.JavaScript.Runtime" package, which also grabs the latest supported dependencies. The next step is to increment the version numbers of the JavaScript and CSS files in the default.htm file (the blog specifies which files). Note that you'll need to do that for every LightSwitch project you have.
For more information on exactly what LightSwitch is and what it does, check out a video Q & A I did with expert Michael Washington at our VSLive! Las Vegas show.
Posted by Keith Ward on 05/07/2013