Download presentation
Presentation is loading. Please wait.
Published byGilbert Hall Modified over 8 years ago
1
Ken Casada Developer Evangelist Microsoft Switzerland Kcasada@microsoft.com http://blogs.msnd.com/swiss_dpe_team/Default.aspx Découvrez le Visual Studio LightSwitch, nouvel Silverlight outils de “Rapid Application Development”
2
Applications Data + Screens =
3
New Way Of Developing… Add Data Source… Data Model Add Screen… F5 Run Debug
5
SQL Server/Express SQL Azure SharePoint 2010 ASP.NET 4.0 WCF RIA Services Entity Framework Silverlight 4.0 WCF RIA Services Client LightSwitch App Architecture Presentation Logic Data LS DLLs IIS/Azure IIS/Azure (Middle-tier) In-Browser In-Browser (Mac/Windows) (Mac/Windows) Out-Of-Browser Out-Of-Browser (Windows Client) (Windows Client) Out-Of-Browser Out-Of-Browser (Windows Client) (Windows Client) Storage
7
Demo Summary Defining your data in a LightSwitch App Business Types + Custom validation Creating Search / Master-Details screens
9
Demo Summary Sorting & Filtering Data on a Screen Using Query Designer Using coded Query (with parameter) Creating Master-Details screens using non standard templates (AutoCompleteBox with Categories List of related Products)
10
Extending LightSwitch App Requires Visual Studio Professional 2010 or above ! By supporting 6 extensions points: Controls Screen Templates Business Types Shelll Theme Custom Data Sources LightSwitch Beta 2 Extensibility «Cookbook» LightSwitch Beta 2 Extensibility «Cookbook»
11
Touch-Friendly Shell
12
Extending LightSwitch App By supporting Custom Silverlight Controls Example: Adding a chart to a LS app using the Silverlight Toolkit Chart control
14
Security in LightSwitch Apps 2 Types of Authentication Windows Authentication Forms Authentication (user is automatically prompted for the user name and pw) Users are managed within the running application built-in administration screens available within the running application (only users with built-in SecurityAdministrator permission have the ability to manage users) Security API providing access points to perform security checks Detetmine who the current user is ( this.Application.User ) Info about permissions and roles
16
LightSwitch App Deployment LS DLLs IIS/Azure IIS/Azure (Middle-tier) In-Browser In-Browser (Mac/Windows) (Mac/Windows) Desktop (Windows Client) Desktop (Windows Client) Desktop (Windows Client) Storage
17
LightSwitch App Deployment
18
Publishing LightSwitch App How to publish LightSwitch App on Windows Azure http://blogs.msdn.com/b/lightswitch/archive/2011/03/18/step-by-step-how-to-publish-to- windows-azure-andy-kung.aspx How to configure IIS to Host LightSwitch App http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to- configure-a-web-server-to-host-lightswitch-applications.aspx
20
And more... Today: Visual Studio LightSwitch Beta2 Localization support
21
Resources Download Visual Studio Light Switch Beta 2 LightSwitch Developer Center LightSwitch Blog LightSwitch Forums LightSwitch "How Do I?" Videos
23
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.