Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.

Similar presentations


Presentation on theme: "Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch."— Presentation transcript:

1 Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch

2 Turn off your mobile. Thank you.

3 3 The simplest way to create business applications for the desktop and the cloud

4 4 LightSwitch is for End User Developers

5 5 What do End User Developers Want? A smooth on-ramp to development Built-in plumbing that handles common application requirements (connect with data source, crud, search, paging, validation, error messages… ) Simple and flexible deployment

6 6 LightSwitch is for Professional Developers

7 The LightSwitch Development Experience

8 8

9 9

10 10 LightSwitch Application Overview

11 11 The LightSwitch Development Experience

12 12 Tables Can be local (SQL Server Express) or attached (SQL Server, SQL Azure, SharePoint, Odata Services, WCF RIA service) Custom business types Provide validation and formatting Calculated properties Write code to generate value Can create relationships within and across data sources Can validate at the table or property level

13 13 Screens Variety of built in screens New, search, details, editable grid, list and details Always based on queries Can use auto-generated screens for adding/editing or create your own Developers can modify screens at design-time and runtime Generated screens do not expose XAML You can use Silverlight controls you create yourself You can add UI elements packaged as extensions

14 14 Queries LightSwitch creates queries automatically Select * query is a collection, eg. CustomerCollection Select where query is a detail, eg. CustomerDetail You can edit existing queries Filter, sort, add parameters You can create new queries You can base queries on other queries

15 15

16 Access Control Deployment Options

17 17 Access Control Authentication LightSwitch supports Windows and Forms authentication (LS with auth. knows who is user who use app) Authorization Check if the user is allowed to do something Define permissions and check them in code at table and property level Permissions are granted through administration screens

18 18 Access Control Permissions are defined by the developer The application’s administrator(s) define(s) users and roles Permissions are assigned to roles Users are assigned to roles A user’s effective permissions are the combined permissions assigned to their roles

19 19 Deployment Options 2-tier desktop application Application runs entirely on user’s computer 3-tier desktop application User interface runs on user’s computer Middle-tier components run on Internet Information Services (IIS) or Windows Azure 3-tier web application User interface is browser based Middle-tier components run on IIS or Windows Azure Services only (web service without client)

20 20

21 HTML Client

22 22 But wait, isn’t Silverlight dead? Microsoft release LightSwitch HTML client in Visual Studio 2012 Update 2 – 04. April 2013 (last update March 2014) HTML5 and JavaScript-based client Build touch-oriented business applications that run well on modern mobile devices New SharePoint 2013 apps model make easier to build custom business apps with LightSwitch into SharePoint / Office 365

23 23 HTML client

24 24 Summary The simplest way to create business applications for the desktop and the cloud Visual Studio LightSwitch provides A smooth on-ramp to development Built-in plumbing that handles common application requirements Simple and flexible deployment Built for both end user and professional developers

25 25 Resources Visit the LightSwitch Developer Center on MSDN http://msdn.com/lightswitch Check out the LightSwitch Team Blog http://blogs.msdn.com/lightswitch Download the LightSwitch Training Kit http://go.microsoft.com/?linkid=9741442 Visit the LightSwitch Forums on MSDN http://social.msdn.microsoft.com/Forums/en-US/lightswitch Visit Beth Massi Blog about LightSwitch http://blogs.msdn.com/b/bethmassi/

26 26 My Contact Information spasolaz@hotmail.com http://spasol.wordpress.com/ Twitter: @spasobn

27 Q&A.

28


Download ppt "Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch."

Similar presentations


Ads by Google