Posts tagged with 'lightswitch'
If you are upgrading your current ComponentOne LightSwitch extension to 2012 v1, there are some changes you should be aware of. They now use an installation program and they require a serial number (without a serial number, you will see a trial notification).
Microsoft Visual Studio LightSwitch has a great feature nobody talks about: the ability to use SharePoint as a data source. Data is created and stored in SharePoint all the time and that data is often useful in business applications. Imagine a project management or time management application, for example. Chances are that there is a SharePoint calendar somewhere that has useful data for that application.
After one of my recent LightSwitch talks, I was asked if there is a way to change the connection string in the LightSwitch designer. This led to a discussion between myself, Michael Washington and Beth Massi. Unfortunately, in the designer, there is not currently a good way to update the connection string. You will have to add a new data source, remove the old one, and redesign all your screens. Since servers can change names, or databases be relocated, this isn't an ideal situation in the long term. I posted a request on User Voice to enable easy changing of the connection string in the designer (vote at http://visualstudio.uservoice.com/forums/127959-visual-studio-lightswitch/suggestions/2404471-ability-to-change-connection-string-in-designer).
Thanks to everyone who tuned in to watch! Sorry for the NVidia burp in the middle of my OLAP for LightSwitch demo. If you'd like a live demo or some additional details about ComponentOne's LightSwitch tools, click on over to http://www.componentone.com/LightSwitch/.
Kudos to Joe Guadagno and all the volunteers for putting on a great event, and thanks to all the attendees who gave up a Saturday--you're the reason this all happens! The best part of my job is getting into the community and meeting and learning from all sorts of cool people. Not to disparage the hospitality shown to us, but no one mentioned we needed to pack our winter coats this weekend...
LightSwitch makes building data-centric applications crazy easy, but sometimes the way a screen behaves isn't initially intuitive. One of the things that trips people up is the way searches work--by default, only string fields in the current entity are searched, and the LIKE comparison is used. Two of the screens you see this behavior on are the Editable Grid Screen and the Search Data Screen.
In a previous job, when we'd build LOB applications, we'd start with an understanding of the data, and build out the database, then the application. In LightSwitch, you again start by building a model of your database and work up to your application. In the little amount of time I've worked with LightSwitch, I've found three things to keep in mind when designing your databases. There will no doubt be more tips, but here are my first three:
St. Louis Day of .NET was the debutante ball for Microsoft's LightSwitch--LightSwitch was released just the prior week, and Jay Schmelzer was on hand to deliver the keynote address.