Attaching to SQL Views

In Visual Studio 2013 Update 2  (as well as Office Developer Tools for Visual Studio 2013 – March 2014 Update) some enhancements are available in the area of attaching to SQL Views.  These enhancements were made based on the feedback we received from the community.  With this update, you can now model the primary key for attached SQL… Read more

Promises in LightSwitch (Justin Anderson)

In previous posts, we’ve mentioned that the HTML client runtime uses promises to perform asynchronous execution. In this post, we’ll briefly explain what a promise is and show you where promises are provided in your LightSwitch application to allow you to asynchronously react to state changes in the application. What Is A Promise? A promise… Read more

Automatic Row Tracking with Visual Studio 2013 (Amr Altahlawi)

As databases are used by many applications and many users within those applications, it’s a common practice to log when data was created or last modified. In addition to knowing when the data was changed, knowing who changed the data is a common requirement in business applications. LightSwitch in Visual Studio 2013 introduced a new… Read more

LightSwitch Performance Improvements in Visual Studio 2013

Our very own Matt Sampson, Tester on the LightSwitch team, is featured today on the Visual Studio team blog! Matt explains how we took advantage of a slimmer OData format called JSON Light to minimize the payloads from the server to the HTML client, saving bandwidth and speeding up the loading of data. This is… Read more

What Time Is It? Global Time (Steve Lasker)

You’re building apps that are hosted in the cloud. Your users can be anywhere across the globe. When you’re viewing a customer service call log, and you see a customer called at 4:30pm and was really upset their service was still down, how do you know how long ago they called? Was the time relevant… Read more

Team Development Series–Part 3: Leveraging Team Build in LightSwitch (Saar Shen)

What is Team Build? Team build lets you create and manage build processes that automatically analyze, compile and test your applications. Refer to the MSDN topic Build the application for more details on setting up team builds with Team Foundation Service (TFS) and Visual Studio. With LightSwitch in Visual Studio 2013 Preview, we’ve made it a lot… Read more

Extending Screens for Multi-Select in the LightSwitch HTML Client (Mike Droney)

If you (like me) have always wanted to have a rich multi-select experience in LightSwitch HTML Client Lists, this article may be of interest to you. This sample will show a nice pattern for adding unbound screen content items to be manipulated by the user in a List Control for a multi-select operation. Let’s take… Read more

OData Apps in Update 2 – Querying Data from Stack Overflow

Matt Sampson’s got a blog about making a LightSwitch HTML App that queries data from the one and only Stack Overflow by attaching to their very cool public OData Service. (Now you can use a LightSwitch app to keep track of all the LightSwitch related posts on Stack Overflow!) You can check out the blog post here – OData… Read more

Creating a wizard-like experience for HTML client (Andy Kung)

If you have been playing with the new HTML client, you will know that LightSwitch provides a built-in screen template for creating data. It allows user to input data via a modal dialog. In some scenarios, however, we’d much prefer to guide the user via a step-by-step wizard-like dialog. In this article, I will show… Read more

Customizing the SharePoint Chrome Control in LightSwitch

If you’ve done any LightSwitch apps for SharePoint you may have noticed that we incorporate a version of the SharePoint chrome control.  You may not have known what it was (or what it was called), but you do now.  You can also customize it and I’ll show you how.  I’m also going to cover a… Read more