Building Mobile, Touch-Oriented Business Apps with the HTML Client in Visual Studio LightSwitch 2012
Read Microsoft Visual Studio LightSwitch Unleashed and more than 24,000 other books and videos on Safari Books Online. Start a free trial today.
With today's incredible diffusion of mobile devices running different operating systems, the need for cross-platform and cross-device applications is significant. This requirement affects line-of-business applications; many companies have desktop clients built for Windows while they simultaneously have mobile devices running iOS or Android, enabling employees to handle data both inside and outside the office. One of the biggest concerns for developers building applications with Microsoft Visual Studio LightSwitch has been the possibility of running their apps on multiple platforms and devices. The Silverlight plug-in from Microsoft is still an optimal choice for desktop workstations, but it can't run on many mobile devices such as Windows RT tablets, iPad tablets, and Android devices.
With both cross-platform and cross-device situations in mind, Microsoft's LightSwitch team in Redmond has been very busy over the last two years, focusing on the development of a new HTML client that could solve problems of portability across devices and of usability with touchscreens. The new HTML client in Visual Studio LightSwitch 2012 allows us to run a LightSwitch application on any device with a browser supporting the HTML5 standard. Figure 1 provides an example, showing a LightSwitch application running on an iPad.
Figure 1 LightSwitch app running on an iPad.
LightSwitch apps can now run on iPad tablets, Android devices, iPhone and Windows Phone mobile phones, and Windows 8 devices (including RT). In all cases, the touch-oriented user interface looks the same, providing users with an easy way to interact with data. Now that the HTML client has been released, programmers have a companion client for the Silverlight client, which can run on any device with a web browser supporting the HTML5 standard.