Skip to main content

LightSwitch Extensibility Samples

Extensions can add new capabilities to Visual Studio LightSwitch. See how to build extensions for LightSwitch using the LightSwitch Extensibility Toolkit. Samples include a variety of controls, business types and screen templates to help get you started.

Before you begin, please make sure you have installed the LightSwitch Extensibility toolkit and its prerequisites.

LightSwitch Extensibility Samples

LightSwitch Business Type Extension Sample
This sample demonstrates how to create a business type extension for Visual Studio LightSwitch 2011. Creating a business type extension in LightSwitch, enables 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.
Thursday, Jul 28
LightSwitch Shell Extension Sample
This sample demonstrates how to create a shell extension for LightSwitch. The shell for a Visual Studio LightSwitch 2011 application enables users to interact with the application. It manifests the navigable items, running screens, associated commands, current user information, and other useful information that are part of the shell’s domain. While LightSwitch provides a straightforward and powerf... more
Thursday, Jul 28
LightSwitch Detail Control Extension Sample
This sample demonstrates how to create a detail control extension for Visual Studio LightSwitch 2011. Detail controls are used by LightSwitch to display an entity field. This differs from a Group control, which can be used to display the whole entity by displaying each of the entity’s fields in an arranged manner. The LightSwitch Summary control is one example of a detail control.
Thursday, Jul 28
LightSwitch Screen Template Extension Sample
This sample demonstrates how to create a screen template extension for Visual Studio LightSwitch 2011. LightSwitch includes templates that can be used to create screens that have common patterns. You can also develop templates that you can use with a specific data source, or with any data type. A screen template generates data and controls for a screen, based on information that a developer speci... more
Thursday, Jul 28
LightSwitch Smart Layout Control Extension Sample
This sample demonstrates how to create a smart layout control extension for Visual Studio LightSwitch 2011. By using a smart layout control, a LightSwitch user can quickly arrange data on a screen in a predetermined manner. Some smart layout controls are included in the LightSwitch screen designer, for example, the Picture and Text and Text and Picture group controls.
Thursday, Jul 28
LightSwitch Stack Panel Control Extension Sample
This sample demonstrates how to create a stack panel control extension for Visual Studio LightSwitch 2011. By using a stack panel, you can stack elements in an assigned direction. Examples of some stack panel controls are included in the LightSwitch screen designer, for example, the Vertical Layout and Horizontal Layout group controls.
Thursday, Jul 28
LightSwitch Value Control Extension Sample
This sample demonstrates how to create a value control extension for Visual Studio LightSwitch 2011. You can use a value control to display a single field of an entity on a LightSwitch screen. A value control is typically designed for use with a set of data types. For example, you can use the text box control in LightSwitch to display strings and numeric types but not binary data.
Thursday, Jul 28