The First Hour With Lightswitch –BETA-
Aug
18
Written by:
8/18/2010 8:54 PM
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”. I already know how to program full scale Silverlight application.
This is not for me. It’s for “you” and “them”. The people who will hopefully have a tool that allows them to build useful applications… that will need professionals like me when they are ready to take to the next level.
Ok let’s do this…
Hmm that wasn’t what I was expecting to see next… (I don’t know what I expected actually…)
Ok now I’m wandering aimlessly… I hope this is what I’m suppose to do next…
Whew! Ok I think I’m back on track…
Yes! We have already achieved the start of Idiot Proof! (Must buy more MSFT stock…)
I spend 1 minute making a table that I call Messages.
I click on the Screen button.
Ok all this seems obvious. I am doing this as it happens so at this point I do not know if this will actually work…
Hmm… now what am I looking at? Must stare at this screen for a bit…
Ok I couldn’t resist, I had to click the Write Code button. Hmm I like what I see you are actually suppose to be able to write code if you need to.
But, I want to see what you can do if you don’t know how to write code.
Ok one small detour, If I click on the “Save bar”…
I see additional places to write code :)
But, I have to admit I am totally lost. When in doubt, hit F5…
Nooooooo
(sigh)
Ok I cannot resist a small rant. This is not ok, it must work, period. If this were Microsoft Access it would work. period. This kind of thing is also the problem I have with WCF. It is is hard to deploy. The fact that it is so great means nothing if it doesn’t work. Things must work, period. Ok rant over.
In case you didn’t notice, I am no longer wearing my “happy face”. However, this is a Beta software, and consider the rant above my “early feedback”. At this point a “Popup Wizard” should open up and guide me through solving the connection problem.
Ok now I have my “professional programmer” hat on and I’m gonna try to figure this one out. I double-click on MessagesSet in the Solution Explorer…
Click on Attach to External Data Source…
Umm let’s click Database and then Next…
Ok I am connecting to one of my existing databases because I don’t know what else to do…
Ok I am connecting to the database used in this tutorial: RIATasks: A Simple Silverlight CRUD Example
I point that out because while that tutorial is easy, it is still a LOT for a person to go through to create an application. My hope is that LightSwitch will make things like that easy.
Now that it looks like I wont have a connection problem connecting to my existing data source, let’s try to build an application with my existing Tasks table…
Ok fine, the smile is starting to return…
However, the Solution Explorer now looks like the image above. I am going to delete MessagesSet and CreateNewMessages screen…
Second Try: Application 2
Ok when I tried to build the project after deleting that stuff, it still wanted to connect to SQL Server Express (I have it installed and I know what the problem is (it is turned off!), but that’s not the point).
I create a new project. Click Attach to external database…
Connect to my existing database…
Create a Screen…
Let’s keep it simple…
Hold breath and hit F5…
(sigh)
9:40 pm - ok I’m off to bed…
No wait! I wont sleep tonight with this bugging me! I go into my Sql Server Configuration and right-click on SQL Server Express and turn it on (I had a good reason for having it turned off!).
I hit F5 and the application now works.
In Conclusion
Right now this is Beta. You have to expect “issues”. So far I am happy with these things:
- There is a “path” for a non-programmer to get something working
- There are PLENTY of places to drop in code
- The overall design and concept seem correct to me
13 comment(s) so far...
Re: The First Hour With Lightswitch –BETA-
Was Sql Server already on your machine when installing LightSwitch (as you had VS 2010 Ultimate already on there you might have installed that with Sql Express)? Because in that case you can't blame Microsoft for leaving your Sql config alone. You're smart enough to install Sql? Make sure you do it right. If Sql wasn't already on your machine then just ignore my comment.
By Jonathan van de Veen on
8/19/2010 4:05 AM
|
Re: The First Hour With Lightswitch –BETA-
I have no SQL instance named SQLEXPRESS and I tried almost everything I can do to connect to my custom instance name (sql2008) but failed. So can you tell how to do that?
By Vinit Yadav on
8/19/2010 4:02 AM
|
Re: The First Hour With Lightswitch –BETA-
@ Vinit Yadav - Sorry I am not an expert on SQL Server Express :(
By Michael Washington on
8/19/2010 4:02 AM
|
Re: The First Hour With Lightswitch –BETA-
@Vinit Yadav - Sorry but I don't agree. SQL Server Express should only be in my configuration if it is being used. I do not want to use SQL Server Express.
By Michael Washington on
8/19/2010 4:05 AM
|
Re: The First Hour With Lightswitch –BETA-
Good stuff bro. As for the SQL Server instance. This part bugs me because I run SQL Server 2008 Enterprise. I'd like an option to keep SQL Server Express from getting installed. Playing around with Lightswitch last night I got the same "feel" as you did. All the best, Mark
By Mark Wisecarver on
8/19/2010 5:32 AM
|
Re: The First Hour With Lightswitch –BETA-
@Mark Wisecarver - Thanks for the comment. The Beta is about getting feedback. Make sure you provide feedabck at: social.msdn.microsoft.com/Forums/en-us/lightswitchgeneral/threads
By Michael Washington on
8/19/2010 5:34 AM
|
Re: The First Hour With Lightswitch –BETA-
To be honest I hadn't heard of Lightswitch until today. I think it's great, because it will make a bunch of people who can turn on a computer think they're programmers and they'll start creating applications that I can probably spend the rest of my working years fixing.
By Craig on
8/19/2010 7:36 AM
|
Re: The First Hour With Lightswitch –BETA-
I'm surprised they aren't already using the recent SQL Server CE 4.0 stuff to make getting started with a database a little easier.
By David Padbury on
8/19/2010 8:25 AM
|
Re: The First Hour With Lightswitch –BETA-
@David Padbury - This is Beta so perhaps that is the "eventual plan", I hope :)
By Michael Washington on
8/19/2010 8:26 AM
|
Re: The First Hour With Lightswitch –BETA-
@Craig - I am going to stick my neck out on this one and say that with LightSwitch you will have LESS buggy software because it "holds your hands".
By Michael Washington on
8/19/2010 8:27 AM
|
Re: The First Hour With Lightswitch –BETA-
This is kinda expected with a beta. I am fighting my own daemons trying to get a successful build because of WCF RIA Services issues. Oh well, be patient and keep testing its limits. I know I have been, and will continue to do.
I'm keeping a journal of my LightSwitch "journey" here: blog.selectsystems.ca/?cat=51
Cheers!
By Paul Patterson on
8/19/2010 12:13 PM
|
Re: The First Hour With Lightswitch –BETA-
@Paul Patterson - That is a great site blog.selectsystems.ca/?cat=51
By Michael Washington on
8/19/2010 12:23 PM
|
Re: The First Hour With Lightswitch –BETA-
Not sure who the target audience for the product is - school kids?. How useful is this in creating some serious applications - is it only a db-view linker ?
By Nitin on
8/20/2010 4:10 AM
|