Integrating SharePoint
2010/2013 and Visual
Studio LightSwitch



Rob Windsor
rwindsor@portalsolutions.net
@robwindsor
About Me
•   Senior SharePoint Architect with Portal Solutions
•   Technical Contributor to the Pluralsight On-Demand Library
•   Microsoft MVP, MCPD, MCT
•   Founder and Past-President of the North Toronto .NET UG
•   Co-author of Prof. Visual Basic 2012 and .NET 4.5 (Wrox)
What is Visual Studio LightSwitch?


       The easiest way to create
      modern business applications
           for the enterprise


• Learn more at the LightSwitch Developer Center
   • http://msdn.microsoft.com/en-us/lightswitch/default.aspx
Motivation for LightSwitch
• LightSwitch is a development tool that
    Is designed to be used by business users
         In the same way they are using Excel and Access today
    Is designed to be used by developers
         Apps can be transitioned to devs if they grow beyond the workgroup
    Has built-in “plumbing” to handle common application requirements
    Uses the latest Microsoft technologies
         HTML5, JavaScript, Silverlight, Entity Framework, WCF, SQL Server
      Uses well-known architectural patters
      Builds scalable applications
      Is extensible
      Supports Wizard driven deployment
LightSwitch Simplifies Development
• Data
    Multiple sources / kinds (including SharePoint)
    Entity model
• Screens
    No markup solution
    Extensible controls
    Extensible layouts
• Rules and validation
    Write once, execute everywhere
LightSwitch 2011
LightSwitch 2012




    OData          OData
LightSwitch 2012 HTML Client Preview 2




      OData         OData

 HTML5/JavaScript
The LightSwitch Development Experience
DEMO
Introduction to Visual Studio
LightSwitch
Entities
• Can be local (SQL Server Express) or attached (SQL
  Server, SQL Azure, SharePoint, WCF RIA service)
• Can create relationships within and across data sources
• Custom business types
    Provide validation and formatting
• Calculated properties
    Write code to generate value
• Can validate at the entity or property level
Screens
• Variety of built in screens
    New, search, details, editable grid, list and details
• Can use auto-generated screens for adding/editing or
  create your own
• Developers can modify screens at design-time and runtime
• Always based on queries
• 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
The LightSwitch Development Experience
DEMO
Entities, Screens, Queries,
and Code
Access Control
• Authentication
    LightSwitch supports Windows and Forms authentication
• Authorization
    Check if the user is allowed to do something
    Define permissions and check them in code at entity
     and property level
    Permissions are granted through administration screens
Access Control
•   Permissions are defined by the developer
•   The application’s administrator(s) define(s) users and roles
•   Permissions are assigned to roles
•   Users are assigned to roles
•   A user’s effective permissions are the combined
    permissions assigned to their 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
DEMO
Access control and
deployment
Thank You
• Big thanks to the organizers, sponsors and you for making
  this event possible
• Please fill out your evaluation
• Please keep in touch


    rwindsor@portalsolutions.net
    @robwindsor
    msmvps.com/blogs/windsor

More Related Content

PPTX
Power up your Project Sites - SPS New Hampshire 2015
PPTX
Develop business apps cross-platform development using visual studio with x...
PPTX
Share point 2013 and sql server 2012 what to choose
PPTX
Integration Best Practices
PPT
Best Practices Configuring And Developing Share Point Solutions
PPTX
Contract-Based Web Services API Deep Dive
PDF
SPCA2013 - Building Windows Client Applications for SharePoint 2013
PPTX
MVC-3 Vs Webform
Power up your Project Sites - SPS New Hampshire 2015
Develop business apps cross-platform development using visual studio with x...
Share point 2013 and sql server 2012 what to choose
Integration Best Practices
Best Practices Configuring And Developing Share Point Solutions
Contract-Based Web Services API Deep Dive
SPCA2013 - Building Windows Client Applications for SharePoint 2013
MVC-3 Vs Webform

What's hot (20)

PDF
CUST-3 Document Management with Share
PPTX
7 Cool Things to Demo in Acumatica 5.0
PDF
Salesforce Spring 14 Release Webinar
PPTX
Chag dashboard
PPTX
AppNotch Enterprise
PDF
WSO2 Product Release Webinar: WSO2 Dashboard Server 2.0
PPTX
Sustainable solutions with SharePoint 2013
PPTX
Oracle ِApplication Development Framework (ADF)
PPTX
PleaseReview integration with Oracle WebCenter Content
PPT
cDevWorkflow Overview
PDF
SharePoint Saturday The Conference DC - How the client object model saved the...
PPTX
Non SharePoint Deployment
PDF
Introduction to SharePoint Framework
PPTX
Design and Implement Azure Web Apps
PDF
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
PDF
SPCA2013 - Building a SharePoint Factory
PPTX
Codemotion Berlin-Mobile Services
PPTX
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
PPTX
Azure Mobile Services
PPTX
Building High Quality Solutions with Design Patterns & Application Foundation...
CUST-3 Document Management with Share
7 Cool Things to Demo in Acumatica 5.0
Salesforce Spring 14 Release Webinar
Chag dashboard
AppNotch Enterprise
WSO2 Product Release Webinar: WSO2 Dashboard Server 2.0
Sustainable solutions with SharePoint 2013
Oracle ِApplication Development Framework (ADF)
PleaseReview integration with Oracle WebCenter Content
cDevWorkflow Overview
SharePoint Saturday The Conference DC - How the client object model saved the...
Non SharePoint Deployment
Introduction to SharePoint Framework
Design and Implement Azure Web Apps
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
SPCA2013 - Building a SharePoint Factory
Codemotion Berlin-Mobile Services
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
Azure Mobile Services
Building High Quality Solutions with Design Patterns & Application Foundation...

Similar to Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windsor - SPTechCon (20)

PPTX
Integrating SharePoint 2010 and Visual Studio Lightswitch
PPTX
Visual Studio LightSwitch (Beta 1) Overview
DOC
DOC
BadesahebKBichu
PPTX
Developing Apps for SharePoint 2013
DOC
Arun Kumar(7.8Yrs).DOC
PPTX
Oracle Application Express Introduction
PDF
Suresh_Resume
DOC
Kumar_Resume - LinkedIn
PPT
DotNetNuke
DOCX
Divya ASP Developer
PDF
Multiple ldap implementation with ebs using oid
DOC
Chalam_JAVA_Portal
DOC
Chinnasamy Manickam
PPTX
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
PPTX
Developer’s Independence Day: Introducing the SharePoint App Model
PPTX
ASP.NET MVC - Latest & Greatest So Far
PDF
Tech Talk on Cloud Computing
PPTX
Spring Web Presentation - Framework and Its Ecosystem
PPTX
ALM with TFS: From the Drawing Board to the Cloud
Integrating SharePoint 2010 and Visual Studio Lightswitch
Visual Studio LightSwitch (Beta 1) Overview
BadesahebKBichu
Developing Apps for SharePoint 2013
Arun Kumar(7.8Yrs).DOC
Oracle Application Express Introduction
Suresh_Resume
Kumar_Resume - LinkedIn
DotNetNuke
Divya ASP Developer
Multiple ldap implementation with ebs using oid
Chalam_JAVA_Portal
Chinnasamy Manickam
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
Developer’s Independence Day: Introducing the SharePoint App Model
ASP.NET MVC - Latest & Greatest So Far
Tech Talk on Cloud Computing
Spring Web Presentation - Framework and Its Ecosystem
ALM with TFS: From the Drawing Board to the Cloud

More from SPTechCon (20)

PPTX
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
PDF
NOW I Get It... What SharePoint Is, and Why My Business Needs It by Mark Rack...
PPTX
“Managing Up” in Difficult Situations by Bill English - SPTechCon
PPTX
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
PPTX
Part II: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTe...
PPTX
Microsoft Keynote by Richard Riley - SPTechCon
PPTX
Ten Best SharePoint Features You’ve Never Used by Christian Buckley - SPTechCon
PPTX
Looking Under the Hood: How Your Metadata Strategy Impacts Everything You Do ...
PPTX
Law & Order: Content Governance Strategies by Chrisitan Buckley - SPTechCon
PPTX
What IS SharePoint Development? by Mark Rackley - SPTechCon
PPTX
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
PPTX
Understanding and Implementing Governance for SharePoint 2010 by Bill English...
PPTX
Integrate External Data with the Business Connectivity Services by Tom Resing...
PDF
Converting an E-mail Culture into a SharePoint Culture by Robert Bogue - SPTe...
PPTX
Tutorial: Best Practices for Building a Records-Management Deployment in Shar...
PDF
Tutorial: Building Business Solutions: InfoPath & Workflows by Jennifer Mason...
PDF
Creating Simple Dashboards Using Out-of-the-Box Web Parts by Jennifer Mason- ...
PDF
Sponsored Session: Better Document Management Using SharePoint by Roland Simo...
PDF
Sponsored Session: The Missing Link: Content-Aware Integration to SharePoint ...
PPTX
Creating a Great User Experience in SharePoint by Marc Anderson - SPTechCon
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
NOW I Get It... What SharePoint Is, and Why My Business Needs It by Mark Rack...
“Managing Up” in Difficult Situations by Bill English - SPTechCon
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
Part II: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTe...
Microsoft Keynote by Richard Riley - SPTechCon
Ten Best SharePoint Features You’ve Never Used by Christian Buckley - SPTechCon
Looking Under the Hood: How Your Metadata Strategy Impacts Everything You Do ...
Law & Order: Content Governance Strategies by Chrisitan Buckley - SPTechCon
What IS SharePoint Development? by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
Understanding and Implementing Governance for SharePoint 2010 by Bill English...
Integrate External Data with the Business Connectivity Services by Tom Resing...
Converting an E-mail Culture into a SharePoint Culture by Robert Bogue - SPTe...
Tutorial: Best Practices for Building a Records-Management Deployment in Shar...
Tutorial: Building Business Solutions: InfoPath & Workflows by Jennifer Mason...
Creating Simple Dashboards Using Out-of-the-Box Web Parts by Jennifer Mason- ...
Sponsored Session: Better Document Management Using SharePoint by Roland Simo...
Sponsored Session: The Missing Link: Content-Aware Integration to SharePoint ...
Creating a Great User Experience in SharePoint by Marc Anderson - SPTechCon

Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windsor - SPTechCon

  • 1. Integrating SharePoint 2010/2013 and Visual Studio LightSwitch Rob Windsor [email protected] @robwindsor
  • 2. About Me • Senior SharePoint Architect with Portal Solutions • Technical Contributor to the Pluralsight On-Demand Library • Microsoft MVP, MCPD, MCT • Founder and Past-President of the North Toronto .NET UG • Co-author of Prof. Visual Basic 2012 and .NET 4.5 (Wrox)
  • 3. What is Visual Studio LightSwitch? The easiest way to create modern business applications for the enterprise • Learn more at the LightSwitch Developer Center • http://msdn.microsoft.com/en-us/lightswitch/default.aspx
  • 4. Motivation for LightSwitch • LightSwitch is a development tool that  Is designed to be used by business users  In the same way they are using Excel and Access today  Is designed to be used by developers  Apps can be transitioned to devs if they grow beyond the workgroup  Has built-in “plumbing” to handle common application requirements  Uses the latest Microsoft technologies  HTML5, JavaScript, Silverlight, Entity Framework, WCF, SQL Server  Uses well-known architectural patters  Builds scalable applications  Is extensible  Supports Wizard driven deployment
  • 5. LightSwitch Simplifies Development • Data  Multiple sources / kinds (including SharePoint)  Entity model • Screens  No markup solution  Extensible controls  Extensible layouts • Rules and validation  Write once, execute everywhere
  • 7. LightSwitch 2012 OData OData
  • 8. LightSwitch 2012 HTML Client Preview 2 OData OData HTML5/JavaScript
  • 10. DEMO Introduction to Visual Studio LightSwitch
  • 11. Entities • Can be local (SQL Server Express) or attached (SQL Server, SQL Azure, SharePoint, WCF RIA service) • Can create relationships within and across data sources • Custom business types  Provide validation and formatting • Calculated properties  Write code to generate value • Can validate at the entity or property level
  • 12. Screens • Variety of built in screens  New, search, details, editable grid, list and details • Can use auto-generated screens for adding/editing or create your own • Developers can modify screens at design-time and runtime • Always based on queries • Generated screens do not expose XAML  You can use Silverlight controls you create yourself  You can add UI elements packaged as extensions
  • 13. 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
  • 16. Access Control • Authentication  LightSwitch supports Windows and Forms authentication • Authorization  Check if the user is allowed to do something  Define permissions and check them in code at entity and property level  Permissions are granted through administration screens
  • 17. Access Control • Permissions are defined by the developer • The application’s administrator(s) define(s) users and roles • Permissions are assigned to roles • Users are assigned to roles • A user’s effective permissions are the combined permissions assigned to their roles
  • 18. 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
  • 20. Thank You • Big thanks to the organizers, sponsors and you for making this event possible • Please fill out your evaluation • Please keep in touch [email protected] @robwindsor msmvps.com/blogs/windsor