SlideShare a Scribd company logo
Boulos Dib
October 1, 2011
Boulos Dib - @boulosdib
 Independent Consultant – Napeague Inc.
 Software Development since 1983
 First Personal Computer 1980 – TRS-80 III
 First Z80 based product (EPROM based Protocol Adpator – 1984)
 First Commercial PC-DOS product (Telex on IBM PC, 50 Baud – 1985)
 Started 16-bit Windows Development using Win 3.1
 Developed on: 8080/Z80, 68xxx, PDP/RSX,VAX-VMS and x86/x64
  (C/C++/C#)
 Develop in: ASP.Net, SilverLight, SharePoint
 I also have a life
     Favorite sport – Windsurfing 
     Favorite hobby – Playing my sunburst Fender Stratocaster+ guitar.
     Favorite guitar players
       Wes Montgomery, Larry Carlton and Ritchie Blackmore (Deep Purple, Rainbow)
Thank You – Marquee Sponsor
Thank You – Platinum Sponsor
Thank You – Platinum Sponsor
Thank You – Gold Sponsor
Thank You – Gold Sponsor
Thank You – Gold Sponsor
Thank You – Gold Sponsor
Thank You – Gold Sponsor
Thank You – Gold Sponsor
Thank You – Silver Sponsors
Thank You
Greg Shackles
  For creating the Code Camp Mobile
   App
  For Providing me with the raw data for
   my sample
Agenda
 LightSwitch Overview
 Demo Simple OOTB LightSwitch Application
 Survey Extensibility Model and Options
 Demos
   Consume Silverlight Extension
   Consume Silverlight Custom Control
   Create a LightSwitch Theme Extension
 Wrap-up
Assumptions
 Familiarity with .Net Development.
 You can develop a simple application in C# (or VB.Net)
  using Visual Studio.
 Have some understanding of Silverlight.
What is Visual Studio LightSwitch
 Simplest Development Environment for creating Line
  Of Business Applications (LOB)
 Able to consume data from Databases, SharePoint, and
  WCF RIA Services.
 Can run as a web application or as a desktop
  application
 LightSwitch Web Applications can be deployed locally
  or in Windows Azure WebRole.
Why LightSwitch?
 Simple(r) development tool.
 Silverlight based infrastructure
 Advanced development skills not required to build
    applications.
   Based on Entity Framework
   Easy deployment to IIS and Azure
   Connectivity to SharePoint
   Consumer of SQL Server and Other Databases
   Consumer of almost any data source via custom WCF
    RIA Services.
LightSwitch Development
     Start                Refine                  Extend
 Describe your data   Author business logic     Explore ecosystem

 Create screens for     Customize screen          Create Custom
  common tasks               layouts           Silverlight Controls

                                              Integrate With Custom
                      Define custom queries
                                                   Data Sources
LightSwitch Architecture


  Screens   Methods   Controls   Submit Pipeline   Queries

     Data Workspace                 Data Workspace




       Client Tier                   Middle Tier             Data Access
LightSwitch Building Blocks
 LightSwitch   VS Pro   Ecosystem
Demo – Simple LightSwitch Application
 Data and Screens
 Screens are automatically generated based on entities.
 Queries for both Entities and Screens
 Business Logic



 Demo
   Simple LightSwitch Application
Beyond Simple LightSwitch Development
 Even with LightSwitch, developers can access
  LightSwitch APIs, Silverlight and the .Net Framework
 Including
   Custom Screen Layouts
   Save Pipeline, Validation & Access Control Hooks
   Customize Complex and Composite LINQ Queries (i.e.
    EntityName_All EntityName_Single)
   Client and Server Project Code
   COM Interop
   Publish to IIS or Windows Azure
Extending LightSwitch
 Utilize .Net Assemblies
 Incoporate Silverlight Controls
 Add LightSwitch Extensions
    Amazing Third Party Extensions
    Great Open Source and Community Driven Extensions
    Roll Your Sleeves and Build your own
Requirements for Building Extensions
 Visual Studio Pro or Ultimate + SP1
 Visual Studio LightSwitch
 Visual Studio SDK
    Needed to build VSIX packages
 LightSwitch Extension Toolkit
Extensions - Ecosystem
 You do not need to build extensions, there are many
  available and the list is growing.
 Vendors
      ComponentOne - OLAP for LightSwitch
      DevExpress – DXEditors & XtraReports for LightSwitch
      FirstFloor – Document Toolkit for LightSwitch
      Infragistics – NetAdvantage for Visual Studio LightSwitch
      Telerik – Rad Controls for Silverlight
      RSSBus – Data Providers for: Google, PowerShell, Facebook,
       Quickbooks, Salesforce, Sharepoint, Twitter
 Community Driven
    Look in the Gallery….
LightSwitch Extension Types
                     Silverlight
                      Controls


       Custom Data                  Screen
         Sources                   Templates




                                   Business
          Shell
                                    Types



                      Themes
Extension Projects
Project         Purpose​

                Contains client implementations that should be deployed with a LightSwitch application but are not
Client
                found in the Common project. For example, controls, shells, and themes.
                Contains implementations necessary during the debugging of a LightSwitch application. For example,
Client.Design
                control images or custom property editors for the runtime screen designer.
                Contains ​implementations that are common to both the client and the server. For example, metadata
Common
                loaders and validators.
                Contains implementations for design time integrated development environment (IDE) operations. For
Design
                example, a screen template.
                Contains server implementations that should be deployed with a LightSwitch application but are not
Server
                found in the Common project. For example, data sources.​



Project         Purpose

.Lspkg          .Lspkg packages the above five projects so that LightSwitch can unpack and reference them when the
                package is installed
.Vsix           .Vsix project packages the generated .Lspkg file into a .Vsix package so that it can be added to
                LightSwitch through the Extension Manager
Using Extensions
 Installing Extensions
    Manually double-clicking a VSIX package.
    Extension Manager Within Visual Studio Pro ++
        Visual Studio RESTART almost always required.
 For Shell and Theme Extensions:
    Activate Extension by Opening Project Properties and
     check the Extensions tab.
    To Apply a theme or a shell, Open the same Project
     Properties and theme or shell in the General properties.
Creating a Theme Extension
 We will create a theme
 Modify few resources
 Test it against a simple application
Using Silverlight Custom Controls
 Easier to use than writing
 Do not know anything about LightSwitch
 There 2 possibilites
    Build a control for a specific entity (VM) and bind it to a
     specific entity - less code but not re-usable. Can not be
     used for any other entity or data.
    Build a control and bind the code in the LightSwitch
     code – More lightswitch code but Silverlight Control can
     be re-used across screens and applications.
 Demo – based on Code Magazine article by LightSwitch
  team member Karol Zadora-Przylecki
References
 Andrew Brust – LightSwitch White Papers
    http://bit.ly/pjD6Ke
 Michael Washington
    http://lightswitchhelpwebsite.com/
 Code Magazine July/August 2011
    Using Custom Controls to Enhance LightSwitch
     Application UI by Karol Zadora-Przylecki
 Visual Studio Gallery
   http://visualstudiogallery.msdn.microsoft.com/site/search
Thank You and Follow-up
 Contact:
    http://blog.boulosdib.com
    @boulosdib

More Related Content

What's hot

Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
Ashnikbiz
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
Sakari Hoisko
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey Boxell
Oracle Developers
 
DevOps for Azure
DevOps for AzureDevOps for Azure
DevOps for Azure
Michele Leroux Bustamante
 
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. ChoiInnovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Vietnam Open Infrastructure User Group
 
State of Steeltoe 2020
State of Steeltoe 2020State of Steeltoe 2020
State of Steeltoe 2020
VMware Tanzu
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
Wade Wegner
 
Open Stack Cloud Services
Open Stack Cloud ServicesOpen Stack Cloud Services
Open Stack Cloud ServicesSaurabh Gupta
 
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
Connecting Spring Apps to Distributed SQL Clusters Running in KubernetesConnecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
VMware Tanzu
 
VMware - Snapshot sessions - Deploy and manage tomorrow's applications today
VMware - Snapshot sessions  - Deploy and manage tomorrow's applications todayVMware - Snapshot sessions  - Deploy and manage tomorrow's applications today
VMware - Snapshot sessions - Deploy and manage tomorrow's applications todayAnnSteyaert_vmware
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
Alex Vranceanu
 
Developing and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud PrivateDeveloping and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud Private
Shikha Srivastava
 
The Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native ApplicationsThe Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native Applications
VMware Tanzu
 
Infrastructure less development with Azure Service Fabric
Infrastructure less development with Azure Service FabricInfrastructure less development with Azure Service Fabric
Infrastructure less development with Azure Service Fabric
Saba Jamalian
 
Vijay Mix Presentation
Vijay Mix PresentationVijay Mix Presentation
Vijay Mix Presentation
vijayrvr
 
Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native ApplicationsBuilding and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
Manish Kapur
 
12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions
Kashif Ali Siddiqui
 
Spring and Pivotal Application Service - SpringOne Tour Dallas
Spring and Pivotal Application Service - SpringOne Tour DallasSpring and Pivotal Application Service - SpringOne Tour Dallas
Spring and Pivotal Application Service - SpringOne Tour Dallas
VMware Tanzu
 
Azure privatelink
Azure privatelinkAzure privatelink
Azure privatelink
Udaiappa Ramachandran
 
JMP102 Extending Your App Arsenal With OpenSocial
JMP102 Extending Your App Arsenal With OpenSocialJMP102 Extending Your App Arsenal With OpenSocial
JMP102 Extending Your App Arsenal With OpenSocialRyan Baxter
 

What's hot (20)

Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
Docker Enterprise Edition Overview by Steven Thwaites, Technical Solutions En...
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey Boxell
 
DevOps for Azure
DevOps for AzureDevOps for Azure
DevOps for Azure
 
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. ChoiInnovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
 
State of Steeltoe 2020
State of Steeltoe 2020State of Steeltoe 2020
State of Steeltoe 2020
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
 
Open Stack Cloud Services
Open Stack Cloud ServicesOpen Stack Cloud Services
Open Stack Cloud Services
 
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
Connecting Spring Apps to Distributed SQL Clusters Running in KubernetesConnecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
 
VMware - Snapshot sessions - Deploy and manage tomorrow's applications today
VMware - Snapshot sessions  - Deploy and manage tomorrow's applications todayVMware - Snapshot sessions  - Deploy and manage tomorrow's applications today
VMware - Snapshot sessions - Deploy and manage tomorrow's applications today
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
 
Developing and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud PrivateDeveloping and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud Private
 
The Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native ApplicationsThe Path Towards Spring Boot Native Applications
The Path Towards Spring Boot Native Applications
 
Infrastructure less development with Azure Service Fabric
Infrastructure less development with Azure Service FabricInfrastructure less development with Azure Service Fabric
Infrastructure less development with Azure Service Fabric
 
Vijay Mix Presentation
Vijay Mix PresentationVijay Mix Presentation
Vijay Mix Presentation
 
Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native ApplicationsBuilding and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
 
12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions
 
Spring and Pivotal Application Service - SpringOne Tour Dallas
Spring and Pivotal Application Service - SpringOne Tour DallasSpring and Pivotal Application Service - SpringOne Tour Dallas
Spring and Pivotal Application Service - SpringOne Tour Dallas
 
Azure privatelink
Azure privatelinkAzure privatelink
Azure privatelink
 
JMP102 Extending Your App Arsenal With OpenSocial
JMP102 Extending Your App Arsenal With OpenSocialJMP102 Extending Your App Arsenal With OpenSocial
JMP102 Extending Your App Arsenal With OpenSocial
 

Viewers also liked

Gyogykomm pocze 20110827
Gyogykomm pocze 20110827Gyogykomm pocze 20110827
Gyogykomm pocze 20110827Gabor Farkas
 
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
Dr Danilo Samà
 
Mauro powerrrr
Mauro powerrrrMauro powerrrr
Mauro powerrrr
Skaterooo
 
Počátky anglického působení v severní americe
Počátky anglického působení v severní americePočátky anglického působení v severní americe
Počátky anglického působení v severní americedsmrz
 
City partnerships for the welfare of the city
City partnerships for the welfare of the cityCity partnerships for the welfare of the city
City partnerships for the welfare of the cityTHE CITY OF HOPE OUTREACH
 
Soc tong quat 2013
Soc tong quat 2013Soc tong quat 2013
Soc tong quat 2013Langbui Tran
 
Lenguaje de Programación Java
Lenguaje de Programación JavaLenguaje de Programación Java
Lenguaje de Programación Java
Alfredo Aguayo
 
Picnic Time
Picnic TimePicnic Time
Picnic Time
hbwmike
 
English presentation!!!
English presentation!!!English presentation!!!
English presentation!!!carlagrizi
 
Poinsettia & Red Box - The Office Party
Poinsettia & Red Box - The Office PartyPoinsettia & Red Box - The Office Party
Poinsettia & Red Box - The Office Party
hbwmike
 
Primero corporate presentation november final
Primero corporate presentation november finalPrimero corporate presentation november final
Primero corporate presentation november final
primero_mining
 
Primero corporate presentation january
Primero corporate presentation januaryPrimero corporate presentation january
Primero corporate presentation januaryprimero_mining
 
Enhancing Engagement via Windows Phone Mango
Enhancing Engagement via Windows Phone MangoEnhancing Engagement via Windows Phone Mango
Enhancing Engagement via Windows Phone MangoAndy Chiang
 
Indeisgn tuturial my own
Indeisgn tuturial my ownIndeisgn tuturial my own
Indeisgn tuturial my owndebbie14
 

Viewers also liked (20)

Gyogykomm pocze 20110827
Gyogykomm pocze 20110827Gyogykomm pocze 20110827
Gyogykomm pocze 20110827
 
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
The Regional Administrative Court of Lazio confirms a fine imposed by the Ita...
 
Cara pengolahan
Cara pengolahanCara pengolahan
Cara pengolahan
 
Mauro powerrrr
Mauro powerrrrMauro powerrrr
Mauro powerrrr
 
Počátky anglického působení v severní americe
Počátky anglického působení v severní americePočátky anglického působení v severní americe
Počátky anglického působení v severní americe
 
City partnerships for the welfare of the city
City partnerships for the welfare of the cityCity partnerships for the welfare of the city
City partnerships for the welfare of the city
 
Australia
AustraliaAustralia
Australia
 
Soc tong quat 2013
Soc tong quat 2013Soc tong quat 2013
Soc tong quat 2013
 
Music career
Music careerMusic career
Music career
 
Lenguaje de Programación Java
Lenguaje de Programación JavaLenguaje de Programación Java
Lenguaje de Programación Java
 
Picnic Time
Picnic TimePicnic Time
Picnic Time
 
English presentation!!!
English presentation!!!English presentation!!!
English presentation!!!
 
Plan
PlanPlan
Plan
 
Poinsettia & Red Box - The Office Party
Poinsettia & Red Box - The Office PartyPoinsettia & Red Box - The Office Party
Poinsettia & Red Box - The Office Party
 
Primero corporate presentation november final
Primero corporate presentation november finalPrimero corporate presentation november final
Primero corporate presentation november final
 
Primero corporate presentation january
Primero corporate presentation januaryPrimero corporate presentation january
Primero corporate presentation january
 
Enhancing Engagement via Windows Phone Mango
Enhancing Engagement via Windows Phone MangoEnhancing Engagement via Windows Phone Mango
Enhancing Engagement via Windows Phone Mango
 
Goal success
Goal successGoal success
Goal success
 
βιβλιογραφία του κ
βιβλιογραφία του κβιβλιογραφία του κ
βιβλιογραφία του κ
 
Indeisgn tuturial my own
Indeisgn tuturial my ownIndeisgn tuturial my own
Indeisgn tuturial my own
 

Similar to Light-up-your-out-of-the-box LightSwitch Application

Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
vijayrvr
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by Subodh
Subodh Pushpak
 
Linq tools
Linq toolsLinq tools
Linq tools
Jim Wooley
 
Build business applications with visual studio light switch
Build business applications with visual studio light switchBuild business applications with visual studio light switch
Build business applications with visual studio light switch
Nuchit Atjanawat
 
Teched India Vijay Interop Track
Teched India Vijay Interop TrackTeched India Vijay Interop Track
Teched India Vijay Interop Track
vijayrvr
 
Django app deployment in Azure By Saurabh Agarwal
Django app deployment in Azure By Saurabh AgarwalDjango app deployment in Azure By Saurabh Agarwal
Django app deployment in Azure By Saurabh Agarwal
ratneshsinghparihar
 
VS Code and Modern Development Environment Preview
VS Code and Modern Development Environment PreviewVS Code and Modern Development Environment Preview
VS Code and Modern Development Environment Preview
Roberto Stefanetti
 
Cloud Deployment Toolkit
Cloud Deployment ToolkitCloud Deployment Toolkit
Cloud Deployment Toolkit
Bret Piatt
 
Build Apps Using Dynamic Languages
Build Apps Using Dynamic LanguagesBuild Apps Using Dynamic Languages
Build Apps Using Dynamic Languages
Wes Yanaga
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
Intel® Software
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
DevOps.com
 
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Ajeet Singh Raina
 
Eclipse Developement @ Progress Software
Eclipse Developement @ Progress SoftwareEclipse Developement @ Progress Software
Eclipse Developement @ Progress Software
sriikanthp
 
Evolution of VS code Java ecosystem
Evolution of VS code Java ecosystemEvolution of VS code Java ecosystem
Evolution of VS code Java ecosystem
Adi Polak
 
Silverlight Briefing Deck
Silverlight  Briefing  DeckSilverlight  Briefing  Deck
Silverlight Briefing Deck
llangit
 
Building IoT Apps in the Cloud Webinar
Building IoT Apps in the Cloud WebinarBuilding IoT Apps in the Cloud Webinar
Building IoT Apps in the Cloud Webinar
DreamFactory
 
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
VMware Tanzu
 
Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1
confluent
 

Similar to Light-up-your-out-of-the-box LightSwitch Application (20)

Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by Subodh
 
Linq tools
Linq toolsLinq tools
Linq tools
 
Build business applications with visual studio light switch
Build business applications with visual studio light switchBuild business applications with visual studio light switch
Build business applications with visual studio light switch
 
Teched India Vijay Interop Track
Teched India Vijay Interop TrackTeched India Vijay Interop Track
Teched India Vijay Interop Track
 
Django app deployment in Azure By Saurabh Agarwal
Django app deployment in Azure By Saurabh AgarwalDjango app deployment in Azure By Saurabh Agarwal
Django app deployment in Azure By Saurabh Agarwal
 
VS Code and Modern Development Environment Preview
VS Code and Modern Development Environment PreviewVS Code and Modern Development Environment Preview
VS Code and Modern Development Environment Preview
 
Cloud Deployment Toolkit
Cloud Deployment ToolkitCloud Deployment Toolkit
Cloud Deployment Toolkit
 
Build Apps Using Dynamic Languages
Build Apps Using Dynamic LanguagesBuild Apps Using Dynamic Languages
Build Apps Using Dynamic Languages
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
 
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
 
Eclipse Developement @ Progress Software
Eclipse Developement @ Progress SoftwareEclipse Developement @ Progress Software
Eclipse Developement @ Progress Software
 
Evolution of VS code Java ecosystem
Evolution of VS code Java ecosystemEvolution of VS code Java ecosystem
Evolution of VS code Java ecosystem
 
Silverlight Briefing Deck
Silverlight  Briefing  DeckSilverlight  Briefing  Deck
Silverlight Briefing Deck
 
DevNation
DevNation DevNation
DevNation
 
Vs2005p
Vs2005pVs2005p
Vs2005p
 
Building IoT Apps in the Cloud Webinar
Building IoT Apps in the Cloud WebinarBuilding IoT Apps in the Cloud Webinar
Building IoT Apps in the Cloud Webinar
 
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud ...
 
Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 

Light-up-your-out-of-the-box LightSwitch Application

  • 2. Boulos Dib - @boulosdib  Independent Consultant – Napeague Inc.  Software Development since 1983  First Personal Computer 1980 – TRS-80 III  First Z80 based product (EPROM based Protocol Adpator – 1984)  First Commercial PC-DOS product (Telex on IBM PC, 50 Baud – 1985)  Started 16-bit Windows Development using Win 3.1  Developed on: 8080/Z80, 68xxx, PDP/RSX,VAX-VMS and x86/x64 (C/C++/C#)  Develop in: ASP.Net, SilverLight, SharePoint  I also have a life  Favorite sport – Windsurfing   Favorite hobby – Playing my sunburst Fender Stratocaster+ guitar.  Favorite guitar players  Wes Montgomery, Larry Carlton and Ritchie Blackmore (Deep Purple, Rainbow)
  • 3. Thank You – Marquee Sponsor
  • 4. Thank You – Platinum Sponsor
  • 5. Thank You – Platinum Sponsor
  • 6. Thank You – Gold Sponsor
  • 7. Thank You – Gold Sponsor
  • 8. Thank You – Gold Sponsor
  • 9. Thank You – Gold Sponsor
  • 10. Thank You – Gold Sponsor
  • 11. Thank You – Gold Sponsor
  • 12. Thank You – Silver Sponsors
  • 13. Thank You Greg Shackles  For creating the Code Camp Mobile App  For Providing me with the raw data for my sample
  • 14. Agenda  LightSwitch Overview  Demo Simple OOTB LightSwitch Application  Survey Extensibility Model and Options  Demos  Consume Silverlight Extension  Consume Silverlight Custom Control  Create a LightSwitch Theme Extension  Wrap-up
  • 15. Assumptions  Familiarity with .Net Development.  You can develop a simple application in C# (or VB.Net) using Visual Studio.  Have some understanding of Silverlight.
  • 16. What is Visual Studio LightSwitch  Simplest Development Environment for creating Line Of Business Applications (LOB)  Able to consume data from Databases, SharePoint, and WCF RIA Services.  Can run as a web application or as a desktop application  LightSwitch Web Applications can be deployed locally or in Windows Azure WebRole.
  • 17. Why LightSwitch?  Simple(r) development tool.  Silverlight based infrastructure  Advanced development skills not required to build applications.  Based on Entity Framework  Easy deployment to IIS and Azure  Connectivity to SharePoint  Consumer of SQL Server and Other Databases  Consumer of almost any data source via custom WCF RIA Services.
  • 18. LightSwitch Development Start Refine Extend Describe your data Author business logic Explore ecosystem Create screens for Customize screen Create Custom common tasks layouts Silverlight Controls Integrate With Custom Define custom queries Data Sources
  • 19. LightSwitch Architecture Screens Methods Controls Submit Pipeline Queries Data Workspace Data Workspace Client Tier Middle Tier Data Access
  • 20. LightSwitch Building Blocks LightSwitch VS Pro Ecosystem
  • 21. Demo – Simple LightSwitch Application  Data and Screens  Screens are automatically generated based on entities.  Queries for both Entities and Screens  Business Logic  Demo  Simple LightSwitch Application
  • 22. Beyond Simple LightSwitch Development  Even with LightSwitch, developers can access LightSwitch APIs, Silverlight and the .Net Framework  Including  Custom Screen Layouts  Save Pipeline, Validation & Access Control Hooks  Customize Complex and Composite LINQ Queries (i.e. EntityName_All EntityName_Single)  Client and Server Project Code  COM Interop  Publish to IIS or Windows Azure
  • 23. Extending LightSwitch  Utilize .Net Assemblies  Incoporate Silverlight Controls  Add LightSwitch Extensions  Amazing Third Party Extensions  Great Open Source and Community Driven Extensions  Roll Your Sleeves and Build your own
  • 24. Requirements for Building Extensions  Visual Studio Pro or Ultimate + SP1  Visual Studio LightSwitch  Visual Studio SDK  Needed to build VSIX packages  LightSwitch Extension Toolkit
  • 25. Extensions - Ecosystem  You do not need to build extensions, there are many available and the list is growing.  Vendors  ComponentOne - OLAP for LightSwitch  DevExpress – DXEditors & XtraReports for LightSwitch  FirstFloor – Document Toolkit for LightSwitch  Infragistics – NetAdvantage for Visual Studio LightSwitch  Telerik – Rad Controls for Silverlight  RSSBus – Data Providers for: Google, PowerShell, Facebook, Quickbooks, Salesforce, Sharepoint, Twitter  Community Driven  Look in the Gallery….
  • 26. LightSwitch Extension Types Silverlight Controls Custom Data Screen Sources Templates Business Shell Types Themes
  • 27. Extension Projects Project Purpose​ Contains client implementations that should be deployed with a LightSwitch application but are not Client found in the Common project. For example, controls, shells, and themes. Contains implementations necessary during the debugging of a LightSwitch application. For example, Client.Design control images or custom property editors for the runtime screen designer. Contains ​implementations that are common to both the client and the server. For example, metadata Common loaders and validators. Contains implementations for design time integrated development environment (IDE) operations. For Design example, a screen template. Contains server implementations that should be deployed with a LightSwitch application but are not Server found in the Common project. For example, data sources.​ Project Purpose .Lspkg .Lspkg packages the above five projects so that LightSwitch can unpack and reference them when the package is installed .Vsix .Vsix project packages the generated .Lspkg file into a .Vsix package so that it can be added to LightSwitch through the Extension Manager
  • 28. Using Extensions  Installing Extensions  Manually double-clicking a VSIX package.  Extension Manager Within Visual Studio Pro ++  Visual Studio RESTART almost always required.  For Shell and Theme Extensions:  Activate Extension by Opening Project Properties and check the Extensions tab.  To Apply a theme or a shell, Open the same Project Properties and theme or shell in the General properties.
  • 29. Creating a Theme Extension  We will create a theme  Modify few resources  Test it against a simple application
  • 30. Using Silverlight Custom Controls  Easier to use than writing  Do not know anything about LightSwitch  There 2 possibilites  Build a control for a specific entity (VM) and bind it to a specific entity - less code but not re-usable. Can not be used for any other entity or data.  Build a control and bind the code in the LightSwitch code – More lightswitch code but Silverlight Control can be re-used across screens and applications.  Demo – based on Code Magazine article by LightSwitch team member Karol Zadora-Przylecki
  • 31. References  Andrew Brust – LightSwitch White Papers  http://bit.ly/pjD6Ke  Michael Washington  http://lightswitchhelpwebsite.com/  Code Magazine July/August 2011  Using Custom Controls to Enhance LightSwitch Application UI by Karol Zadora-Przylecki  Visual Studio Gallery  http://visualstudiogallery.msdn.microsoft.com/site/search
  • 32. Thank You and Follow-up  Contact:  http://blog.boulosdib.com  @boulosdib