Announcing LightSwitch HTML Client Preview 2!

Announcing LightSwitch HTML Client Preview 2!

Rate This
  • Comments 22

We are pleased to announce an updated preview of the LightSwitch HTML Client!  The overly positive feedback we received following our first preview last June for building HTML5-based, touch-optimized mobile business applications has truly been energizing – thank you for your constructive feedback and support as we continue to develop this important release.  Here’s a summary of what’s new in Preview 2.

Preview 2 can be Installed into Visual Studio 2012 RTM

Early adopters will remember our first preview was made available only as a preconfigured VHD, a decision we made at the time to expedite getting the preview out to you for some early tire kicking.  This time, with Preview 2, we’ve made it available as a simple WPI (Web Platform Installer) package that you can install on any machine that already has Visual Studio 2012 Professional or above.

Build SharePoint 2013 Apps with LightSwitch

This is potentially our biggest announcement for Preview 2, and for many good reasons!  SharePoint has fast become an important hub of activity within the enterprise.  It’s the central portal where folks sign-in to collaborate with each other and participate in business workflows, so it makes sense that an increasingly common request we’ve heard is to create business apps where your users are: that is, run LightSwitch apps from SharePoint.

Leveraging the simplicity and productivity of LightSwitch, you can now use Preview 2 to build SharePoint 2013 apps and install them on an Office 365 site.  For the developer, this means simplified deployment, central management of user identity, app installation and updates, and the ability for your app to consume SharePoint services and data in a more integrated fashion. For users of your app, this means a central place for them to sign-in once and launch modern, web-based applications on any device for their everyday tasks.


Users sign-in to a SharePoint 2013 site and launch apps from a central app catalog.


SharePoint Apps built with LightSwitch run with the user’s credentials without needing to sign-in again.  The top blue bar—called the SharePoint Chrome control—allows users to jump back to the SharePoint site with a single tap.

We’ve provided a walkthrough to help you explore building SharePoint Apps with LightSwitch. You’ll also need to sign up for an Office 365 Developer account by visiting  Click the Build: Sign up and start building apps tile to start the process.


Visit to sign up for an Office 365 account.

HTML Client Experience Enhancements

We’ve continued to evolve and improve the experience for building modern HTML5-based web apps with LightSwitch, improvements that apply regardless of whether you’ll run your app on SharePoint 2013, Azure, or on-premise IIS.  In Preview 2 we have significantly improved the design-time coding experience with better JavaScript IntelliSense support and debugging, introduced a number of additional coding entry points for responding to common events, and a richer set of APIs for interacting with the application.  We’ve also provided an integrated experience with jQuery Mobile ThemeRoller for custom theming, introduced a new Tile list control, simplified control of layout and sizing, added support for publishing to Azure websites, and more!  Stay tuned over the next several days for a series of blog articles that cover these enhancements in detail.  To help you tie all this together, we’ve updated the Contoso Moving walkthrough to include new features from Preview 2.

Download Preview 2

Download the preview and tell us what you think!  We’re very much looking forward to your feedback, questions, and suggestions. Please use the LightSwitch HTML Client forum to post your feedback and check the HTML Client Resources Page on the Developer Center and this blog for videos and articles as they become available!


Microsoft Office Developer Tools for Visual Studio - Preview 2

Note: This is a one-stop package which includes LightSwitch HTML Client – Preview 2 as well as other components for building SharePoint 2013 Apps.

- John Stallo, Lead Program Manager, Visual Studio LightSwitch Team

Leave a Comment
  • Please add 5 and 8 and type the answer here:
  • Post
  • Hi -

    What is the difference between web matrix and light switch, now with the HTML 5 support in light switch. When would one choose to use light switch vs web matrix - what kind of apps does light switch lend itself to?  Also is there support for MySql in Light Switch as I am looking at building administration pages to a web app and am currently dabbling with Web matrix. Thanks.

  • wonderful!!! but can i connect  this project With MVC platform

  • CP2 does not work properly with cascade drop down lists in View dialog. It does not generate erro, but stops navigation

  • @Kris - WebMatrix helps you quickly build websites.  LightSwitch helps you quickly build task-centric web applications – these apps are frequently very use-case driven and help the end-user perform a specific set of business tasks (for example, submit a purchase order, process a business expense, etc.).  As part of the web app, LightSwitch also produces interoperable data services where your business logic runs, for example validation and authorization rules.  Deploying the data service to Azure, for example, can allow other client types (native Win8 app, iPhone app, etc), to access the same data and business logic.

    With regards to connecting to databases other than SQL, the answer is yes.  For MySQL, you’ll need to first install the MySQL .NET Connector.  You can find several resources on the web that provide step-by-step directions, one of which is this short how-to video by Alessandro Del Sole:

  • @Andrew_Butenko - Can you report this issue in the forums and include some screen shots so we can troubleshoot? I'm not clear on exactly what you're trying to do. Thanks!

  • Given that I'm not interested in all the office and sharepoint stuff, can I just download and install that one component? Does it have other dependencies, and if so what?

  • @sapadventures - We released a new preview last Monday. LightSwitch HTML client preview is now in VS Update 2 CTP4 -

    What happens now is that when you install CTP4, you get the HTML client bits without the SharePoint support. However, when you click the "Enable SharePoint" button in the project properties, we point you to download the Office Tools. So it is now an Opt-In experience.


Page 2 of 2 (22 items) 12