Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
DEV203. The simplest way to create business applications for the desktop and the cloud.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Robert MacLean BBD Software Visual Studio Lightswitch TRACK: Next Gen.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
announcing Dev Manager Do I understand what we’ve built? Developer Can I bet on using this shared component? Testers What’s changed since I last.
DEV211. The simplest way to create business applications for the desktop and the cloud.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
public class Foo { Bar _bar; public Foo() { this._bar = new Bar(); } public class Foo { IBar _bar; public Foo(IBar barDependency) {
Ken Casada Developer Evangelist Microsoft Switzerland Découvrez le Visual Studio.
Ken Casada Developer Evangelist Microsoft Switzerland Visual Studio LightSwitch.

Creating & Consuming Open Data (OData) Cloud Services using LightSwitch Beth Massi Senior Program Manager, Visual Studio
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Ken Casada Developer Evangelist Microsoft Switzerland
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Managing the Solution Lifecycle for xRM Applications
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 12/2/2018 3:48 PM
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
12/7/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
TechEd /7/ :33 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Tech·Ed North America /7/2018 2:51 PM
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech Ed North America /1/ :36 AM Required Slide
TechEd /11/2019 2:47 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Building Silverlight Apps with RIA Services
Building Business Applications in LightSwitch
Tech Ed North America /12/2019 6:45 AM Required Slide
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/19/2019 1:57 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Шитманов Дархан Қаражанұлы Тарих пәнінің
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Title of Presentation 5/24/2019 1:26 PM
8/23/ :09 PM #DEV332 Building Modern, HTML5-Based Business Apps on Windows Azure and Office 365 with Visual Studio LightSwitch Andrew
What’s New in Visual Studio 2012 for Web Developers
11/1/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Presentation transcript:

Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201

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

LightSwitch is for End User Developers

What do End User Developers Want? ► A smooth on-ramp to development ► Built-in plumbing that handles common application requirements ► Simple and flexible deployment

LightSwitch is for Professional Developers

The LightSwitch Development Experience Refine Author business logic Extend Customise screen layouts Define custom queries Explore ecosystem components Create custom Silverlight controls Integrate with custom data sources

demo Introduction to LightSwitch

LightSwitch Architecture Client Tier Middle Tier Data Access SQL ServerSQL AzureSharePoint Other Silverlight 4.0 Desktop HostBrowser Host Methods Controls Screens Data Workspace WCF RIA Services ASP.NET 4.0 IIS 6.0/7.0 Submit Pipeline Queries Data Workspace WCF RIA Services

Entities

Custom Business Types

Calculated Properties partial void FullName_Compute(ref string result) { // Set result to the desired field value result = string.Format("{0} {1}", this.GivenName, this.FamilyName); }

Relationships

Validation

partial void DateOfBirth_Validate(EntityValidationResultsBuilder results) { if(DateOfBirth.AddYears(15) > DateTime.Now) { results.AddPropertyError("Must be at least 15 years old"); } partial void Authors_Validate(Author entity, EntitySetValidationResultsBuilder results) { // could call out to a service here or whatever if (entity.DateOfBirth == null && entity.Age == null) { results.AddEntityError("Must set either the date of birth or the age"); }

Screens ► Built in screens – New – Search – Details – Editable grid – List and details ► Developers can modify screens at design-time and runtime ► Can use auto-generated screens for add/edit or create your own ► Generated screens do not expose XAML – Can use Silverlight controls you create yourself – Can add UI elements packaged as extensions ► Always based on queries

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

The LightSwitch Development Experience Refine Author business logic Extend Customise screen layouts Define custom queries Explore ecosystem components Create custom Silverlight controls Integrate with custom data sources

The LightSwitch Development Experience Start Describe your data Create screens for common tasks Create custom Silverlight controls Integrate with custom data sources

demo Entities, Screens, Queries and Code

Access Control ► Windows and Forms authentication ► Authorization – Define permissions and check them in code at entity and property level – Permissions are granted through administration screens

Access Control Users are assigned to roles Permissions assigned to roles Application’s administrators define users and roles Permissions defined by the developer

Two-tier Desktop App UI Logic Data

Three-tier Desktop App UI Data Logic

Three-tier Web App UI Data Logic

demo Access Control and Deployment

LightSwitch Gives You ► A smooth on-ramp to development ► Built-in plumbing that handles common application requirements ► Simple and flexible deployment

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

Next Steps ► MSDN LightSwitch Developer Center ► LightSwitch Team Blog LightSwitch Team Blog ► Download LightSwitch Trial Download LightSwitch Trial ► Download the LightSwitch Training Kit Download the LightSwitch Training Kit ► Visit the LightSwitch Forums on MSDN Visit the LightSwitch Forums on MSDN

My Contact Information ► ► ►

Get Cool Stuff ► Go to the Booth and install the LS Trial – T-shirt* ► Tweet LS Trial URL ( – Hoodie* * While Stocks Last

Related Content DEV213 Visual Studio LightSwitch - Beyond the Basics Thursday 15:30 Meeting Room 7 Developer Area Demos Wednesday 12:30 (Introduction to LightSwitch) Thursday 11:00 (Advanced LightSwitch) Friday 11:00 (Introduction to LightSwitch) Friday 12:30 (Advanced LightSwitch)

TECHQUEST See me for code …

QUESTION & ANSWER SESSION

COMPLETE AN EVALUATION ONLINE AND ENTER TO WIN THESE PRIZES!

© 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.