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 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:

The LightSwitchHelpWebsite.com is an ASP.NET Web Application that currently has four LightSwitch applications integrated into it (you can access them from the DEMOS tab). The integration means that a user will have Single-Sign-On between the ASP.NET Website and the LightSwitch application. This integration has been covered in the article: Easy DotNetNuke LightSwitch Deployment....
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…

By Michael Washington on 1/30/2012 3:10 PM

image

Visual Studio LightSwitch allows you to create Theme extensions. A theme controls the overall look of a LightSwitch application…

 

By Michael Washington on 1/28/2012 7:06 AM

image

Visual Studio LightSwitch allows you to create Screen Template extensions. The primary reason you would want to create one is to allow LightSwitch programmers to easily consume a custom control.

By Michael Washington on 1/22/2012 12:55 PM
image

When deploying a LightSwitch web based application, the easiest method is to use the Publishing Wizard. However, the server that will host the LightSwitch application has to have the prerequisites installed

LightSwitch creates a normal ASP.NET application that launces a Silverlight application, so it is possible to package in...
By Michael Washington on 1/17/2012 6:41 PM

image

In this article we will cover a project that implements the ComponentOne Excel control, from the Studio for Silverlight suite, in Visual Studio LightSwitch. Specifically, it will demonstrate importing and exporting Microsoft Excel files. The sample project expands on the Expense Report application covered in the article: Using the ComponentOne FlexGrid Control in Visual Studio LightSwitch.

This project enables the following scenarios:

  • Allow employees to use an Excel spread sheet to create their expense reports.
  • Display the Excel spread sheet in the ComponentOne FlexGrid control, with all formatting and formulas, and allow it to be edited before importing.
  • Import the Excel spread sheet into the Expense Report application.
  • Export existing expense reports to the control and save them as Excel files.
By Michael Washington on 1/17/2012 12:11 AM
image

This control has a long history. In brief, this issue started back in September 2011 when LightSwitch team member, Karol Zadora published code that allowed you to display hierarchal data in a nested tree. I covered it in the article:  Tree Control: Hierarchical Data with LightSwitch.

...
By Michael Washington on 1/1/2012 10:56 AM

image

When you have a list of items that have a particular sort order, you may have the need to allow the end-user the ability to change the sort order. This article shows a solution…

By Michael Washington on 12/22/2011 9:41 PM

image

The ComponentOne FlexGrid control from the Studio for Silverlight suite allows Visual Studio LightSwitch developers the freedom to implement complex solutions required of professional Line-Of-Business applications. This article will explore and demonstrate a small subset of the most common features of the C1FlexGrid control…

 

By Michael Washington on 12/8/2011 7:06 PM

image

LightSwitch is a powerful application creator. However, you may need HTML pages. LightSwitch can still be used for all processes that do not need to be HTML.

In this article we will explore a real-world project I recently completed…

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