Visual Studio LightSwitch How Do I Videos

Visual Studio LightSwitch How Do I Videos

  • Comments 20

I’ve done my fair share of How Do I videos over the years, particularly on Visual Basic and related technologies. And even though I really don’t like hearing the sound of my own voice (who is that? ;)) I do love teaching. I also love doing How Do I videos for LightSwitch because the tool really lends itself well to short 5-10 minute videos. I’ll be working on more of them this week and will release them weekly. For now, enjoy the first 5 that we released yesterday on the LightSwitch Developer Center.

These videos are meant to be watched in order because each one builds on the last one. If you are familiar with the old Windows Forms Over Data series I did a few years ago, the application will be familiar to you because we build out the same tables and fields for a simple order management system in this series. It’s amazing how much farther along we get in this series building the application with LightSwitch instead.

In the next few videos I’m going to tackle Custom Validation, Master-Detail forms, Lookup Tables, and some more advanced Queries.


Leave a Comment
  • Please add 2 and 7 and type the answer here:
  • Post
  • Love your videos.  Thank you so much.  I would love to see getting role based permissions to work, and how to troubleshoot possible problems.  

  • Well done! LS seems to be as sweet as Oreos :-)

  • Thanks for the videos, most helpful. I also would like to see some examples using permissions. Perhaps demonstrate some logic to show alternative create/edit dialogs dependent on the current role? In fact just authentication in general as I can't figure out how to actually authenticate.

  • Another one which will crop up a lot: de-normalizing entities.

    Developing typical LOB applications when working with highly normalized data sources is quite difficult. Take for instance an invoicing app. The user must be able to create invoices using a form which looks like a printed invoice. The top half shows the summary with typical address & reference fields. The bottom half shows the detail consisting of product, description, type, quantity etc.

    The data is stored in the following hierarchy: invoice -> invoice detail -> product -> product type. Additionally there would be an address, so invoice -> customer to consider.

    Most samples demonstrating LOB apps use fairly de-normalized data so they are easy to understand. But LS will be targeted at beginners - like myself - who will have to work with normalized sources.

    Creating sample application of this type will help people to understand not only LS but also the Entity Framework.

    Thank you.

  • Sorry for multiple postings. I didn't see the banner at the top :(

  • Hi Beth.

    Great videos.

    Very clearer and easier. Thanks a lot.

  • i am waiting for the next video..

    when the video release ?

  • Thanks all, I'll add these suggestions to the list. I'm working on the next few this week and hope to have them published next week.

    BTW, Niel/JohnB check out this topic on how to set up and use security roles:

  • Very helpful, but at 1:31 on video #2 you say 'hit a five'(? I think) and the screen is generated. I couldn't understand what you said or where the mouse went. Can you help me with this? Sorry and thanks.

  • I really want to improved my skills as system developer, thanks for the tutorial beth...

  • Sorry, I figured out that you said F5, it wasn't a mouse action.

  • Hi Les, yes I said "F5" that's the build and debug action in Visual Studio. You can also press the "play" button the the on the toolbar to start debugging. I will try to make it clearer in the rest of the videos. I'm working on a couple more today and wi'll get them published next week.

  • Thank you Beth, I really appreciate what you are doing! It's been about 20 years since I did much programming, in Foxpro. With your series it's beginning to come back. I'm glad I didn't go much beyond 'dabbling' since, procrastination paid once again!

  • I would like to point LightSwitch to Azure Dallas...<HELP>

  • Hi John,

    We do not plan on supporting the ability for LightSwitch apps to connect to OData sources in v1.  It is a popular request and is currently rating fairly high on the list of things we’ll look at for the next version.

    That said, you could create a RIA donmain service that wraps the OData source and then consume it that way.

Page 1 of 2 (20 items) 12