|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
De-fault Screens
|
kchristo
Wednesday, November 7, 2012
|
Switching the Lights
|
Hits:
2
|
If you have tried implementing something that required a mechanism more complex than the default one provided by LightSwitch regarding default screen selection, you already are familiar with the limitations.
For the ones that don’t get what I mean, a very common example is open the details screen of an object from a list containing items from a view (database view) that include the id of the original object. Imagine you have a Customer entity and a CustomerInfo entity that comes from a database view bringing aggregated data of the customer from various tables. Selecting and editing the CustomerInfo you want to edit the Customer not the CustomerInfo.
...
|
Read More »
|
|
|
|
Simple Extension Methods (part 3)
|
kchristo
Friday, July 13, 2012
|
Switching the Lights
|
Hits:
2
|
One very common task when one is implementing the business logic in Common project is writing custom PropertyName_Changed partial methods. This “approach” has an undesired “side-effect” when the property is an entity property (as compared to screen properties)....
|
Read More »
|
|
Simple Extension Methods (part 2)
|
kchristo
Friday, July 13, 2012
|
Switching the Lights
|
Hits:
2
|
In the previous post I presented an extension method used mostly for overriding the edit and delete commands of a collection. One may ask “why do I want to do this?”. Apart from any other requirements/business logic dependent reason one might want to implement,...
|
Read More »
|
|
Simple Extension Methods (part 1)
|
kchristo
Friday, July 13, 2012
|
Switching the Lights
|
Hits:
2
|
As soon as I started writing LightSwitch applications I noticed that many times I was repeating the same code over and over for trivial tasks. So after all this time I have collected a number of extension methods that I widely use in my apps. For me reusing...
|
Read More »
|
|
|
|
|
|
Flipping on LightSwitch article in SD Times
|
Michael Washington
4/23/2012 3:57 PM
|
LightSwitch Help Website
|
Hits:
2
|
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 More »
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re-Views
|
kchristo
Tuesday, February 7, 2012
|
Switching the Lights
|
Hits:
2
|
In previous posts I made reference to views (DB or RIA) as an alternative (amongst other well-known potentials of views) to search and sort...
|
Read More »
|
|
|
|
|
Save (is a pain in the) As
|
kchristo
Monday, January 16, 2012
|
Switching the Lights
|
Hits:
2
|
Currently being in the process of developing a business application, I came across an issue that looked harmless, but turned out to be what the title elegantly :-P implies.
Being very proud of what I can achieve in no time with LS, I had my product...
|
Read More »
|
|
|
|
|
|
|
|
CLASS Extensions. Making of (Part II)
|
kchristo
Saturday, October 29, 2011
|
Switching the Lights
|
Hits:
2
|
Crashing your LightSwitch project with your extensions is a piece of cake. The first simplest thing I did was change the business type to handle integer values instead of string ones. But I changed “:String” to “:Int”. That was enough to do it. It should be...
|
Read More »
|
|
CLASS Extensions. Making of (Part I)
|
kchristo
Sunday, October 23, 2011
|
Switching the Lights
|
Hits:
2
|
I haven’t been able to post during the last week. It’s been a very hectic week and I didn’t have time or when I did have the time I didn’t have the courage…
Anyhow, I am going to share with you issues I had to face creating my first LightSwitch Extensions...
|
Read More »
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Excel Importer with Template Support
|
kchristo
Thursday, July 14, 2011
|
Switching the Lights
|
Hits:
2
|
Immediately after using Excel Importer extension for the first time and trying to see how this would fit into our new “want to be” business application framework, I realized that defining the column mappings every time was definitely an issue.
So I...
|
Read More »
|
|
|
LightSwitch–Modal Add and Edit Windows
|
Richard Waddell
6/14/2011 10:17 AM
|
Richard Waddell
|
Hits:
2
|
The default Add and Edit screens generated by LightSwitch often don’t allow the control you need to meet the business requirements. Consider the scenario where an entity must have a password column. Ideally we’d want the ‘Add’ screen to look something like...
|
Read More »
|
|
LightSwitch Concurrency Checking
|
Michael Washington
6/4/2011 6:25 AM
|
LightSwitch Help Website
|
Hits:
2
|
One of the greatest benefits to using LightSwitch, is that it automatically manages data integrity when multiple users are updating data. It also provides a method to resolve any errors that it detects.
The first issue is very important, and with most...
|
Read More »
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LightSwitch Student Information System
|
Michael Washington
9/14/2010 6:52 PM
|
LightSwitch Help Website
|
Hits:
2
|
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.
...
|
Read More »
|
|
|
|