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 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/14/2011 9:52 PM

image

Delordson Kallon of LightSwitch Extras has created a LightSwitch theme called Jet Pack…

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…

By Michael Washington on 12/7/2011 9:03 PM

img3

LightSwitch is a powerful application creator. However, at times you may need to have full control over the user interface, the program flow, and functionality. I have created a sample LightSwitch application…

By Michael Washington on 12/5/2011 8:02 AM
image_thumb43

In many ways the ComponentOne Scheduler LightSwitch Extension validates the brilliance and promise of Visual Studio LightSwitch. This LightSwitch Extension allows a non-programmer the ability to create complex highly customizable applications, which combine and orchestrate several data sources.

ComponentOne allowed me to preview several Beta versions of the groundbreaking control. The control is due to be released 12/14/2011, so this preview is very close...
By Michael Washington on 11/19/2011 7:15 PM
image

In this article we will create a simple chat application. If different users are using the same LightSwitch application, they will be able to chat with each other.

image

...
By Michael Washington on 11/3/2011 8:23 PM
clip_image018

Sometimes we are faced with the need to read data from a .csv (comma separated value) or Excel file. One option is to import the data, but this can turn out to be more trouble than any benefit if the file changes frequently.

Using WCF RIA Services allows the option to place the .csv or Excel file on the server hard drive and have LightSwitch access the data directly. When the file changes, simply...
By Michael Washington on 10/23/2011 1:30 PM
image

Creating a Blank LightSwitch Shell was previously covered in Running a LightSwitch Application With A Blank Shell. However, that article was written before the Visual Studio LightSwitch 2011 Extensibility Toolkit was released, so it is not in the easier to modify...
By Michael Washington on 10/16/2011 2:27 PM

image

The Data Grid that is built-into LightSwitch is quite advanced. You will not really appreciate it until you attempt to duplicate its functionality manually. However, you may be faced with situations that require you to implement a Data Grid from scratch. This will allow you maximum flexibility in your application…

By Michael Washington on 10/13/2011 10:44 PM
image

A strong point about ComponentOne is their ability to make great Silverlight controls that aggregate data. The LightSwitch Help Website previously covered their LightSwitch extension: Using OLAP for LightSwitch. That control is designed to be mostly configured by end-users. The article: The LightSwitch Control Extension Makers Dilemma...
By Michael Washington on 10/8/2011 9:39 AM
image

It is important to know that you should only use the methods described here as a last resort. The methods described here should not be your first choice for implementing a custom Silverlight Control in LightSwitch. 99% of the time these other methods will work:

Creating A LightSwitch Custom Silverlight Control This Is How LightSwitch Does MVVM...
By Michael Washington on 9/24/2011 10:35 PM

image

In this Blog post, we will create a LightSwitch Control Extension that consists of a Button. The LightSwitch Control Extension will allow us to specify the color of each instance of the Button.

At this time, there is no other documentation anywhere describing how to create a LightSwitch Control Extension that is of type Command (used for Buttons)…

By Michael Washington on 9/18/2011 11:10 AM

image

To save space on the screen, you may find that it is sometimes easier to scroll through the records rather than select them using a standard LightSwitch List control. This is actually a trivial exercise, but hopefully it shows that you have granular control of how records are displayed on the screen.

In addition, remember that everything described here still applies if you are using Silverlight Custom Controls.

By Michael Washington on 9/10/2011 6:29 AM
image

When you write code in the LightSwitch client layer, you have programmatic access to most of the application. This also applies when you use Silverlight Custom Controls. This is important because it saves you from writing a lot of code. A professional developer can be far more productive when creating a LightSwitch application than when they are coding a Silverlight application without using LightSwitch.

You have the option of Running a LightSwitch Application With A Blank Shell....
By Michael Washington on 9/5/2011 9:36 AM
image

The LightSwitchHelpWebsite.com now has multiple bloggers. I realized that the Tags menu is really the only way for people to find past Blogs.

image

...
By Michael Washington on 8/21/2011 9:35 PM

image

Hierarchical data is usually used to display data in a tree. The data typically is in a single table that is self-referencing, meaning it has one property that points to other records in the same table. This is how it is able to track the parent-child relationship between records. A Tree Control is usually used to visualize hierarchical data.

Karol Zadora-Przylecki (Microsoft) created an example, and included important code required by LightSwitch when using a Silverlight Tree Control. You can see the original post here: http://social.msdn.microsoft.com/Forums/en-US/lsextensibility/thread/bcdaa86f-459a-47d3-853a-3c5e56eb088a. In this article, we will follow the concepts outlined by that post.

Note: If you are new to LightSwitch, it is suggested that you start here: Online Ordering System (An End-To-End LightSwitch Example)

By Michael Washington on 8/20/2011 10:37 AM
image

LightSwitch is a powerful application builder when you use WCF RIA Services and Silverlight Custom Controls (or Silverlight Control Extensions). Otherwise, it is merely just a fast and easy application builder. In order to be fast and easy, LightSwitch has it’s limitations. However,...
By Michael Washington on 8/14/2011 6:37 AM
image

If you are not a Silverlight programmer, LightSwitch is still easy to use. You just need to use LightSwitch Control Extensions. It is important to note the difference between a Silverlight Custom Control, and a LightSwitch Control Extension.

Karol Zadora-Przylecki covers the difference in the article “Using Custom Controls to Enhance Your LightSwitch Application UI” (http://blogs.msdn.com/b/lightswitch/archive/2011/01/13/using-custom-controls-to-enhance-lightswitch-application-ui-part-1.aspx).

...
By Michael Washington on 8/6/2011 8:38 PM
image

Note: You must have Visual Studio Professional (or higher) to complete this tutorial

Telerik has a differentiating LightSwitch control in their Rich Text Editor Control. It allows you to create compelling LightSwitch applications. It allows your end-users to create, import and export Microsoft Word documents. It also contains many other features.

In this example, we will build a small application that allows rich notes to be entered for people.

First, Install the Telerik controls...
By Michael Washington on 8/1/2011 9:37 AM
Note: If you are new to LightSwitch, it is suggested that you start here: Online Ordering System (An End-To-End LightSwitch Example)

Note: You must have Visual Studio Professional (or higher) to complete this tutorial

LightSwitch is a powerful application builder, but you have to get your data INTO it first. Usually this is easy, but in some cases, you need to use WCF RIA Services to get data into LightSwitch that is ALREADY IN LightSwitch.

LightSwitch operates on one Entity (table) at a time. A Custom Control will allow you to visualize data from two entities at the same time, but inside LightSwitch, each Entity is always separate. This can be a problem if you want to, for example, combine two Entities into one.

LightSwitch wont do...

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