View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
Basic #1: Data Data is the base of our application LS allows Connecting to existing data sources Newly created tables Creating relations between tables Even in one or more databases Based on data, LS will do Field validation Transactions processing Concurrency checking
Basic #1: Data LS can connect to Existing SQL Server data base SharePoint list WCF RIA Service LS has an internal database as well, used for Internal setting storage Custom entities LS allows changing internal fields, external can’t be changed
Basic #1: Data LS can create relations between data items If items are in internal database Doesn’t work between 2 external items Works between 2 different types (internal and SQL Server for example)
Basic #2: Screens Screensallowus to display data A LS app is made up of screens (whichmayseemlogical) Creating a screen is done by: Selecting the type of screen you want Selecting the data you want Have LS generateit for you These screenscan be tweaked: Howthey look What features they offer What commandstheyallow ...
Basic #2: Screens Types of screens that exist in LS: New Data Screen Search Data Screen Details Screen Editable Grid Screen List and Details Screen Your own!
Basic #2: Screens Appearance of screens can be altered: Using the Screen Designer (Visual Studio) Customization Mode Screen (Run time, sends back the changes to Visual Studio)
Basic #3: Queries A query in LS returns data that matches some criteria Return all products in selected category LS has internal query designer A query becomes part of the model Can be used to create (part of) screens from
Where to extend? LightSwitch has 6 extensibility points
Extending LightSwitch Possible to combine multiple extensions: An extension provides a Money Market solution by using a Shell that has specific trading navigation A theme that is specific to the trading company Anumber of screen templates and controls that provide visualizations for trading data A custom data source could be the extension that aggregates the data to the application