You are here:   Blog
Register   |  Login

 

Author: Michael Washington Created: 8/20/2010 8:49 PM RssIcon
All about Microsoft Visual Studio Silverlight LightSwitch
By Michael Washington on 8/17/2013 10:08 PM
image

Jesus Rodriguez wrote a great article titled Why Does Angular.js Rock?. It is an excellent work and really demonstrates the power of  Angular. As I read through the article I realized that the functionality he demonstrates can of course be done in LightSwitch because LightSwitch contains a full featured JavaScript data binding framework to allow you to build SPA (Single Page Applications).

The thing that sets LightSwitch apart from other...
By Michael Washington on 8/14/2013 7:45 PM

image

The ComponentOne Studio for LightSwitch HTML suite of controls contains an Events Calendar control that allows you to create some really incredible applications. In this example we will use it to build a Visual Studio LightSwitch application that will allow employees to enter their vacations and time off so that their organization can easily track employee availability…

By Michael Washington on 7/31/2013 5:27 AM

image

When learning any new computer language or program, it is often helpful to start with a “hello World!” project…

By Michael Washington on 7/29/2013 5:47 AM

image

Visual Studio LightSwitch contains an advanced JavaScript data binding framework on par with any of the alternatives that you will find. It has the advantage that it also has an integrated business and data layer. The most important aspect is that it is built into and fully integrated in Visual Studio, the most advanced web development tool available.

The example application covered here is simple, but the most important thing to note is that it is simple to create, understand and most importantly simple to refactor…

By Michael Washington on 7/28/2013 10:33 AM

image

Logging into a website using a small keyboard, such as the one used on a cell phone, can be painful. A username and password that takes a user 5 seconds to enter on a full sized keyboard can take up to a full minute when using a small keyboard on a mobile device. This can make some mobile applications unappealing to the end-users…

By Michael Washington on 7/16/2013 9:46 PM

image

Xpert360 has recently released AIDE for LightSwitch, a Visual Studio extension that advances the LightSwitch design experience…

By Michael Washington on 6/28/2013 5:27 AM
Yesterday Visual Studio LightSwitch was released in a preview of Visual Studio 2013.

You can get it here: http://www.microsoft.com/visualstudio/eng/2013-downloads. You can read more about the new features here: http://blogs.msdn.com/b/lightswitch/archive/2013/06/27/announcing-lightswitch-in-visual-studio-2013-preview.aspx.

One new feature is described as: API support for refreshing data on lists and screens in the runtime app. That is the feature we will explore here.

The Sample Project We start with the application created in the tutorial: An End-To-End Visual Studio LightSwitch HTML5 Application.

When we open it up, it will be converted to the new Visual Studio 2013 format. However, to get it to run we have right-click on the first project…

image

...
By Michael Washington on 6/13/2013 8:22 PM

image

Visual Studio LightSwitch team member Huy Nguyen is a good person to follow on the Visual Studio LightSwitch forums. He typically provides well explained answers to difficult questions and usually provides code samples, and in some cases downloadable projects.

Previously, I created examples using techniques I learned from some of my favorite posts that he made. Those articles are:

  • Visual Studio LightSwitch Screen Navigation and Advanced JavaScript Examples
  • HUY Volume II - Visual Studio LightSwitch Advanced JavaScript Examples

In this article, I have created more examples from his latest articles…

By Michael Washington on 6/8/2013 6:46 AM

image

After using the Visual Studio LightSwitch HTML Client, you may wonder, how does it work? How does it turn the program we designed into an actual web application?…

By Michael Washington on 6/2/2013 3:14 PM

image

You can quickly and easily create PhoneGap Android and IOS applications from your Visual Studio LightSwitch HTML Client websites using VS Nomad from Redgate

By Michael Washington on 5/27/2013 11:12 AM

image

Visual Studio LightSwitch team member Huy Nguyen typically provides well explained answers to difficult questions, and usually provides code samples, and in some cases downloadable projects.  Previously, I created examples using techniques I learned from some of my favorite posts that he made. In this article, I have created more examples from his latest articles…

By Michael Washington on 5/26/2013 8:32 AM

image

Microsoft MVP and Visual Studio LightSwitch Insider, Alessandro Del Sole recently released an extension that “provides an easy way to install a number of JavaScript code snippets for the LightSwitch HTML Client created by the LightSwitch Team at Microsoft”. I decided to use it to help you create the code to implement the JQuery Mobile Reflow Table in Visual Studio LightSwitch that was covered in the article: LightSwitch HTML Client For The Desktop Web Browser

By Michael Washington on 5/23/2013 5:55 AM

image

To maximize performance, all applications must properly manage the flow of data. When dealing with an entity (one row of data), Visual Studio LightSwitch transfers the entire entity from the data layer to the client, the user interface (UI) layer.  When dealing with collections (rows of data) LightSwitch uses Visual Collections, and is very deliberate as to how, and when it places entities in the Visual Collection

By Michael Washington on 5/20/2013 9:31 PM

image

You can easily implement animated help agents in your Visual Studio LightSwitch HTML Client applications…

By Michael Washington on 5/19/2013 9:41 AM

image

An objection many developers have about using Visual Studio LightSwitch HTML Client for their projects, is that they feel they need normal web pages. To many developers, LightSwitch HTML pages look odd when viewed in a normal desktop web browser.

The Reflow table displays data in a desktop web browser like any normal data grid, yet it will dynamically pivot the table when the screen becomes smaller (rather than just squeezing the table smaller). A user can easily view and navigate the table on any sized device…

By Michael Washington on 5/9/2013 6:28 AM

image

The Visual Studio LightSwitch runtime was updated to support JQuery Mobile 1.3. This is a step by step guide to updating the LightSwitch JavaScript Runtime…

By Michael Washington on 5/8/2013 7:59 PM

image

Visual Studio LightSwitch team member Huy Nguyen is a good person to follow on the Visual Studio LightSwitch forums. He typically provides well explained answers to difficult questions and usually provides code samples, and in some cases downloadable projects. In this article, I have created examples using techniques I learned from some of my favorite posts that he made…

By Michael Washington on 5/5/2013 8:41 PM

image

You may have situations where you need to dynamically create records. Typically you will want to do this when you don’t want to navigate away to a new page to add a record…

By Michael Washington on 5/4/2013 10:29 AM

image

The primary reason you may want to use WCF RIA Services with Visual Studio LightSwitch 2012 is to:

  • Combine more than one entity into a single entity.
  • Eliminate unneeded columns in an entity to improve performance (otherwise large amounts of data, for example pictures, will be transmitted even when they are not shown).
  • Implement calculated fields that allow the resulting values to be searchable and sortable.
By Michael Washington on 5/3/2013 6:34 AM

image

LightSwitch will allow you to easily create a popup to allow a user to select an item from a list in an associated table and to set a value. What is more difficult, is constraining that list of items presented based on business rules…

Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation