Author: Michael Washington Created: 8/20/2010 8:49 PM RssIcon
All about Microsoft Visual Studio Silverlight LightSwitch
By Michael Washington on 4/28/2011 6:51 PM
image

In many LightSwitch applications, you will desire the ability to display aggregated data and percentages. While the article at this link explains a method that will work 100% of the time, with the best performance, it requires the creation of an additional project. The method described here, is easier to use, yet, it has limitations (for example it will not allow you to use GroupBy)....
By Michael Washington on 4/23/2011 1:57 PM
NOTE: Please see Easy DotNetNuke LightSwitch Deployment, for an easier method to use LightSwitch in a DotNetNuke website

DotNetNuke has long been known as one of the easiest and most powerful web content management frameworks.

Combined with LightSwitch, the easiest way to create data driven applications, you have the ability to create and deploy “Line-Of-Business” applications quickly and easily.

An important thing to note, is that you can use your existing DotNetNuke users and roles with your LightSwitch applications.

This is really important if your already have accounts and roles.

You don’t want to require your users to learn a new username and password, and need to log into, each application.

Deploying your LightSwitch applications in DotNetNuke allows a seamless user experience.

What You Need:

DotNetNuke 5 (using ASP.NET 4.0) LightSwitch Beta 2...
By Michael Washington on 4/11/2011 5:49 AM
image

LightSwitch is designed for “forms over data”, entering data into tables, and retrieving that data. Procedural code is required when you need to manipulate data in “batches”. Normally, you want to put all your custom code on the Entity (table) level, but for procedural code, you want to use custom code on the Screen level.

The Inventory Program To demonstrate procedural code in LightSwitch, we will consider a simple inventory management requirement. We want to specify sites and books, and we want to move those books, in batches, between the sites.

image

...
By Michael Washington on 3/21/2011 5:56 PM
img4E

An End-To-End LightSwitch Example In this article we will create an end-to-end application in LightSwitch. The purpose is to demonstrate how LightSwitch allows you to create professional business applications that would take a single developer weeks to create. With LightSwitch you can create such applications in under an hour.

You can download LightSwitch at http://www.microsoft.com/visualstudio/en-us/lightswitch.

The Scenario In this example, we will be tasked with producing...
By Michael Washington on 9/20/2010 8:01 PM
This is part III to the article LightSwitch Student Information System.

image

In this article we will explore taking LightSwitch to the edge of it’s abilities. We will do it for a good reason, and we will demonstrate that it is a tool that is capable of professional development.

This article continues from where the article, LightSwitch Student Information System (Part 2): Business Rules and Screen Permissions...
By Michael Washington on 9/19/2010 4:50 PM
This is part II to the article LightSwitch Student Information System.

image

In this installment, we will add Attendance to the system. We will use this opportunity to cover implementing Business Rules and Screen Permissions.

image...
By Michael Washington on 9/14/2010 6:52 PM
To demonstrate LightSwitch functionality in a real world example, I have decided to create a Student information System. Eventually this will handle attendance and grades, but, for this first installment it will simply allow you to enroll students.

image

First, let us examine how a Student Information System usually works. A Course, and a Teacher make up a Section. A Student and a Section make up an Enrollment.

An Enrollment is the “heart” of a Student Information System. A Section, and an Enrollment are for a “period of time”. Grades, Attendance, and all other elements of the Student Information System, are tied to (associated with), Enrollments.

In this article we will build the...
By Michael Washington on 9/9/2010 9:30 PM
image

With a little code you can get LightSwitch to do almost whatever you want. For an application I am working on, I wanted a screen that would display information about the current user.

What is unique about this particular requirement, was that I wanted to display a page that was not associated with a Table of data. I just wanted a screen to show, and display code that I wrote.

The code will show the current user, if they are authenticated, and what the authentication type that the application is using.

 

Set Up Authentication in LightSwitch  

image...
By Michael Washington on 8/21/2010 2:34 PM
image

With Visual Studio LightSwitch, you have a “get out of jail free card” in the use of Custom Silverlight Controls. With a Custom Silverlight Control, you can implement functionality that is outside the normal abilities of LightSwitch.

I’m sure your greatest fear is having to stand in front of the Chief Technology Officer, and explain why the LightSwitch application, that the company invested so much time and energy into, has to now be re-written as a regular Silverlight application because it “can’t perform the new requirements”.

Let’s put aside the fact that in normal business environments, you have several applications running...
By Michael Washington on 8/20/2010 9:18 PM

image

8:40 pm – I downloaded LightSwitch and it’s installing. I downloaded the .iso image and mounted it with PowerISO. This is a Beta and the first one at that. All I hope to see is “idiot Proof”...

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