Michael Washington's Blog, page 20

December 28, 2012

Using Promises In Visual Studio LightSwitch

image

To create responsive HTML applications (using JavaScript) you will need to use asynchronous calls to communicate with external resources. While you can make requests synchronously, it is a bad practice because it locks up the web browser…

Tags: HTML Client (Preview Version)
 •  0 comments  •  flag
Share on Twitter
Published on December 28, 2012 10:24

December 16, 2012

Retrieving The Current User In The LightSwitch HTML Client

image

In the Visual Studio LightSwitch HTML Client, extra steps are required to determine who the currently logged in user is.

Tags: HTML Client (Preview Version)
 •  0 comments  •  flag
Share on Twitter
Published on December 16, 2012 09:51

December 12, 2012

Writing JavaScript That Implements The Binding Pattern In Visual Studio LightSwitch

image

In the LightSwitch HTML Client Preview 2, the binding pattern has several advantages in that it allows you to create large robust and well structured applications. You may have heard about the binding pattern in Silverlight and WPF (known as MVVM). The key component is the INotifyPropertyChanged interface that raises an event when anything changes a property that implements the interface…

Tags: HTML Client (Preview Version)
 •  0 comments  •  flag
Share on Twitter
Published on December 12, 2012 07:02

December 8, 2012

Implementing The Wijmo Radial Gauge In The LightSwitch HTML Client

image

ComponentOne provides a set of free and commercial controls called Wijmo that can be consumed in the Visual Studio LightSwitch HTML Client

Tags: HTML Client (Preview Version)
 •  0 comments  •  flag
Share on Twitter
Published on December 08, 2012 18:35

December 2, 2012

Allowing Users To Self Register In Your LightSwitch Website

image

Creating a LightSwitch website and setting security is easy. However, you must set up all your users manually. In some cases you want to allow users to self-register…

Tags: HTML Client (Preview Version)
 •  0 comments  •  flag
Share on Twitter
Published on December 02, 2012 15:34