Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic SharePoint 2013 App Development start-up for New Developers

Similar presentations


Presentation on theme: "Basic SharePoint 2013 App Development start-up for New Developers"— Presentation transcript:

1 Basic SharePoint 2013 App Development start-up for New Developers
MVP MENTOR PROGRAM Basic SharePoint 2013 App Development start-up for New Developers Fb/microsoftmvpmentor @mvpmentor

2 Usama Wahab Khan Sr. Solution Architect , Microsoft Most Valuable Professional, Microsoft Technical Community Leader, Microsoft Certified Trained ,MCPD ,MCTS , MCTIP. For SharePoint and .NET /Azure Vice -President, Technology Middle east and Europe (DAVIGOLD LLC) Dev Saturday UAE Twitter Facebook : FB/Usamawahabkhan Blog : usamawahabkhan.blogspot.com LinkedIn : USAMAWAHABKHAN

3 What is SharePoint for Developer
Site, People, Apps and themes Site People Themes Apps Data

4 What is SharePoint for Developer

5 Key Investment areas Access Workflow
4/19/2017 Access Workflow SharePoint Client Side Object Model Office and SharePoint Store Apps and the Cloud App Model SharePoint Server Side Object Model © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 What app means Today’s ? Any device, anywhere, anytime
New discovery channels New ways of working Redefined expectations for apps Familiar Social experience Build Supper Quick Apps. Multiple Data Sources. Create Multiple Screens for all Devices. Use Workflow with Cloud Business App. Essay debugging. Field Validation . Fb/microsoftmvpmentor @mvpmentor

7 Modernizing the Platform
Build 2012 4/19/2017 Modernizing the Platform Today’s Market Today’s Trends Our Principles © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 SharePoint for Developers
Cloud App Model Familiar programming model using web standards Development tools

9 SharePoint 2013 APIs Improvements
·         More Web Standards (Odata,Oauth) ·         More Client Side Support  ·         Improved Rest Model and EndPoint ·         Odata URL base Query Engine  ·         OAuth Web base identity system.  ·         Mobile Templates. 

10 What's New in SharePoint
Social and collaboration Search Core platform enhancements Mobility

11 SharePoint Development Environment
On-Premise Cloud VMs Hosting Office 365 To develop a sp app u must of course have a SP environment. u could have different installation scenarios. You could have a local on-premise farm or a farm hosted in a cloud service like azure or amazon {both are same with distinction in physical or virtual servers }. You could also have a hosted environment in which u lease what u require from a hosting company. Another option is to use office 365 which is microsofts hosting solution. One of our aims in this session is to give u a quick and practical way to start practicing the topics introduced today. Microsoft offers trial subscriptions for O365 which is a great way to start developing SP apps.

12 SharePoint 2013 Development Options
Farm-Trust Solutions Introduced in SharePoint 2007 Hosted in the same process as SharePoint Full server-side SharePoint API access Deployed by a farm administrator. Sandboxed solutions Introduced in SharePoint 2010 Hosted in special SharePoint process Limited server-side SharePoint API access Deployed by site collection administrator SharePoint App Model Introduced in SharePoint 2013 Provides for highest level of app isolation Much cleaner & simpler install & upgrade process Deployed by site collection administrator & SharePoint User Next slide we are going to address challenges in old SharePoint custom solutions (*.WSP) managed code deployed in a farm solution runs within the main SharePoint worker process (w3wp.exe). Managed code deployed by using a sandboxed solution runs within the SharePoint sandboxed worker process (SPUCWorkerProcess.exe). The sandboxed solutions run in an environment that has access to a subset of the SharePoint Foundation server object model and a subset of the Microsoft .NET Framework 3.5 assemblies. Code in a sandboxed solution must also run under a significantly restricted Code Access Security (CAS) policy.

13 Evolution of customizations in SharePoint
SP2007 SP2010 SP15 Services (IIS, Apache, Other, …) Services (Azure, IIS, Apache, Other…) SharePoint W15 Services (Azure, IIS, Apache, Other, etc…) _api _vti_bin _vti_bin SharePoint 2007 SharePoint 2010 Declar. App & Workflow Events Custom Code Custom Code _api CSOM

14 WPS challenges Farm-Trust Solutions Sandboxed solutions
Prone to stabilization issues Challenging to upgrade Unfeasible on hosted platform consuming server resources No control on the data access Deploy Downtime Sandboxed solutions Too strict for developers Hard to maintain and scale Confusing for site owners Farm-Trust Solutions: Not isolated and can cause a lot of issue for the ISS worker process Use server resource and this cause issues with performance Can access physical resources and other SharePoint site collections with no access control Cause exceptions on the web sites. Down time As developer, The difficulty in obtaining the developer environment Update and upgrade Sandbox solution have the same issues with a small enhancements Custom code running inside the SharePoint host environment poses risks and compromises scalability. Custom code with dependencies on in-process DLLs causes problems when migrating from one version of SharePoint to the next. A permissions model for custom code based entirely on the identity of the current user is inflexible. User impersonation solves the too-little-permissions problem but replaces it with the too-many-permissions problem, which is even worse. SharePoint solutions lack effective support and easily understood semantics for distribution, installation, and upgrade.

15 Apps and the Cloud App Model Office and SharePoint Store Get Started
4/19/2017 Apps and the Cloud App Model Office and SharePoint Store Get Started Right Now © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Cloud App Model

17 Types of App in SharePoint

18 Azure (from WebDeploy, DacPac)
SP App Design - A Choice of Three Approaches Developer-Hosted App “Bring your own server hosting infrastructure” Developers will need to isolate tenants SharePoint Web Your Hosted Site Cloud-based Apps Get remote events from SharePoint Use CSOM/REST + OAuth to work with SP Azure Auto-Provisioned App Windows Azure + SQL Azure provisioned invisibly as apps are installed SharePoint Web Azure (from WebDeploy, DacPac) SharePoint-hosted App Provision an isolated sub web on a parent web Reuse web elements (lists, files, out-of-box web parts) No server code allowed; use client JavaScript for logic, UX Parent Web App Web (from WSP) animated

19 Web Apps & Applications
Office 365 Web Apps & Applications Overview SharePoint Outlook and Exchange SkyDrive Lync But what is O365 ? And what does it have to offer? "Office 365" refers to subscription plans that include access to Office applications plus other productivity services that are enabled over the Internet (cloud services), these services include : Exchange Online hosted for business hosted messaging solution, delivers the capabilities of Microsoft Exchange Server as a cloud-based service (no need for server software), usingle sign-on access to , calendar, contacts, and tasks from PCs, the web, and mobile devices. It integrates fully with Active Directory Lync web conferencing hosted communications service that connects people anytime anywhere by delivering the collaboration capabilities of Lync Server 2013 as a cloud-based service. It gives users access to presence, instant messaging, audio and video calling, rich online meetings, and extensive web conferencing capabilities additional online storage with SkyDrive Office Web Apps Online versions of the office suite in addition to software installations Finally, SharePoint!

20 Choose the right plan for your business
Make your decision based on Office applications, company size, IT controls, and advanced services Office Small Business Office 365 Small Business Premium Office Midsize Business Office 365 Enterprise E3 Voic , Legal Hold, Data Loss Prevention Rights Management Advanced Services InfoPath Forms, Access, Excel, Visio Services Active Directory® Integration Office Desktop Applications Office Click to Run Office Deployment Pull Pull Pull Pull Push Push Let’ say we have a startup company with 3 employees.. Reference: Office Web Applications , File Sharing, Website, Conferencing Standard Services IT Level Phone Support Basic Expanded Basic Basic Expanded Expanded Full Full IT Administration Console Basic Basic Expanded Full Seat targets 1-10 1–10 11–250 >250 Price (per user/month in US Dollars) $6 $12.50 $15 $20

21 Office 365 – Try it! Demo Subscribe to Office 365 preview Browse
Create SharePoint Site Collection Add List App to the site ----

22 Apps are mini applications that extend what you can do with the SharePoint 2013 Sites.
Web Page App Manifest App for Office

23 The story … Let’s make SP custom components as mobile apps:
 Wide Developers Platforms  Isolated  Process  Access Control Components  Friendly user experience  App store Apps must be supported in Office 365 and in on-premises farms. App code never runs within the SharePoint host environment. App code programs against SharePoint sites by using web service entry points to minimize version-specific dependencies. App code is authenticated and runs under a distinct identity. App permissions can be configured independently of user permissions. Apps are deployed by using a publishing scheme based on app catalogs. Apps that are published in a catalog are easier to discover, install, and upgrade.

24 The story … SP Web Web Site (ASP, PHP …) SP Web (App Web)
 Wide Developers Platforms  Isolated  Process  Access Control  Familiar user experience  App store SP Web ( Site Contents (Apps) List App Library App Web Site (ASP, PHP …) ( SP Web (App Web) ( Host Web Custom App Custom logic in apps for SharePoint is always distributed "down" to the client or "up" to the cloud (or "over" to some server outside the SharePoint farm). Custom App

25 The story … SP web (Host Web) App Web Page Page Iframe  Isolated
 Components SP web (Host Web) Page App Web Page Iframe

26 End User (Business Value)
The story (advantages) … End User (Business Value) Familiar user experience Apps Store and Apps Catalog Admin Isolation (Process and Page parts) Multiple options for hosting Access control Developer Familiar tools and a rich set of features Flexible Environment Fast deploy and test

27 Demo Manage Apps Go to Site content Add an App form Apps Store

28 SharePoint Developer Site
Enable-SPFeature –identity "EnableAppSideLoading" -URL

29 Create Developer Site Demo Create App using Visual Studio
Navigate the Files Take about manifest file Go to default page and some code Deploy Add List Add and App part with some code deploy again

30 Microsoft Office Developer Tools for Visual Studio 2012/2013
Create rich, immersive apps for Office and SharePoint using the premiere tool for professional developers.

31 Building App Using VS 2012 Demo Create App using Visual Studio
Navigate the Files Take about manifest file Go to default page and some code Deploy Add List Add and App part with some code deploy again

32 SharePoint Shapes App Parts Custom Actions Full-Page
Implement complete app experiences to satisfy business scenarios Full-Page App Parts Create app parts that can interact with the SharePoint experience Custom Actions Add new commands to the ribbon and item menus Full Page: Required App Parts and Custom Actions: Optional Custom Action also known as “UI command extensions”

33 Demo App Parts Add and App part with some code Deploy again

34 Where does the code for an app run?
SharePoint-hosted apps app is hosted in SharePoint itself, the code is HTML and JavaScript and is hosted by SharePoint. Cloud-hosted (Provider-hosted and auto-hosted apps) SharePoint-Hosted app (Provisions an isolated sub web on a host web) Use SP artifacts Use HTML & JavaScript for UI & client-side logic Use Workflows for middle tier logic Cloud-hosted apps Use server code Receive SP events Use OAuth to access SP These apps run on your server or in the cloud, depending on how you choose to host your app.

35 Choose the right API set in SP 15

36 Packaging & Publishing
Development Site Collection App Catalog Site Collection Teams\publish Site Collection Developer Administrator User

37 Packaging & Publishing
Demo Packaging & Publishing Create App catalog Add the app to the team site Test it

38 Thank you 


Download ppt "Basic SharePoint 2013 App Development start-up for New Developers"

Similar presentations


Ads by Google