using microsoft lightswitch for visual studio sergey barskiy sergeyb@magenic

9
Using Microsoft LightSwitch for Visual Studio Sergey Barskiy [email protected] www.DotNetSpeak.com

Upload: kalare

Post on 16-Feb-2016

47 views

Category:

Documents


0 download

DESCRIPTION

Using Microsoft LightSwitch for Visual Studio Sergey Barskiy [email protected] www.DotNetSpeak.com. What is LightSwitch?. Visual Studio project type that allows developers and technically savvy business users to build Silverlight applications with little or no coding required - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

Using Microsoft LightSwitch for Visual Studio

Sergey [email protected]

Page 2: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

What is LightSwitch?• Visual Studio project type that allows developers and technically

savvy business users to build Silverlight applications with little or no coding required

• Targets data centric RIA applications• LightSwitch is currently in beta• It will be paid-for SKU when shipped• Will be available for free if you have any paid-for version of Visual

Studio

Page 3: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

LightSwitch Architecture• LightSwitch applications are 3 tier Silverlight applications• They use MVVM pattern• They use WCF RIA Services to communicate with a server

component• Support SQL Server or SQL Azure

Page 4: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

LightSwitch Application Project

Page 5: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

LightSwitch Application Properties• General properties

– Icon– Title

• Screen navigation• Access Control Security

– None– Windows– Forms / Custom

• Application Type– Desktop client, 2-tier deployment creates an application that runs on the end-user’s Windows

desktop; the database and server components run on a networked computer.– Desktop client, 3-tier deployment creates an application that runs on the end-user’s Windows

desktop; the database and server components run on an Internet Information Services (IIS) server.

– Browser client, 3-tier deployment creates an application that runs in the end-user’s web browser; the database and server components run on an Internet Information Services (IIS) server.

Page 6: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

Building LightSwitch Application• Data

– Point to existing database– Create new database

• Tables • Relationships• Rules / read-only data

– Required– Lists– Field Type

– “Write Code” Link

Page 7: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

Building LightSwitch Application• User Interface

– Forms– Form Navigation

• Publish Wizard (Build menu)– Create MSDeploy package– Deploy immediately

Page 8: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

LightSwitch Resources• http://lightswitch.adefwebserver.com/• http://blogs.msdn.com/b/lightswitch/archive/2010/08/06/the-

anatomy-of-a-lightswitch-application-overview.aspx• http://blogs.msdn.com/b/lightswitch/• http://blogs.msdn.com/b/lightswitch/archive/2010/09/15/lightswitch-

how-do-i-videos-on-the-developer-center-beth-massi.aspx• http://msdn.microsoft.com/en-us/library/ff852064.aspx

Page 9: Using Microsoft LightSwitch for Visual Studio Sergey Barskiy SergeyB@Magenic

Questions