Ordina SOFTC Presentation - Visual Studio LightSwitch


Published on

Ordina's Stand out from the Crowd event of May 26th - the presentation, see them all on Slideshare Ordina Belgium

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Ordina SOFTC Presentation - Visual Studio LightSwitch

  1. 1. Switch on the LightSwitch<br />Gill Cleeren<br />gill.cleeren@ordina.be<br />
  2. 2. Glad to meet you!<br />Gill Cleeren<br />Microsoft Regional Director<br />MVP Silverlight<br />.NET Architect @Ordina (www.ordina.be) <br />Speaker (TechDays, DevDays, NDC Norway, Spring Conference UK, SQL Server SaturdaySwitzerland...)<br />Visug user grouplead(www.visug.be)<br />Author(Silverlight 4 Data and services cookbook)<br />www.snowball.be - gill@snowball.be - @gillcleeren<br />
  3. 3. Agenda<br />Introduction: what and why LightSwitch?<br />The basics<br />Data<br />Screens<br />Queries<br />Small demo<br />Extending LightSwitch<br />
  4. 4. What and Why LightSwitch?<br />Introduction<br />
  5. 5. Not everyone is a developer...<br />This guy at least looks like one...<br />
  6. 6. Developers like working fast as well<br />This is not a Mac...<br />
  7. 7. What is LightSwitch?<br />An easy way to build business apps for desktop and cloud applications<br />
  8. 8. The LightSwitch Development Experience<br />At this point, we already have working app (SL, MVVM, RIA Services)<br />
  9. 9. The basics of LightSwitch<br />
  10. 10. Basic #1: Data<br />Data is the base of our application<br />LS allows<br />Connecting to existing data sources<br />Newly created tables<br />Creating relations between tables<br />Even in one or more databases<br />Based on data, LS will do<br />Field validation<br />Transactions processing<br />Concurrency checking<br />
  11. 11. Basic #1: Data<br />LS can connect to<br />Existing SQL Server data base<br />SharePoint list<br />WCF RIA Service<br />LS has an internal database as well, used for<br />Internal setting storage<br />Custom entities<br />LS allows changing internal fields, external can’t be changed<br />
  12. 12. Basic #1: Data<br />LS can create relations between data items<br />If items are in internal database<br />Doesn’t work between 2 external items<br />Works between 2 different types (internal and SQL Server for example)<br />
  13. 13. Basic #2: Screens<br />Screensallowus to display data <br />A LS app is made up of screens (whichmayseemlogical)<br />Creating a screen is done by:<br />Selecting the type of screen you want<br />Selecting the data you want <br />Have LS generateit for you<br />These screenscan be tweaked:<br />Howthey look<br />What features they offer<br />What commandstheyallow<br />...<br />
  14. 14. Basic #2: Screens<br />Types of screens that exist in LS:<br />New Data Screen<br />Search Data Screen<br />Details Screen<br />Editable Grid Screen<br />List and Details Screen<br />Your own!<br />
  15. 15. Basic #2: Screens<br />Appearance of screens can be altered:<br />Using the Screen Designer (Visual Studio)<br />Customization Mode Screen (Run time, sends back the changes to Visual Studio)<br />
  16. 16. Basic #3: Queries<br />A query in LS returns data that matches some criteria<br />Return all products in selected category<br />LS has internal query designer<br />A query becomes part of the model<br />Can be used to create (part of) screens from<br />
  17. 17. The BookStore application<br />
  18. 18. Extending LightSwitch<br />
  19. 19. Where to extend?<br />LightSwitch has 6 extensibility points<br />
  20. 20. Extending LightSwitch<br />Possible to combine multiple extensions:<br />An extension provides a Money Market solution by using a Shell that has specific trading navigation<br />A theme that is specific to the trading company<br />Anumber of screen templates and controls that provide visualizations for trading data<br />A custom data source could be the extension that aggregates the data to the application<br />
  21. 21. Extension hooks<br />
  22. 22. Controls<br />
  23. 23. Business types<br />A Business type provides a way to visualize, format, validate and store information/data<br />Basically, this is just a visual formatting on data<br />
  24. 24. Screen templates<br />
  25. 25. Shell<br />
  26. 26. Theme<br />
  27. 27. Custom data source<br />
  28. 28. Using extensions in LightSwitch<br />
  29. 29. Summary<br />LightSwitch is a nice tool to build LOB app with<br />Easy<br />For developers and “non-developers”<br />Fast<br />Choice of deployment options<br />Extensible<br />
  30. 30. 30<br />
  31. 31. Follow Ordina…<br />31<br />Share your thoughts via #SOFTC <br />Follow us on twitter: @OrdinaBE<br />Find the presentationsonwww.slideshare.net/ordinaBe<br />Be informed atwww.linkedin.com/company/ordina-belgium<br />