LightSwitch in Visual Studio 2012 Proves Effective as RAD Tool
Review: Visual Studio 2012 ships with the latest edition of LightSwitch, a rapid application tool that can create HTML5 applications without needing Silverlight.
This is where I got a bit confused at first, until I realized the whole navigational approach to the LightSwitch apps. Unlike a traditional HTML app where you might create a page with links to other screens, here you have to first create a “home” screen. These screens aren’t just HTML pages. Rather, they’re visual representations of some part of the data (i.e. the “presentation”). So for my Netflix app, I started with a Browse screen and attached it to the Genres table. At this point, I stopped and ran that application so I could see the defaults. Sure enough, I saw a list of all the Genres. I couldn’t yet drill down into the data, but it appeared in the browser. But it was a bit strange looking. It wasn’t like the grids that were available in the older Silverlight versions. Instead it actually looked sort of like something you would see on a smart phone. But it turns out there’s a reason for that: Behind the scenes, the Lightswitch HTML apps are powered by jQuery Mobile. It’s hard to say exactly why Microsoft chose this approach, but my suspicion is they want us building apps that are more for phones and tablets. The apps run using the new IIS (Internet Information Server) Express, although you can wire them into the IIS server by installing the LightSwitch runtime extensions. However I haven’t tested that feature yet. What I did try out, however, was configuring my firewall and then using my iPhone to connect to my app.






















