Visual Studio LightSwitch 2012 is a development tool that provides the easiest and fastest way to create forms over data, line of business applications and build applications for the desktop and the internet cloud by providing a tool that allows you to quickly and easily define and connect to your data, program your security and business rules, expose this via OData to practically any ‘client’ such as mobile devices and web pages. This book will demonstrate its use, explain, and provide examples of important concepts of its API (Application Programming Interface). Over the past year I have created more than thirty Visual Studio LightSwitch HTML Client projects. While creating those projects, I ran into challenges that required me to go deep into the LightSwitch HTML Client API. This book covers the core concepts as well as the use of advanced techniques that I consider important to properly leverage this incredible tool. Table of Contents:Chapter 1:Understanding the LightSwitch HTML ClientWhat Is Visual Studio LightSwitch?The Visual Studio LightSwitch HTML ClientSingle Page Application (because faster is better)Chapter 2:Create an End-To-End LightSwitch HTML ApplicationHow Does A LightSwitch HTML Client Application Work?Chapter 3:The LightSwitch HTML Client APIThe Binding PatternPromisesChapter 4:Working With DataSearching DataSetting DefaultsDynamically Creating RecordsDeleting DataChapter 5:Working With ScreensThe Visual Collection APIJavaScriptChapter 6:Application NavigationShow a Message Box, and Respond To a User SelectionCreate a Custom Modal Picker by Using A PopupCopy a Record - Show Add Edit Dialog with Initialized ParametersNavigating to a New Screen (and Returning)After Editing -- Return Focus and Browser Position to the ItemChapter 7:Advanced TopicsUsing ServerApplicationContextUsing WCF RIA ServicesAdvanced JavaScriptControlsUse a JQuery Mobile ControlPrevent JQuery Mobile from Overriding Custom ControlsThemingLightSwitch HTML for the Desktop