Ken Casada Developer Evangelist Microsoft Switzerland Visual Studio LightSwitch Der schnellste Weg zur Entwicklung: Visual Studio LightSwitch entdecken
Applications Data + Screens =
New Way Of Developing… Add Data Source… Data Model Add Screen… F5 Run Debug
Overview (part 1) demo…
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 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) LS DLLs Storage IIS/Azure IIS/Azure (Middle-tier)
Overview (part 2) demo…
Demo Summary Defining your data in a LightSwitch App Business Types + Custom validation Creating Search / Master-Details screens
Sorting, Filtering and more… demo…
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)
Extending LightSwitch App Software requirements for developing LS Extensions: Visual Studio Professional 2010 or higher (with SP1)! Visual Studio 2010 SP1 SDK LightSwitch Extensibility Toolkit By supporting 6 extensions points: Controls Screen Templates Business Types Shelll Theme Custom Data Sources Extending Visual Studio LightSwitch Portal Extending Visual Studio LightSwitch Portal
OLAP Ext. (ComponentOne)
Reporting Ext. (DevExpress)
Dokument Toolkit Ext. (First Floor)
Data Providers Ext. (RSSBus)
Using LightSwitch Extensions (Infragistic Extensions sample) demo…
Extending LightSwitch App By implementing Custom Silverlight Controls Example: Adding a chart to a LS app using the Silverlight Toolkit Chart control
Adding a custom SL Control demo…
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 Determine who the current user is ( this.Application.User ) Info about permissions and roles
Security demo…
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
LightSwitch App Deployment
Publishing LightSwitch App How to publish LightSwitch App on Windows Azure windows-azure-andy-kung.aspx How to configure IIS to Host LightSwitch App configure-a-web-server-to-host-lightswitch-applications.aspx
Deployed App demo…
Resources Download Visual Studio LightSwitch LightSwitch Developer Center LightSwitch Blog LightSwitch Forums LightSwitch "How Do I?" Videos LightSwitch Starter Kits
Please help us make TechDays even better by Evaluating this Session. Thank you! Give us your feedback!
Q&A
© 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.