8/21/2010 Admin@adefwebserver.com
The First Hour With Lightswitch –BETA-
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