Author: Michael Washington Created: 8/20/2010 8:49 PM RssIcon
All about Microsoft Visual Studio Silverlight LightSwitch
By Michael Washington on 4/23/2012 8:39 PM

image

Consuming OData in Visual Studio LightSwitch in Visual Studio 2011 is very easy. When you consume an OData service in LightSwitch, its Entities that you import behave like any other LightSwitch data source (such as Internal Entities, external SQL tables, and WCF RIA Services). This allows you to easily create mash-ups where you combine different data sources to create an application.

In this example, we will create an application that allows us to add our own reviews to the movies in the Netflix catalog…

By Michael Washington on 4/23/2012 3:57 PM

Finally a well written article that talks about LightSwitch (also I am quoted in it several times):

Everyone’s aiming for the “citizen developer,” but lately that elusive customer has led Microsoft on a snipe hunt. With LightSwitch, the company has a rapid application development (RAD) tool, that no one—not even Redmond or its partners—seems to know quite what to do with...

Read the full article at this link.

By Michael Washington on 4/18/2012 9:37 PM

image

The LightSwitch Silverlight screens allow you to easily group and total data. The LightSwitch OData services return one Entity collection at a time. This makes grouping and totaling across Entity collections difficult. Using WCF RIA Services provides a clean elegant solution…

By Michael Washington on 4/14/2012 5:42 PM
image

Visual Studio LightSwitch (In Visual Studio 11 Beta) allows you to access your LightSwitch application via OData. This provides access to the security and business rules of your LightSwitch application.

In this article we will demonstrate using JQuery, DataJs and KnockoutJs to create a page that will cover Creating, Reading,...
By Michael Washington on 4/12/2012 5:43 AM

image

One tool that you can use to browse your LightSwitch in Visual Studio 2011 Beta OData feeds is LinqPad. Another one is the Silverlight OData Explorer

By Michael Washington on 4/10/2012 9:33 PM
image

Visual Studio LightSwitch (In Visual Studio 11 Beta) allows you to access your LightSwitch application via OData. This provides access to the security and business rules of your LightSwitch application.

This article is a continuation of the article: Calling LightSwitch 2011 OData Using Server Side Code. In that article...
By Michael Washington on 4/6/2012 8:26 AM
image

Visual Studio LightSwitch Beta in Visual Studio 2011, allows you to create applications that can communicate with LightSwitch using OData. This allows you to create applications, such an Android mobile application, that communicate with the LightSwitch business layer. This provides access to the LightSwitch security and business rules.

In this example, when a user uses the application and calls LightSwitch, they will only see their own Orders (unless they are in the administrator role, then they...
By Michael Washington on 4/3/2012 5:27 AM
LightningSeriesDynCRM

Xpert 360 has released a new LightSwitch extension, Lightning Dynamics CRM Data Source, that allows LightSwitch to connect to Microsoft Dynamics CRM Online. It allows LightSwitch to connect to 40 Dynamics CRM entities. The unusual thing is that currently the product is free:

“We...
By Michael Washington on 3/21/2012 12:25 AM
image

Visual Studio LightSwitch 2011 (In Visual Studio 11) allows you to access your LightSwitch application via OData. This allows you to access the business layer and security of your LightSwitch application. It also allows your LightSwitch application to communicate with web pages, mobile clients (IPad, Android, Windows Phone) and other clients such as Excel PowerPivot.

...
By Michael Washington on 3/6/2012 6:32 AM
image

When you have Visual Studio LightSwitch 2010 (the released version) and Visual Studio LightSwitch 2011 (the Beta version) on the same machine, you may have a problem installing some extensions.

image

...
By Michael Washington on 3/2/2012 5:00 PM
image
I had the pleasure to talk with my friend Alessandro Del Sole who has released his new book…
By Michael Washington on 3/1/2012 11:02 PM

In LightSwitch 2011, the team ripped out the guts and replaced the WCF RIA engine with an OData engine. The following are some techniques to observe how LightSwitch communicates using OData

By Michael Washington on 3/1/2012 12:43 AM

clip_image012

Visual Studio LightSwitch 2011 (In Visual Studio 11) allows you to access your LightSwitch data via OData. This allows your LightSwitch application to communicate with web pages, mobile clients (IPad, Android, Windows Phone) and other clients such as Excel PowerPivot...

By Michael Washington on 2/29/2012 12:54 PM
clip_image001

Many of you have discovered the power of using WCF RIA Services that are simply pointing to the internal LightSwitch database. The LightSwitchHelpWebsite.com has covered this in the articles:

WCF RIA Service: Combining Two Tables

Using WCF RIA Services In LightSwitch To Simplify Your Application UI

...
By Michael Washington on 2/28/2012 8:28 AM

image

You may have the need to access your custom LightSwitch WCF RIA Services from outside of LightSwitch using OData. This article will show you how …

 

By Michael Washington on 2/20/2012 12:37 PM
image_thumb[65]

NOTE: If you are using LightSwitch 2013 Update 2 (or higher) you must add compatibilityMode="Framework20SP1" to the "machineKey" in the LightSwitch Web.config (for example: http://blogs.msdn.com/b/webdev/archive/2012/10/23/cryptographic-improvements-in-asp-net-4-5-pt-2.aspx

The LightSwitchHelpWebsite.com is an...
By Michael Washington on 2/11/2012 2:33 PM
image

Visual Studio LightSwitch allows you to create Collection Control extensions. A Collection Control extension allows you to specify the control that will display a Entity collection in LightSwitch. At the time this article is written, there is no official documentation on creating Collection Control extensions. The only example of a Collection Control that Microsoft provides is the Many-To-Many control (see: Using The Many-To-Many Control).

...
By Michael Washington on 2/8/2012 10:44 PM
image

Visual Studio LightSwitch allows you to create Group extensions. A Group extension allows you to specify the layout of controls contained in the group.

image

...
By Michael Washington on 2/5/2012 1:35 PM

image

The LightSwitch Detail control extension is one of the most versatile of all the LightSwitch control extensions. When you are trying to create a reusable LightSwitch component, and other extension types are not working for you, you may find the Detail control extension will fit your needs…

By Michael Washington on 2/4/2012 10:48 AM

image_thumb[51]

Visual Studio LightSwitch allows you to create Business Type extensions. A Business Typeenables you to present data in a way that is most appropriate for your application without changing the data type in which the data is stored in the underlying database”. In this article we will create a Business Type for a Customer Code. The underlying type will be a String, but the Business Type will be a custom type that requires the first character to not be a number and for it to be at least 10 characters long. It will also have its own custom control for display and editing…

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