1 / 22

Building SharePoint 2013 Apps 101

Building SharePoint 2013 Apps 101. Jerry Yasir SharePoint Server MVP, MCT Sr. SharePoint Architect US Tech Solutions. @ jerry_yasir. Agenda. Introduction Type of Apps Pre-Configuration Demo App Catalog. Evolution of SharePoint Development. 2010. 2007. 2013. SharePoint.

sanaa
Télécharger la présentation

Building SharePoint 2013 Apps 101

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building SharePoint 2013 Apps 101 Jerry Yasir SharePoint Server MVP, MCT Sr. SharePoint Architect US Tech Solutions @jerry_yasir

  2. Agenda • Introduction • Type of Apps • Pre-Configuration • Demo • App Catalog

  3. Evolution of SharePoint Development 2010 2007 2013 SharePoint SharePoint SharePoint IIS Sandbox IIS with _api App IIS Code runs from GAC on same w3wp.exeas SharePoint web application Code runs on SPUCWorkerProcess.exe or calls client.svc (CSOM) Code runs outside of SharePoint but has trust to leverage capabilities exposed in _api

  4. What's the Problem Code Based on DLLs Runs on Server Bad Code can effect your farm Upgrading Solutions can be difficult Permissions are difficult to handle Impersonate or not to impersonate or use user permissions

  5. The new cloud app model Build a new class of apps that extendandpersonalizethe way we create and consume information right from within Office and SharePoint New Apps A new class of apps enabling new scenariosand new user experiences Flexible Lifecycle Deploy and maintain your apps publically on the new Office Store,or internally with Flexibility and control Familiar Toolsets Embracing Web standards to provide developers choice and flexibility

  6. Apps for SharePoint Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. Apps integrate the best of the web and SharePoint; they are targeted and easy-to-use, and do a great job at solving a user need.

  7. App Hosting Options Cloud SharePoint Your Hosted Site SharePoint Host Web Provider-Hosted App “Bring your own server hosting infrastructure and technology platform” App Web* (separate SharePoint domain) Cloud-based Apps Get remote events from SharePoint Use CSOM/REST + OAuth to work with SP AutohostedApp Windows Azure + SQL Azure provisioned invisibly as apps are installed Azure SharePoint Host Web App Web* (separate SharePoint domain) • SharePoint-Hosted App • Provision an isolated sub web on a parent web (separate domain) • Reuse web elements (lists, files, out-of-box web parts) • No server code allowed; use client JavaScript for logic, UX SharePoint Host Web App Web (separate SharePoint domain) *App Webs are optional in Cloud-Hosted Apps

  8. Guideline SharePoint App Management Configuration

  9. Configuring SharePoint for Apps Development • Office Developer Tools for Visual Studio 2012 • Multitenant SharePoint Deployment • Office 365 • NAPA • Service Application • App Management Service • Site Subscription Management Service

  10. App Installation • Site Scope • Installed on a site called “Host Web” • Tenancy-Scoped Installation • Installed on site called “App Catalog Site” • Single App for All Web

  11. Apps for SharePoint – Things to Know • App Manifest • Permissions • Start Page URL • App Web • Host Web • An App Can not Access Host Web Directly (Prevent Cross Site Scripting) • App-Hosted Domain and App URL

  12. Apps UI • Start Page • App Parts • UI Custom Actions • Cloud Hosted Apps • Chrome Control • Direct CSS Reference using JavaScript

  13. SharePoint 2013 Apps with Demo

  14. SharePoint Hosted App • Manifested and Lives Inside SharePoint • No Server Side Code Allowed • Consists of ASPX Pages that includes • HTML5, CSS, JavaScript, jQuery • REST and OData

  15. A SharePoint Hosted App Demo

  16. Auto-Hosted App Lifecycle Tenant A Web Site Workflow SQL DB Site Owner Tenant Admin App Developer App Catalog .app .app Web Site Workflow SQL DB Site Owner .app Tenant B Web Site SQL DB Workflow Site Owner SQL DB Web Site Workflow SharePoint Store (Office Marketplace) Site Owner

  17. An Auto-Hosted App Demo

  18. Provider Hosted Apps • Deployment of Remote Web is by Choice • The Deployed to Remote Web on Remote Web Server • Remote Web + Database Must be Deployed First

  19. A Basic Provider Hosted App Demo

  20. SharePoint 2013 App Catalog Demo

  21. Takeaways • New Cloud Based App Model • Apps code out of SharePoint • 2 Categories of App • SharePoint Hosted • Cloud Hosted • 3 Types of Apps • SharePoint Hosted Apps • Azure Auto-Hosted Apps • Provider Hosted Apps • Configuration of App Development • App Management Service App + Site Subscription Server + App Domain

  22. Stick around for Q&AThanks!

More Related