Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
1
CEM Practice K-Talk
Introduction to Visual Studio LightSwitch
Shehan Peruma | 05-April-2016
Tw i t t e r : @ S h e h a n...
2
Agenda
1 2 3LightSwitch Architecture SharePoint
4 5Demos Questions
3
LightSwitch?
4
LightSwitch!
L i g h t S w i t c h : A s i mplified development env ironment
wi thin Vi s ual S t udi o t o bui ld busi ...
6
LightSwitch Architecture Overview
ServiceMiddleTier
Submit
Pipeline
Queries
Data Workspace
WCF Data Service
DataStorageT...
7
Overview – Data Storage Tier
• Utilizes ADO.NET Entity Framework to connect to SQL
Server
• WCF Data Services is used to...
8
Overview – Service Tier
• Primary job of this layer is data access and processing
• Hosted in an ASP.NET application; Ru...
9
Overview – Client Tier (HTML)
• Implemented as a “Single Page Application”
• “Mobile First” – Built to run on all modern...
10
DEMO
11
Building SharePoint Apps
• SharePoint needs to be “enabled” via the project
properties screen
• SharePoint hosted apps ...
12
DEMO
13
Resources
• Pluralsight - Visual Studio LightSwitch 2012 and 2013
http://app.pluralsight.com/courses/visual-studio-ligh...
14
© 2016 Virtusa Corporation. All rights reserved. VirtusaPolaris and all other related logos are either registered trade...
Próxima SlideShare
Cargando en…5
×

Introduction to Visual Studio LightSwitch

This deck was part of my presentation to VirtusaPolaris employees on Visual Studio LightSwitch
There is also a slide on how to use it with SharePoint.

Date: April 2016

Follow / Tweet me: @ShehanPeruma

  • Inicia sesión para ver los comentarios

  • Sé el primero en recomendar esto

Introduction to Visual Studio LightSwitch

  1. 1. 1 CEM Practice K-Talk Introduction to Visual Studio LightSwitch Shehan Peruma | 05-April-2016 Tw i t t e r : @ S h e h a n P e r u m a
  2. 2. 2 Agenda 1 2 3LightSwitch Architecture SharePoint 4 5Demos Questions
  3. 3. 3 LightSwitch?
  4. 4. 4 LightSwitch! L i g h t S w i t c h : A s i mplified development env ironment wi thin Vi s ual S t udi o t o bui ld busi ness a pplications qui ckly. • Focus on business logic – all the technology decisions along with coding is taken care of • Applications are built on a classic three-tier architecture: client, service/business and data storage • Build applications for Mobile Web, Desktop & SharePoint (HTML 5 & Silverlight) • Available from Visual Studio 2010. However, HTML 5 support is from VS 2012 Update 2 onwards.
  5. 5. 6 LightSwitch Architecture Overview ServiceMiddleTier Submit Pipeline Queries Data Workspace WCF Data Service DataStorageTier ClientTier Methods ControlsScreens Data Workspace WCF Data Service
  6. 6. 7 Overview – Data Storage Tier • Utilizes ADO.NET Entity Framework to connect to SQL Server • WCF Data Services is used to access SharePoint data via OData protocol • Ability to understand relationships between tables (including SharePoint lists) • Utilizes LocalDB to create tables from within the IDE
  7. 7. 8 Overview – Service Tier • Primary job of this layer is data access and processing • Hosted in an ASP.NET application; Runs on IIS or on Azure website • Contains the business logic code (written in managed code – c#/vb.net) • A data service is created for each data source and is exposed via OData endpoint (WCF service) • Using the service endpoints, entities can be operated on (i.e. CRUD operations)
  8. 8. 9 Overview – Client Tier (HTML) • Implemented as a “Single Page Application” • “Mobile First” – Built to run on all modern mobile devices & tablets • Utilizes jQuery & jQuery Mobile under the hood • The jQuery Mobile ThemeRoller can be utilized to change the color scheme of the • Availability of a JavaScript API to access and modify entities and screens • Simple and consistent “design” interface to build screens • Ability to override layout & look-and-feel of the screen and controls via regular JavaScript, CSS and HTML • Communication between the middle layer is via Odata • JavaScript intellisense is available • Coding is limited to front-end scripting (i.e. no managed code)
  9. 9. 10 DEMO
  10. 10. 11 Building SharePoint Apps • SharePoint needs to be “enabled” via the project properties screen • SharePoint hosted apps are not supported • SharePoint Online does not support Autohosted apps • Deploying/Publishing of apps is built-in
  11. 11. 12 DEMO
  12. 12. 13 Resources • Pluralsight - Visual Studio LightSwitch 2012 and 2013 http://app.pluralsight.com/courses/visual-studio-lightswitch2012 • Pluralsight - Building Line of Business Applications with Visual Studio LightSwitch 2015 http://app.pluralsight.com/courses/visual-studio-lightswitch-2015-lob-apps • Pluralsight - Rapid Application Prototyping with SharePoint and LightSwitch http://app.pluralsight.com/courses/rapid-application-prototyping-sharepoint-lightswitch • LightSwitch Apps for SharePoint https://msdn.microsoft.com/en-us/library/jj969620.aspx
  13. 13. 14 © 2016 Virtusa Corporation. All rights reserved. VirtusaPolaris and all other related logos are either registered trademarks or trademarks of Virtusa Corporation in the United States, the European Union, and/or India. All other company and service names are the property of their respective holders and may be registered trademarks or trademarks in the United States and/or other countries. Shehan Peruma Sr. Architect – CEM | SharePoint aperuma@virtusapolaris.comThank you

×