SlideShare uma empresa Scribd logo
1 de 34
Community {Technology} Update 2012




K.Mohamed Faizal
Lead Consultant @ NCS (P) Ltd.
Jan 7th 2012
Agenda

 Introduction to Windows Azure
 Introduction to LightSwitch
 Build Application on LightSwitch
 Deploy Application to Windows Azure
About Me




           Community {Technology} Update
Windows Azure Platform




            Marketplace
Windows Azure
SQL Azure




• Familiar          • Two-way sync     • Reporting
  relational          of SQL Azure       service in the
  database model      DBs across DCs     cloud
• Built for the
  cloud with high   • Enables geo-     • Generate
  availability        redundancy &       reports using
• Accessible via      Hybrid models      familiar SSRS
  ADO, TDS, REST                         tools
AppFabric




• Application         • Single place      • Application
  expose endpoints      provides            level
  in the cloud that     federated           distributed
  can be accessed       authentication      cache for
  by other              and rules-          better
  applications          driven, claims-     performance
  whether on-           based
  premises              authorization
“Windows Azure Platform”
      In One Slide
Types Of Cloud Environments
 A smooth on-ramp to
                              development
                             Built-in plumbing that
                              handles common application
                              requirements
                             Simple and flexible
                              deployment



 LightSwitch is for End User
  Developers
 LightSwitch is for
  Professional Developers
LightSwitch Application Overview
LightSwitch App Architecture
    Data
    •SQL
     Server/Express
    •SQL Azure
    •SharePoint 2010                    Storage




    Logic
    •ASP.NET 4.0
    •WCF RIA Services
                         IIS/Azure
    •Entity Framework
                        (Middle-tier)



                                                  LS DLLs
    Presentation
    •Silverlight 4.0
    •WCF RIA Services
     Client




                              )
LightSwitch Building Blocks

 LightSwitch       VS Pro     Ecosystem
     Screens


     Queries


     Entities


  Business Logic
 Customer information.
 Product Information
 Relationship between customer and order details
Community {Technology} Update 2012
Entities

Can be local (SQL Server Express) or
 attached (SQL Server, SQL Azure,
 SharePoint, WCF RIA service)
Custom business types
  Provide validation and formatting
Calculated properties
  Write code to generate value
Can create relationships within and across
 data sources
Can validate at the entity or property level
Screens
 Variety of built in screens
  New, search, details, editable grid, list and
   details
 Always based on queries
 Can use auto-generated screens for
  adding/editing or create your own
 Developers can modify screens at design-time
  and runtime
 Generated screens do not expose XAML
  You can use Silverlight controls you create
   yourself
  You can add UI elements packaged as extensions
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
Community {Technology} Update 2012
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
Deployment Options

 2-tier desktop application
  Application runs entirely on user’s computer
 3-tier desktop application
  User interface runs on user’s computer
  Middle-tier components run on Internet
   Information
   Services (IIS) or Windows Azure
 3-tier web application
  User interface is browser based
  Middle-tier components run on IIS or Windows
   Azure
2-Tier Deployment
      Clients & Database are on the same Network (LAN)




        Windows Clients


                                                 Database




                     NET Framework 4
                     All LightSwitch Components (DLLs)
                     SQL Server Or SQL Express
2-Tier Deployment
      Clients & Database are on the same Network (LAN)




                          UserID=<sqlUser>;Password=<sqlPwd>



        Windows Clients


                                                 Database




                     NET Framework 4
                     All LightSwitch Components (DLLs)
                     SQL Server Or SQL Express
3-Tier Deployment
                  Clients can be on the Internet or same network
                           IIS Authentication:
                         Anonymous (no login),
                         Windows (auto login),
                          Forms (login prompt)
                                                    Same network or
                                                    same machine
                        Internet
                           OR
                        Network                     DomainUser Or SQL
                                                     Direct Connection
                       LAN/WAN                          user / pass


                                                                         Database
                                       Web Server

          Clients


 Silverlight 4                             NET Framework 4
 LightSwitch Client Application            Internet Information Services (IIS)
(Desktop apps = Windows Clients             LightSwitch Application Services
Browser apps = Mac/Windows)                 SQL Server OR SQL Express
3-Tier Deployment
        Clients are on the Internet and connect to Windows Azure


                             IIS Authentication:
                           Anonymous (no login),
                            Forms (login prompt)
                                                             SQL user / pass



                     Internet


                                         Windows Azure
                                                                    SQL Azure

          Clients


 Silverlight 4
                                          LightSwitch Application Services
 LightSwitch Client Application
                                          SQL Server
(Desktop apps = Windows Clients
Browser apps = Mac/Windows)
Community {Technology} Update 2012
Extending LightSwitch

 LightSwitch has 6 extensibility points
Installing Extensions

LightSwitch developers can install
 extensions via Extension Manager
Or just click on the VSIX package to install


  LightSwitch
  Extensions
  are installed like
  any other Visual
  Studio extension
  and managed via
  the Extension
  Manager
Requirements for Building
LightSwitch Extensions
 Visual Studio Pro (or higher) + SP1
 Visual Studio LightSwitch
 Visual Studio SDK
  For building VSIX packages
 LightSwitch Extension Development Kit
  (coming soon)
 Upload to VS Gallery
  http://visualstudiogallery.msdn.microsoft.com/
Extensibility Toolkit

http://visualstudiogallery.msdn.microsoft.c
 om/0dfaa2eb-3951-49e7-ade7-
 b9343761e1d
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/deplo
  yment-guide-how-to-configure-a-web-server-to-host-
  lightswitch-applications.aspx
K.Mohamed Faizal
Lead Consultant @ NCS (P) Ltd.
Jan 7th 2012

     http://faizal-comeacross.blogspot.com/

     kmdfaizal@yahoo.com

     http://www.facebook.com/kmdfaizal

     @kmdfaizal
Community {Technology} Update 2012: Windows Azure, LightSwitch & More

Mais conteúdo relacionado

Mais procurados

What's New for Data?
What's New for Data?What's New for Data?
What's New for Data?ukdpe
 
Windows Server 2008 for Developers - Part 1
Windows Server 2008 for Developers - Part 1Windows Server 2008 for Developers - Part 1
Windows Server 2008 for Developers - Part 1ukdpe
 
Building solutions with microsoft virtualisation
Building solutions with microsoft virtualisationBuilding solutions with microsoft virtualisation
Building solutions with microsoft virtualisationRonnie Isherwood
 
WAD - WaveMaker tutorial
WAD - WaveMaker tutorial WAD - WaveMaker tutorial
WAD - WaveMaker tutorial marina2207
 
WaveMaker tutorial with Flash
WaveMaker tutorial with FlashWaveMaker tutorial with Flash
WaveMaker tutorial with Flashmarina2207
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...Nancy Thomas
 
J2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net WorkshopJ2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net Workshopdanglvh
 
Securing SharePoint Apps with OAuth
Securing SharePoint Apps with OAuthSecuring SharePoint Apps with OAuth
Securing SharePoint Apps with OAuthKashif Imran
 
Office 365-single-sign-on-with-adfs
Office 365-single-sign-on-with-adfsOffice 365-single-sign-on-with-adfs
Office 365-single-sign-on-with-adfsamitchachra
 
Microservices: Architecture to Support Agile
Microservices: Architecture to Support AgileMicroservices: Architecture to Support Agile
Microservices: Architecture to Support AgileEberhard Wolff
 
The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)Jay Simcox
 
The Windows Azure Platform: A Perspective - David Chappell
The Windows Azure Platform: A Perspective - David ChappellThe Windows Azure Platform: A Perspective - David Chappell
The Windows Azure Platform: A Perspective - David ChappellSpiffy
 
The dashboarding problem
The dashboarding problemThe dashboarding problem
The dashboarding problemnuria_ruiz
 
My Resume_Uday -
My Resume_Uday -My Resume_Uday -
My Resume_Uday -Uday Kiran
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsAdvanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsCorey Roth
 

Mais procurados (20)

What's New for Data?
What's New for Data?What's New for Data?
What's New for Data?
 
Windows Server 2008 for Developers - Part 1
Windows Server 2008 for Developers - Part 1Windows Server 2008 for Developers - Part 1
Windows Server 2008 for Developers - Part 1
 
Adfs azure
Adfs azureAdfs azure
Adfs azure
 
SharePoint 2013 and ADFS
SharePoint 2013 and ADFSSharePoint 2013 and ADFS
SharePoint 2013 and ADFS
 
Building solutions with microsoft virtualisation
Building solutions with microsoft virtualisationBuilding solutions with microsoft virtualisation
Building solutions with microsoft virtualisation
 
WAD - WaveMaker tutorial
WAD - WaveMaker tutorial WAD - WaveMaker tutorial
WAD - WaveMaker tutorial
 
WaveMaker tutorial with Flash
WaveMaker tutorial with FlashWaveMaker tutorial with Flash
WaveMaker tutorial with Flash
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
 
J2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net WorkshopJ2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net Workshop
 
WaveMaker Presentation
WaveMaker PresentationWaveMaker Presentation
WaveMaker Presentation
 
Securing SharePoint Apps with OAuth
Securing SharePoint Apps with OAuthSecuring SharePoint Apps with OAuth
Securing SharePoint Apps with OAuth
 
Office 365-single-sign-on-with-adfs
Office 365-single-sign-on-with-adfsOffice 365-single-sign-on-with-adfs
Office 365-single-sign-on-with-adfs
 
Microservices: Architecture to Support Agile
Microservices: Architecture to Support AgileMicroservices: Architecture to Support Agile
Microservices: Architecture to Support Agile
 
The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)
 
Ad fs
Ad fsAd fs
Ad fs
 
The Windows Azure Platform: A Perspective - David Chappell
The Windows Azure Platform: A Perspective - David ChappellThe Windows Azure Platform: A Perspective - David Chappell
The Windows Azure Platform: A Perspective - David Chappell
 
The dashboarding problem
The dashboarding problemThe dashboarding problem
The dashboarding problem
 
My Resume_Uday -
My Resume_Uday -My Resume_Uday -
My Resume_Uday -
 
Advanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom ConnectorsAdvanced BCS - Business Data Connectivity Models and Custom Connectors
Advanced BCS - Business Data Connectivity Models and Custom Connectors
 
Aws
AwsAws
Aws
 

Semelhante a Community {Technology} Update 2012: Windows Azure, LightSwitch & More

Integrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio LightswitchIntegrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio LightswitchRob Windsor
 
CTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App FabricCTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App FabricSpiffy
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureK.Mohamed Faizal
 
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...tdc-globalcode
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developersllangit
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft Private Cloud
 
Microsoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure
 
Syn framework 4.0 and sql server
Syn framework 4.0 and sql serverSyn framework 4.0 and sql server
Syn framework 4.0 and sql serverEduardo Castro
 
Windows azure pack overview
Windows azure pack overviewWindows azure pack overview
Windows azure pack overviewAbhishek Sur
 
AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013Amazon Web Services
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Osconvijayrvr
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StAllyWick
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applicationsManish Corriea
 
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...Amazon Web Services
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWade Wegner
 
Agile in Action - Act 2: Development
Agile in Action - Act 2: DevelopmentAgile in Action - Act 2: Development
Agile in Action - Act 2: DevelopmentSpiffy
 
SwiftKnowledge Multitenancy
SwiftKnowledge MultitenancySwiftKnowledge Multitenancy
SwiftKnowledge MultitenancyPivotLogix
 

Semelhante a Community {Technology} Update 2012: Windows Azure, LightSwitch & More (20)

Integrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio LightswitchIntegrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio Lightswitch
 
CTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App FabricCTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App Fabric
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developers
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
Microsoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure Overview Infographic
Microsoft Azure Overview Infographic
 
Syn framework 4.0 and sql server
Syn framework 4.0 and sql serverSyn framework 4.0 and sql server
Syn framework 4.0 and sql server
 
Windows azure pack overview
Windows azure pack overviewWindows azure pack overview
Windows azure pack overview
 
AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013
 
SQL Azure
SQL AzureSQL Azure
SQL Azure
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 St
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
 
Agile in Action - Act 2: Development
Agile in Action - Act 2: DevelopmentAgile in Action - Act 2: Development
Agile in Action - Act 2: Development
 
SwiftKnowledge Multitenancy
SwiftKnowledge MultitenancySwiftKnowledge Multitenancy
SwiftKnowledge Multitenancy
 

Mais de K.Mohamed Faizal

Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in TamilAzure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in TamilK.Mohamed Faizal
 
So you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultantSo you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultantK.Mohamed Faizal
 
Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell K.Mohamed Faizal
 
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World ProjectImplementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World ProjectK.Mohamed Faizal
 
SharePoint on Microsoft Azure
SharePoint on Microsoft AzureSharePoint on Microsoft Azure
SharePoint on Microsoft AzureK.Mohamed Faizal
 
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013K.Mohamed Faizal
 
SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)K.Mohamed Faizal
 
Share point 2013 the way to go...
Share point 2013 the way to go...Share point 2013 the way to go...
Share point 2013 the way to go...K.Mohamed Faizal
 
SharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekSharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekK.Mohamed Faizal
 
SharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperSharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperK.Mohamed Faizal
 
Windows azure traffic manager
Windows azure traffic managerWindows azure traffic manager
Windows azure traffic managerK.Mohamed Faizal
 
Must have tools for windows azure
Must have tools for windows azureMust have tools for windows azure
Must have tools for windows azureK.Mohamed Faizal
 
Exploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageExploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageK.Mohamed Faizal
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows AzureK.Mohamed Faizal
 
Using Social Computing on Corporate world
Using Social Computing on Corporate world Using Social Computing on Corporate world
Using Social Computing on Corporate world K.Mohamed Faizal
 
SharePoint 2010 List of List Improvements
SharePoint 2010 List of List ImprovementsSharePoint 2010 List of List Improvements
SharePoint 2010 List of List ImprovementsK.Mohamed Faizal
 

Mais de K.Mohamed Faizal (20)

Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in TamilAzure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
 
So you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultantSo you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultant
 
Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell
 
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World ProjectImplementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
SharePoint on Microsoft Azure
SharePoint on Microsoft AzureSharePoint on Microsoft Azure
SharePoint on Microsoft Azure
 
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
 
Windows Azure Website
Windows Azure WebsiteWindows Azure Website
Windows Azure Website
 
SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)
 
Share point 2013 the way to go...
Share point 2013 the way to go...Share point 2013 the way to go...
Share point 2013 the way to go...
 
SharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekSharePoint 2013 Sneak Peek
SharePoint 2013 Sneak Peek
 
Share point 2013 cop v4
Share point 2013 cop v4Share point 2013 cop v4
Share point 2013 cop v4
 
SharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperSharePoint 2010 Online for Developer
SharePoint 2010 Online for Developer
 
Windows azure traffic manager
Windows azure traffic managerWindows azure traffic manager
Windows azure traffic manager
 
Must have tools for windows azure
Must have tools for windows azureMust have tools for windows azure
Must have tools for windows azure
 
Exploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageExploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud Storage
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows Azure
 
Word automation services
Word automation servicesWord automation services
Word automation services
 
Using Social Computing on Corporate world
Using Social Computing on Corporate world Using Social Computing on Corporate world
Using Social Computing on Corporate world
 
SharePoint 2010 List of List Improvements
SharePoint 2010 List of List ImprovementsSharePoint 2010 List of List Improvements
SharePoint 2010 List of List Improvements
 

Último

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Community {Technology} Update 2012: Windows Azure, LightSwitch & More

  • 1. Community {Technology} Update 2012 K.Mohamed Faizal Lead Consultant @ NCS (P) Ltd. Jan 7th 2012
  • 2. Agenda  Introduction to Windows Azure  Introduction to LightSwitch  Build Application on LightSwitch  Deploy Application to Windows Azure
  • 3. About Me Community {Technology} Update
  • 6. SQL Azure • Familiar • Two-way sync • Reporting relational of SQL Azure service in the database model DBs across DCs cloud • Built for the cloud with high • Enables geo- • Generate availability redundancy & reports using • Accessible via Hybrid models familiar SSRS ADO, TDS, REST tools
  • 7. AppFabric • Application • Single place • Application expose endpoints provides level in the cloud that federated distributed can be accessed authentication cache for by other and rules- better applications driven, claims- performance whether on- based premises authorization
  • 9. Types Of Cloud Environments
  • 10.  A smooth on-ramp to development  Built-in plumbing that handles common application requirements  Simple and flexible deployment  LightSwitch is for End User Developers  LightSwitch is for Professional Developers
  • 12. LightSwitch App Architecture Data •SQL Server/Express •SQL Azure •SharePoint 2010 Storage Logic •ASP.NET 4.0 •WCF RIA Services IIS/Azure •Entity Framework (Middle-tier) LS DLLs Presentation •Silverlight 4.0 •WCF RIA Services Client )
  • 13. LightSwitch Building Blocks LightSwitch VS Pro Ecosystem Screens Queries Entities Business Logic
  • 14.  Customer information.  Product Information  Relationship between customer and order details
  • 16.
  • 17. Entities Can be local (SQL Server Express) or attached (SQL Server, SQL Azure, SharePoint, WCF RIA service) Custom business types Provide validation and formatting Calculated properties Write code to generate value Can create relationships within and across data sources Can validate at the entity or property level
  • 18. Screens  Variety of built in screens New, search, details, editable grid, list and details  Always based on queries  Can use auto-generated screens for adding/editing or create your own  Developers can modify screens at design-time and runtime  Generated screens do not expose XAML You can use Silverlight controls you create yourself You can add UI elements packaged as extensions
  • 19. 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
  • 21. 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
  • 22. Deployment Options  2-tier desktop application Application runs entirely on user’s computer  3-tier desktop application User interface runs on user’s computer Middle-tier components run on Internet Information Services (IIS) or Windows Azure  3-tier web application User interface is browser based Middle-tier components run on IIS or Windows Azure
  • 23. 2-Tier Deployment Clients & Database are on the same Network (LAN) Windows Clients Database  NET Framework 4  All LightSwitch Components (DLLs)  SQL Server Or SQL Express
  • 24. 2-Tier Deployment Clients & Database are on the same Network (LAN) UserID=<sqlUser>;Password=<sqlPwd> Windows Clients Database  NET Framework 4  All LightSwitch Components (DLLs)  SQL Server Or SQL Express
  • 25. 3-Tier Deployment Clients can be on the Internet or same network IIS Authentication: Anonymous (no login), Windows (auto login), Forms (login prompt) Same network or same machine Internet OR Network DomainUser Or SQL Direct Connection LAN/WAN user / pass Database Web Server Clients  Silverlight 4  NET Framework 4  LightSwitch Client Application  Internet Information Services (IIS) (Desktop apps = Windows Clients  LightSwitch Application Services Browser apps = Mac/Windows)  SQL Server OR SQL Express
  • 26. 3-Tier Deployment Clients are on the Internet and connect to Windows Azure IIS Authentication: Anonymous (no login), Forms (login prompt) SQL user / pass Internet Windows Azure SQL Azure Clients  Silverlight 4  LightSwitch Application Services  LightSwitch Client Application  SQL Server (Desktop apps = Windows Clients Browser apps = Mac/Windows)
  • 28. Extending LightSwitch  LightSwitch has 6 extensibility points
  • 29. Installing Extensions LightSwitch developers can install extensions via Extension Manager Or just click on the VSIX package to install LightSwitch Extensions are installed like any other Visual Studio extension and managed via the Extension Manager
  • 30. Requirements for Building LightSwitch Extensions  Visual Studio Pro (or higher) + SP1  Visual Studio LightSwitch  Visual Studio SDK For building VSIX packages  LightSwitch Extension Development Kit (coming soon)  Upload to VS Gallery http://visualstudiogallery.msdn.microsoft.com/
  • 32. 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/deplo yment-guide-how-to-configure-a-web-server-to-host- lightswitch-applications.aspx
  • 33. K.Mohamed Faizal Lead Consultant @ NCS (P) Ltd. Jan 7th 2012 http://faizal-comeacross.blogspot.com/ kmdfaizal@yahoo.com http://www.facebook.com/kmdfaizal @kmdfaizal

Notas do Editor

  1. The Windows Azure platform today has four parts: Windows Azure: A Windows environment for running applications and storing data on computers in Microsoft data centers. SQL Azure: Relational data services in the cloud based on SQL Server. Windows Azure AppFabric: Cloud-based infrastructure services for applications running in the cloud or on premisesWindows Azure Marketplace: An online service for purchasing cloud-based data and applications.
  2. Compute: The Windows Azure compute service runs applications on a Windows Server foundation. These applications can be created using the .NET Framework in languages such as C# and Visual Basic, or they can be built without .NET in C++, Java, and other languages. Developers can use Visual Studio or other development tools, and they’re free to use technologies such as ASP.NET, Windows Communication Foundation (WCF), and PHP. Storage: This service allows storing binary large objects (blobs), provides queues for communication between components of Windows Azure applications, and even offers a form of tables with a simple query language. (Windows Azure applications that need traditional relational storage can also use SQL Azure.) Both indows Azure applications and on-premises applications can access the Windows Azure storage service, and both do it in the same way: using a RESTful approach. Fabric controller: As the figure suggests, Windows Azure runs on a large number of machines. The fabric controller’s job is to knit the machines in a single Windows Azure data center into a cohesive whole. The Windows Azure compute and storage services are then built on top of this pool of processing power. Content delivery network (CDN): Caching frequently accessed data closer to its users speeds up access to that data. The Windows Azure CDN can do this for blobs, maintaining cached copies at sites around the world. Connect: It’s often useful for organizations to interact with cloud applications as if they were inside the organization’s own firewall. Windows Azure Connect allows this, making it easier for, say, a Windows Azure application to access an on-premises database.
  3. The components of SQL Azure today are the following: SQL Azure Database provides a cloud-based database management system (DBMS). This technology lets on-premises and cloud applications store relational data on Microsoft servers in Microsoft data centers. As with other cloud technologies, an organization pays only for what it uses, increasing and decreasing usage (and cost) as the organization’s needs change. Using a cloud database also allows converting what would be capital expenses, such as investments in disks and DBMS software, into operating expenses. SQL Azure Data Sync allows synchronizing data between SQL Azure Database and on-premises SQL Server databases. It can also be used to synchronize data across different SQL Azure databases in different Microsoft data centers. SQL Azure Reporting is a version of SQL Server Reporting Services (SSRS) that runs in the cloud. Intended primarily for use with SQL Azure Database, it allows creating and publishing standard SSRS reports on cloud data.
  4. Service Bus: Exposing an application’s services on the Internet is harder than it might seem. The goal of Service Bus is to make this simpler by letting an application expose endpoints in the cloud that can be accessed by other applications, whether on-premises or in the cloud. Each exposed endpoint is assigned a URI, which clients can use to locate and access the service. Service Bus also handles the challenges of dealing with network address translation and getting through firewalls without opening new ports for exposed applications. Access Control: There are many ways for a user to get a digital identity today. The options include Active Directory, Windows Live ID, Google Accounts, Facebook, and more. If an application wants to let users log in with any of these, the application’s creator faces the daunting challenge of supporting this plethora of approaches. Access Control simplifies this by providing built-in support for all of them (and more). It also provides a single place for defining rules to control what each user is allowed to access. Caching: It’s common for applications to access the same data over and over. One way to speed up this kind of application is to cache frequently accessed information, reducing the number of times that application must query a database. The Caching service provides this—and the performance boost it brings—for Windows Azure applications.
  5. Key point: As your organization evaluates the multiple environments available to create a cloud based offering, it is important to understand that only PaaS takes away all of the extraneous management tasks that are not directly related to your value add.Across different types of hosted and cloud offerings the resources your organization manages are different:On-Premise: If you develop, test and help customers deploy your offering on-premise, all the components of the stack starting from the base hardware to middleware and right up to the application are managed by you. The place where your organization adds value however is at the very top where the application and the data sits.Managed hosting: If you have already moved part of the way to a hosted environment that manages some of the components of the hardware and may manage middleware partly as well, you still spend a lot of energy on managing the remaining parts of the stack where you don’t add value. You also have to predict usage, rent servers and hope you predicted right. There is no inbuilt process for scaling.IaaS: In an IaaS offering some of this headache of managing non-value added components of the stack goes away however you still manage the databases and security and integration services….so this is better than the 2 prior alternatives but still not ideal.PaaS: This is the offering where your organization is able to use its energies and talent most effectively – in creating more innovative applications, in reaching new markets, and in overcoming your businesses challenges versus managing infrastructure or middleware. The only components of the stack that you manage and focus on are those where you add value and therefore those that are tied to your revenue-stream directly.
  6. Introducing Microsoft Visual Studio LightSwitch, a simple self-service tool that allows developers and business professionals to build business applications quickly and easily for the desktop and the cloud- without the need to code!Visual Studio LightSwitch is a new product in the Visual Studio family aimed at developers who want to quickly create data-centric business applications for the desktop and the cloud. LightSwitch is an extensible development environment that simpliies the development process because it lets you concentrate on the business logic while it takes care of a lot of the remaining work. LightSwitch is perfect for small business or departmental productivity applications that need to be done fast. It’s easy to quickly get up and running in LightSwitch so you can focus on features important to your business. You don’t necessarily need to write code to get a LightSwitch application up and running, but you’ll quickly realize that code is necessary for business rules, screen worklows and other user productivity features specii c to your business requirements. Moreover, you can download and install LightSwitch extensions from the Visual Studio Gallery that add features to your application that aren’t available out of the box. You can even create extensions yourself using Visual Studio Professional or higher. It’s a good bet that the community will be creating some interesting extensions for LightSwitch!
  7. Architecture OverviewBefore we dive into advanced LightSwitch development, it’s impor-tant to understand the architecture of a LightSwitch application. LightSwitch applications are based on Silverlight and a solid .NET application framework using well-known patterns and best practices, like n-tier application layering and Model-View-ViewModel (MVVM), as well as technologies like the Entity Framework and WCF RIA Services (see ). h e LightSwitch team made sure not to invent new core technologies, such as a new data-access or UI layer; instead we created an application framework and development environment around these existing Microsot .NET Framework-based technologies that lots of developers are already building on today.This architecture means LightSwitch applications can be deployed as desktop applications, with the ability to integrate with hardware devices such as a scanner or bar code reader, as well as other applications like Microsoft Word and Excel; or they can be deployed as browser-based applications when broader reach is required. You can also host LightSwitch applications in a variety of ways, including with Windows Azure.LightSwitch is all about data and screens. The data in a screen is managed by a data workspace, which is responsible for fetching entities from a data service in the middle tier via queries, for tracking changes, and for sending updates back through the save pipeline to the middle-tier data service. When you execute the save command, it invokes the data service with one change set, which runs in one update transaction against the data source. You can have multiple data sources in LightSwitch (and even relate entities across data sources). Each data source you bring into your LightSwitch application has its own data workspace. From the data workspace, you can access all the queries and update operations against the data source. Entities themselves also expose underlying details, such as their entity state and original and current values. 
  8. Visual Studio LightSwitch is its own edition of Visual Studio. Its entire development environment is streamlined to focus on building LightSwitch applications. Even with just the LightSwitch edition installed, developers have access to all the LightSwitch APIs, the Silverlight and .NET frameworks, custom screen layouts and screen workflows, complex validation, the save pipeline and access control hooks. You can write complex and composite LINQ queries and use COM interop, as well as access both client and server project code.However, if you already have Visual Studio Professional or higher installed, LightSwitch will integrate into those editions and LightSwitch applications will show up as just another project template in the New Project dialog. In addition, you also have the ability to create custom controls and extensions for LightSwitch.
  9. EntitiesThe first step in building a LightSwitch application, after choosing whether you want to code in Visual Basic or Visual C#, is to define your data. You can create new tables or attach to external data sources. If you create tables from scratch, they’re added to the application database, which is a SQL Server Express database. Note that when it’s time to deploy the application, you can choose any edition of SQL Server to host the data. To work with external data, you can connect to an external database such as SQL Server or SQL Azure or any database for which you have an Entity Framework provider. You can also connect to SharePoint lists or WCF RIA Services.Knowing that a LightSwitch application is a Silverlight application, you may be wondering, “Where is the XAML?” A primary goal of LightSwitch is to make it much easier to build applications. It therefore does not expose XAML at design time. Rather, LightSwitch generates XAML at run time based on the screen design. This makes it dramatically easier for users to build applications. If you’re an experienced Silverlight developer, you might be thinking that this also limits your ability to build the screens you’d like.
  10. ScreensWhile this may be true if you’re only using Visual Studio LightSwitch, you have much more flexibility if you have LightSwitch on top of Visual Studio 2010 Professional or above. You can create your own Silverlight user controls and add them to LightSwitch screens, as well as use controls that aren’t included in LightSwitch. You can create composite controls or even entire screens that include custom logic, plus you can easily bind these user controls to screen entities.
  11. QueriesAll screens are based on queries. The query for a Detail screen returns one row. The query for a List and Details screen returns one parent row and all of the related child rows. The query for a Search or Editable Grid screen will return all rows by default. Note that queries that return a number of rows don’t literally return all of the rows at once. The queries support paging by default. To configure the paging, select the query in either the Screen or Query Designer and change the paging-related properties.You can filter the data returned by a screen query that returns a collection of entities. To do this, click Edit Query in the Screen Designer. In the Query Designer, you can then add Where and Sort clauses. You can also add parameters to queries.Screen queries are specific to a particular screen. Although it’s quick and easy to modify a screen’s query, a better practice is to create a reusable query. For example, you may want customers sorted by company name on the customer search screen. However, customers may also appear in a modal window picker on the screen where you create new appointments and in an autocomplete text box on the screen that displays customers and their projects. Rather than add the same Sort to three queries on three different screens, you can create one query and use it on the three screens.
  12. Access ControlAccess control gives you the ability to control what actions users can take in an application. LightSwitch uses the standard ASP.NET membership and role providers to enable both Windows and Forms authentication. You can authorize users to perform actions by creating permissions, assigning them to users and then checking in code whether the user has a particular permission.By default, all users can perform all actions in a LightSwitch application. To change this, open the Application Designer and select the Access Control tab, as shown in Figure 14. Then select either Windows or Forms authentication. The built-in SecurityAdministration permission controls whether a user can see the security administration screens at run time. You use those screens to assign permissions to users and add users if necessary. You can create additional permissions if desired. During development, you can turn off permissions by unchecking Granted for debug. This enables you to test the application using various combinations of permissions.
  13. DeploymentLightSwitch provides three models for deploying applications: two-tier desktop application, three-tier desktop application and three-tier Web application.A two-tier desktop application runs entirely on the end user’s computer as an out-of-browser Silverlight application. The UI and all the application’s middle-tier components run locally. The application connects to the database directly in typical client-server fashion. 
This avoids the need for a Web server. The application has access to local resources, including COM or local files. COM support provides the ability to control applications such as Word or Excel. Note that desktop applications require Windows.A three-tier desktop application runs as an out-of-browser Silverlight application hosted on IIS or Windows Azure. The UI runs on the end user’s computer, while the middle-tier components run on the host server.A three-tier Web application runs as an in-browser Silverlight application hosted on IIS or Windows Azure. The UI is browser-based and the middle-tier components run on the host server. Web applications don’t have access to COM or local resources, but they do provide the most reach across Mac and Windows OSes and multiple browsers.
  14. Desktop client, 2-tier. This deployment scenario creates an application that runs on the end-user’s Windows desktop. The database and server components run on a networked computer.
  15. Desktop client, 3-tier. This deployment scenario creates an application that runs on the end-user’s Windows desktop. The database and server components run on a server that is running Internet Information Services (IIS) or on Windows Azure.
  16. Browser client, 3-tier. This deployment scenario creates an application that runs in the end-user’s web browser. The database and server components run on a server that is running IIS or on Windows Azure.
  17. Extension Another way to add functionality to a LightSwitch application is to use an extension. There are six types of LightSwitch extensions: controls, screen templates, business types, shells (application look and feel), themes (colors and brushes for a shell) and custom data sources. You’ll need Visual Studio 2010 Professional or above and the Visual Studio 2010 SDK to create a LightSwitch extension, but anyone can use them in their LightSwitch project, no matter what edition they have installed.Extensions are distributed via VSIX packages. If you want to make an extension broadly available, you can upload it to the Visual Studio Gallery. It will then appear in the Extension Manager within LightSwitch. After installing an extension, you can enable it on the Extensions tab of the Application Designer. The Contoso Construction sample application uses a Bing map control extension to show the location of customers, as shown in Figure 12.