This document provides an overview of developing a provider hosted SharePoint app. It discusses what provider hosted apps are, the app development history in SharePoint, hosting options for apps, the provider hosted app architecture, costs and benefits of being an app provider, the development model, and demonstrates creating an app manifest and using the Client Side Object Model. It also provides several resources for learning more about developing provider hosted SharePoint apps.
Despite the rumors of its demise, SharePoint On-Premises is still very much alive and kicking, and it is still critical to architect it for performance. During this session, we walk you through some of the highlights of the content that will be presented in the 'Ultimate SharePoint Infrastructure Best Practices' session that the speaker will present at the European SharePoint Conference in May. Topics discussed are SharePoint infrastructure security, database performance and optimization, server virtualization, and high availability.
Workflow Manager is a new workflow engine added in SharePoint 2013 which has some tips & tricks, We will see in this session how to go with smooth installation.
Virtualizing Sharepoint for Performance and AvailabilityDamir Bersinic
Are you prepared to change the way you look at availability? Have you thought about how SharePoint works with Hyper-V Live Migration or vMWare's vMotion? As you architect your SharePoint farm virtually, knowing how to structure it correctly and leverage both physical and virtual elements effectively is a must. In this session, we’ll cover how and when to use virtualization availability features, Windows Failover Clustering and SQL Server technologies and the impact of combining them. We’ll also discuss how you can combine SharePoint, SQL Server and Windows Server features to help you ensure your SharePoint environment is available 24x7 365 days a year.
This session introduces tools that can help you analyze and troubleshoot performance with SharePoint 2013. This sessions presents tools like perfmon, Fiddler, Visual Round Trip Analyzer, IIS LogParser, Developer Dashboard and of course we create Web and Load Tests in Visual Studio 2013.
At the end we also take a look at some of the tips and best practices to improve performance on SharePoint 2013.
Tuning SQL Server for Sharepoint 2013- What every sharepoint consultant need...serge luca
Tuning SQL Server for SharePoint what every SharePoint consultant needs to know - SharePoint Summit Vancouver - Serge Luca (SharePoint MVP) and Isabelle Van Campenhoudt(SQ Server MVP); ShareQL, Belgium
Despite the rumors of its demise, SharePoint On-Premises is still very much alive and kicking, and it is still critical to architect it for performance. During this session, we walk you through some of the highlights of the content that will be presented in the 'Ultimate SharePoint Infrastructure Best Practices' session that the speaker will present at the European SharePoint Conference in May. Topics discussed are SharePoint infrastructure security, database performance and optimization, server virtualization, and high availability.
Workflow Manager is a new workflow engine added in SharePoint 2013 which has some tips & tricks, We will see in this session how to go with smooth installation.
Virtualizing Sharepoint for Performance and AvailabilityDamir Bersinic
Are you prepared to change the way you look at availability? Have you thought about how SharePoint works with Hyper-V Live Migration or vMWare's vMotion? As you architect your SharePoint farm virtually, knowing how to structure it correctly and leverage both physical and virtual elements effectively is a must. In this session, we’ll cover how and when to use virtualization availability features, Windows Failover Clustering and SQL Server technologies and the impact of combining them. We’ll also discuss how you can combine SharePoint, SQL Server and Windows Server features to help you ensure your SharePoint environment is available 24x7 365 days a year.
This session introduces tools that can help you analyze and troubleshoot performance with SharePoint 2013. This sessions presents tools like perfmon, Fiddler, Visual Round Trip Analyzer, IIS LogParser, Developer Dashboard and of course we create Web and Load Tests in Visual Studio 2013.
At the end we also take a look at some of the tips and best practices to improve performance on SharePoint 2013.
Tuning SQL Server for Sharepoint 2013- What every sharepoint consultant need...serge luca
Tuning SQL Server for SharePoint what every SharePoint consultant needs to know - SharePoint Summit Vancouver - Serge Luca (SharePoint MVP) and Isabelle Van Campenhoudt(SQ Server MVP); ShareQL, Belgium
Design a share point 2013 architecture – the basicsAlexander Meijers
session walks you through the necessary steps to design a SharePoint 2013 architecture. It explains what information is needed to actually design such an architecture and discusses the many things you need to know to make the right decisions. It helps you to design a small, medium or large SharePoint farm for your customers
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013K.Mohamed Faizal
Come and understand different type of SharePoint Topologies and learn how to design for SharePoint architecture that serve for Intranet, Websites, Office Web Apps Server, App management, wide-area networks, monitoring, newsfeeds, distributed cache, high availability, and disaster recovery.
Who is to blame? SharePoint? SQL? For many admins, SharePoint is the biggest and most important SQL Server application they manage. But how? In this session, we give an overview on planning, installation and management of SQL Server for SharePoint. We also explain how SharePoint uses SQL and cover best practices from the SharePoint and SQL CAT teams.
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...Knowledge Cue
This session cover best practices for ensuring that your core SharePoint infrastructure layer has been deployed correctly. The session is geared towards SharePoint infrastructure administrators and architects who will be managing a SharePoint deployment.
SharePoint Performance: Best Practices from the FieldJason Himmelstein
Want to avoid the performance mistakes before you make them? This in-depth session we will discuss how to properly position your SharePoint farm for success beginning with "hardware" and ending with troubleshooting methodologies to maximize performance. Find the pitfalls before you hit them from someone who has climbed out of the deep dark holes in the wild. Best Practices from the Field combines recommendations from Microsoft with the experience of trial & error.
SharePoint 2010 Boost your farm performance!Brian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance.
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel OlesonJoel Oleson
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel Oleson. Includes strategy for upgrade including details on the common upgrade methods including additional best practices, a decision tree, and solutions.
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...J.D. Wade
You will learn how SharePoint is optimized for SQL, how to properly manage and maintain the SharePoint databases, how to optimize the SQL configuration for SharePoint, what settings in SharePoint need to be changed or not changed to maintain SQL Server performance, and supported methods for providing high availability and disaster recovery.
What SQL DBAs need to know about SharePoint-Indianapolis 2013J.D. Wade
With the number of deployments of SharePoint exponentially growing every day, as a DBA, it is very likely you are going to have SharePoint databases on SQL Servers you support. This session reviews SharePoint strictly from the SQL Server perspective. You will learn how SharePoint is optimized for SQL, how to properly manage and maintain the SharePoint databases, how to optimize the SQL configuration for SharePoint, what settings in SharePoint need to be changed or not changed to maintain SQL Server performance, supported methods for providing high availability and disaster recovery, and the part SharePoint and SQL each play in the Microsoft Business Intelligence story.
Speaker: Dragan Panjkov;
In this session we will speak about SharePoint apps – new approach for development in new SharePoint. We will explain rationale behind Apps, basic concepts and various hosting options. We will also show you how to build your first app for SharePoint 2013.
Design a share point 2013 architecture – the basicsAlexander Meijers
session walks you through the necessary steps to design a SharePoint 2013 architecture. It explains what information is needed to actually design such an architecture and discusses the many things you need to know to make the right decisions. It helps you to design a small, medium or large SharePoint farm for your customers
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013K.Mohamed Faizal
Come and understand different type of SharePoint Topologies and learn how to design for SharePoint architecture that serve for Intranet, Websites, Office Web Apps Server, App management, wide-area networks, monitoring, newsfeeds, distributed cache, high availability, and disaster recovery.
Who is to blame? SharePoint? SQL? For many admins, SharePoint is the biggest and most important SQL Server application they manage. But how? In this session, we give an overview on planning, installation and management of SQL Server for SharePoint. We also explain how SharePoint uses SQL and cover best practices from the SharePoint and SQL CAT teams.
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...Knowledge Cue
This session cover best practices for ensuring that your core SharePoint infrastructure layer has been deployed correctly. The session is geared towards SharePoint infrastructure administrators and architects who will be managing a SharePoint deployment.
SharePoint Performance: Best Practices from the FieldJason Himmelstein
Want to avoid the performance mistakes before you make them? This in-depth session we will discuss how to properly position your SharePoint farm for success beginning with "hardware" and ending with troubleshooting methodologies to maximize performance. Find the pitfalls before you hit them from someone who has climbed out of the deep dark holes in the wild. Best Practices from the Field combines recommendations from Microsoft with the experience of trial & error.
SharePoint 2010 Boost your farm performance!Brian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance.
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel OlesonJoel Oleson
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel Oleson. Includes strategy for upgrade including details on the common upgrade methods including additional best practices, a decision tree, and solutions.
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...J.D. Wade
You will learn how SharePoint is optimized for SQL, how to properly manage and maintain the SharePoint databases, how to optimize the SQL configuration for SharePoint, what settings in SharePoint need to be changed or not changed to maintain SQL Server performance, and supported methods for providing high availability and disaster recovery.
What SQL DBAs need to know about SharePoint-Indianapolis 2013J.D. Wade
With the number of deployments of SharePoint exponentially growing every day, as a DBA, it is very likely you are going to have SharePoint databases on SQL Servers you support. This session reviews SharePoint strictly from the SQL Server perspective. You will learn how SharePoint is optimized for SQL, how to properly manage and maintain the SharePoint databases, how to optimize the SQL configuration for SharePoint, what settings in SharePoint need to be changed or not changed to maintain SQL Server performance, supported methods for providing high availability and disaster recovery, and the part SharePoint and SQL each play in the Microsoft Business Intelligence story.
Speaker: Dragan Panjkov;
In this session we will speak about SharePoint apps – new approach for development in new SharePoint. We will explain rationale behind Apps, basic concepts and various hosting options. We will also show you how to build your first app for SharePoint 2013.
SharePoint 2013 Hosted App Presentation by Roy KimRoy Kim
Sharing my experience and knowledge of developing a SharePoint Hosted App during late 2012. This app is a photo slider with a Picture Library and a custom list to hold default settings. Subjects include, REST API, JavaScript Object Model, Client Web Part, App Web, Cross Domain Call to the host web and other developer insights.
Deep dive into SharePoint 2013 hosted apps - Chris OBrienChris O'Brien
Covers key aspects of SharePoint 2013 apps, with a focus on SharePoint-hosted apps. Includes detail on app parts, using web parts within an app, configuring SSL, troubleshooting apps and possible reasons to move away from a SharePoint-hosted app to a cloud app. Also covers "high-privilege" apps which provision to the host web.
Are you looking for a better strategy to implement Office 365 but already have an on premise SharePoint 2013 or SharePoint 2010 implementation? If so this session is for you to understand how both systems can help solve distinct business problems that your organization might want to leverage SharePoint to address.
Office 365 brings SharePoint to the cloud to allow for the best of both the worlds together to simplify and enhance the SharePoint experience while significantly reducing costs. Office 365 allows more flexibility and greater business agility. It helps leveraging familiar tools for simple deployment, and user experiences as well as a leaner, controlled model for enterprises.
Topics covered include
• An overview of Office 365 & SharePoint 2013 On Premise: Better together!
• Use cases to consider for each environment?
• Impact to your Infrastructure
• Key Considerations
Tricks and Tips in Migrating to Office 365 and On-Premises to acoid migration...Mike Maadarani
Migrating data into any platform is a difficult task, especially if you are moving into Office 365. If you are migrating to either SharePoint 2013 On-Premise or O365, you will need preparation, good planning, and detailed execution activities are keys to avoid migration nightmare.
This session will help you learn a methodology, adopted based on many previous migration, to help you deliver a successful migration project with happy users. We will learn the steps you need in your pre-migration analysis, migration checklists, post migration support, and any issues you might face during and after completing the migration efforts.
SPS Chevy Chase Tips on migrating to Office 365Mike Maadarani
Migrating data into any platform is a difficult task, especially if you are moving into Office 365. If you are migrating to either SharePoint 2013 On-Premise or O365, you will need preparation, good planning, and detailed execution activities are keys to avoid migration nightmare.
This session will help you learn a methodology, adopted based on many previous migration, to help you deliver a successful migration project with happy users. We will learn the steps you need in your pre-migration analysis, migration checklists, post migration support, and any issues you might face during and after completing the migration efforts.
Developing hybrid SharePoint apps that run on-premise and in the cloud - Bram...Bram de Jager
With the new SharePoint App model running outside the SharePoint worker process it introduces new authentication models. As a developer you don't want to build multiple versions of the same app implementing each authentication model separately. This session explains the differences between securing SharePoint apps with OAuth in Office 365 and S2S High Trust in on-premise deployments. You will learn how to build a single app that will run on-premise, online and hybrid SharePoint environments.
Best Practices for a Successful SharePoint Migration or Upgrade to the CloudPerficient, Inc.
Whether you are a chief information officer or an IT executive, this slideshare will provide you with the key details needed for a successful upgrade to SharePoint Online in Office 365. We will share:
Top reasons to move from on-premises to SharePoint Online
Challenges and technical considerations when migrating to the cloud
Options for migrating to Office 365/SharePoint Online
Best practices for secure cloud computing with SharePoint Online
Webinar - Migrating Legacy On Premise Solutions to SharePoint Online and Wind...Eric Shupps
As many organizations move away from on-premise SharePoint deployments in favor of externally hosted solutions, developers will increasingly be called upon to make legacy applications compatible with cloud-based services. In this session we will explore the various options available for creating SharePoint applications in the cloud, discuss the pros and cons of each approach, delve into the technical aspects of cloud development, and provide real-world guidance for creating an on-premise-to-cloud migration strategy.
In this session we will talk about how to integrate SharePoint Online & Azure, to get the most of both technologies. You will learn how to read and store information on Azure and integrate it on SharePoint. You will also see how to leverage azure to create your own reports to give all the information relevant to plan and manage your Office 365 subscription. This will be a demo based session where we will demonstrate some reald field scenarios implemented on some Microsoft Customers. Share your experiences with us.
One of the major changes in SharePoint 2013 is the introduction of apps. Apps for both SharePoint and Office provide a new model for developing, packaging and deploying custom solution for SharePoint.
This brief presentation will introduce the main aspects of the apps model introduced form Microsoft to addres custom features to SharePoint both on-premises and online.
Custom Development in SharePoint – What are my options now?Talbott Crowell
Since Microsoft has released SharePoint 2013 with a whole new application development methodology, there has been some confusion and frustration in the community on what the best approach for customizing SharePoint for developers. In this session, we will look at the options, new and old, and discuss the pros and cons. We may even see some novel approaches you haven’t thought about yet.
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Bram de Jager
The new SharePoint App Model provides different ways of building apps. As a developer you have to choose between development techniques, hosting options and more. This session discusses the architecture, various types of apps, application identity and permissions, and how to build these different types of apps.
The session contains demos covering building SharePoint-hosted apps, implementing SharePoint 2013 chrome control, setting the right permissions, and more with Visual Studio 2012.
One of the biggest news of SharePoint 2013 is the app model, which allows creating apps for selling them through a public marketplace, the Microsoft Office Store, as well as for publishing them in a corporate App Catalog.
In this session you will learn what an app is, what are the available hosting models, how you can leverage the Client Side Object Model and the REST API to enrich your solutions. Moreover, you will learn how to publish your apps to the Office Store, or on the corporate App Catalog.
The overall goal of the session is to make you aware of the real potentials of this new capability. To attend this session you should have a good understanding of developing with .NET and general knowledge of SharePoint 2013.
D2 - Automate Custom Solutions Deployment on Office 365 and Azure - Paolo Pia...SPS Paris
Modern solutions are based on complex architectures, which are made of multiple layers and services. Often, to run your solutions, you need to host services on Azure, configure services in Office 365, and provision content in SharePoint Online. Deploying manually such kind of solutions in target environments can be really challenging, time consuming, and error-prone. In this session, you will learn how to automate the provisioning of such kind of solutions using the Microsoft Graph, the Azure Management API, and the REST API more in general. During the session you will see a real case study, based on the open source PnP Partner Pack Setup Wizard.
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Bram de Jager
The new SharePoint App Model provides different ways of building apps. As a developer you have to choose between development techniques, hosting options and more. This session discusses the architecture, various types of apps, application identity and permissions, and how to build these different types of apps. The session contains demos covering building SharePoint-hosted apps, implementing SharePoint 2013 chrome control, setting the right permissions, and more with Visual Studio 2012.
With SharePoint 2013 just around the corner a plethora of new features for developers will also become available. Starting with enhancements in Visual Studio 2012 for SharePoint developer, iterating through the new SharePoint REST and OData, WCF Data Services framework, Client Side/JavaScript Object Model (CSOM/JSOM), new WCF service for BCS or Remote Event Receivers, ending with building applications for the new tore, we will walk you through you what you need to get your current skillset updated for the SharePoint 2013.
Apps for SharePoint are easy-to-use, lightweight web applications.An app for SharePoint is a stand-alone, self-contained piece of functionality that extends the features and capabilities of a SharePoint site.App model is mainly designed for cloud hosting. It will not use server side code. It will use only client script like java script or jQuery, and will work on top of share point framework.
This sessions if for everybody that always wanted to know about SharePoint development, but didn’t have anyone to ask, or didn’t have opportunity to try on their own. We’ll show how to start with SharePoint development, what API to use, when to use client API, is server side object model deprecated, how to setup development environment and more tips & tricks which are not usually mentioned.
Similar to Developing a provider hosted share point app (20)
Building high performance and scalable share point applicationsTalbott Crowell
SharePoint custom application development can sometimes be challenging. This presentation at SPS New Hampshire on October 18th, 2014 covers some techniques and strategies on improving performance and scalability of your applications.
Road to the Cloud - Extending your reach with SharePoint and Office 365Talbott Crowell
Presentation on SharePoint and Office 365 development for ISV's at Microsoft Cambridge on March 6th, 2014. More details https://info.windowsazure.com/Feb2014BostonRoadtotheCloudBusinessstrategyandnetworkingforISVs_Register.html?LeadSource=Email&browserLanguage=&LeadSourceDetail=Person-to-person
Talbott Crowell introduces F# 3.0 including function programming basics, units of measure, and the new F# 3.0 feature called Type Providers for analyzing Big Data
PowerShell is a powerful scripting environment and language for developers and administrators. SharePoint 2010 has built in PowerShell administration commandlets, but you can use this powerful scripting language with any version of SharePoint. Using PowerShell, Talbott will demonstrate how you can build and deploy SharePoint sites for development, testing, proof of concepts, and production. Using an agile methodology, you will learn how to leverage PowerShell scripts for your planning and development process.
This talk describes building Silverlight 3 applications using F#. Both Visual Studio 2008 and 2010 RC are demonstrated. This talk was given by Talbott Crowell at the F# User Group meeting on April 4, 2010 at Microsoft, Cambridge, MA.
Automating SQL Server Database Creation for SharePointTalbott Crowell
In this session, Talbott will discuss the use of the SharePoint API for provisioning content databases in SQL Server to store documents. There are several scenarios that you will want to control and manage the database creation when building specialized applications using SharePoint. Topics include planning and estimating size requirements plus strategies around partitioning data into content databases. Attendees include SQL Server DBA's supporting SharePoint installations and applications. Presented at New England Data Camp 1.0, Jan 24, 2009, at Microsoft Waltham, MA.
Architecting Solutions for the Manycore FutureTalbott Crowell
This talk will focus solution architects toward thinking about parallelism when designing applications and solutions specifically Threads vs Tasks on TPL, LINQ vs. PLINQ, and Object Oriented versus Functional Programming techniques. This talk will also compare programming languages, how languages differ when dealing with manycore programming, and the different advantages to these languages. Demonstration include C#, VB, and F# features for functional programming, LINQ and TPL. A demonstration of the Concurrency Visualizer in Visual Studio 2010 will also be included.
2. About Me
• http://about.me/talbott
• Solutions Architect at ThirdM
• A Founder of SharePoint Saturday Boston
• Microsoft MVP
• Blogger and Author
3. About this Talk
• For Developers
• Who want to build Apps For SharePoint
• For Architects
• Who want to understand options and architecture considerations of
a Provider Hosted App
• For Anyone
• Who wants to learn more about SharePoint 2013 and the future of
Extending and Customizing SharePoint
4. What is a Provider Hosted App
• SharePoint 2013 Compatible Application
• Hosted outside of SharePoint
• Azure
• Amazon Web Services (AWS)
• Rackspace
• Your Datacenter
• An on-premise server in your customer’s Datacenter (you provide
the Application, Hardware, and/or VM)
• Written in any language on any platform
• Java, F#, Ruby, Linux, Unix
5. App Development History
• SharePoint 2003 – Web Parts
• SharePoint 2007 – Farm Solutions & SPD
• WSP (A CAB file with deployment assets and
instructions) which may include:
• Server Code (.NET Assemblies for GAC or BIN)
• Client Code (JavaScript Files, CSS, HTML)
• ASP.NET (ASPX, ASCX, Master
Pages), Images, Site templates, List
definitions, Content Types (CAML), Layouts, various
other types of content
• SPD (SharePoint Designer)
• Create custom solutions with
Workflows, JavaScript, HTML, jQuery, Master
Pages, Layouts stored in Content Database
• SharePoint 2010
• Sandbox Solutions
• SharePoint 2013
• Apps for SharePoint
6. Apps for SharePoint Hosting Options
• Provider Hosted Apps
• SharePoint 2013 on-premise
or Office 365
• Unlimited scaling
• Autohosted Apps
• Typically Azure Web Sites
written in .NET
• Runs only in Office 365 (no
on-premise option)
• Uses the consumers Office
365 Azure resources
• SharePoint Hosted Apps
• Client side only
(JavaScript, jQuery, HTML, CS
S)
• Uses CSOM to manipulate
SharePoint object
• http://bit.ly/spapphosting
7. Provider Hosted Apps
Office 365 Data Center Application Runtime and Backend
or On-Premise SharePoint 2013 Farm (Can be anywhere: On-Premise or Cloud)
Provider
SharePoint Provider
2013
Hosted
Service
app
Provider Data
Customer Provider
8. Alternative Using Autohosted
Office 365 Data Center Application Runtime and Backend
(including Azure) (Cloud Service you Host)
Office 365 Autohosted app
Provider
(SharePoint Windows Azure
Online) Service
Azure Database
Customer Data Provider Data
Customer Provider
9. Provider Hosted Architecture
• Store or App Catalog – Deployment Manifest .APP file
• App Manifest – Declare App Permission Requests
• Trust Settings – User must “allow” or “trust” your app
• Provider receives Request with Trust Token
• Provider uses CSOM to call back to SharePoint using the
Trust Token
• SharePoint persists changes made by the Provider in the
Content Database (just like SharePoint Designer)
10. Costs of Being a Provider
• Need to maintain and cover hosting cost
• But you can extend your app to other ecosystems outside of
SharePoint
• iPad, Facebook, Kindle, Salesforce
• Changes will affect ALL customers
• May need a versioning strategy for customers in Life Sciences
(long validation lifecycle)
11. Benefits of Provider Hosted
• Does not tax the SharePoint Farm’s resources as much
as Farm Solution might
• Update 1000’s of SharePoint Farms with one release
update to the Provider
• Centrally managed at the Provider’s location
• Develop on any platform using any language leveraging
your existing developer and infrastructure knowledge
• Same App works on Office 365 and SharePoint 2013 on-
premise
12. Development Model
• Get Started using Azure and Office 365 Preview
• Many Blog posts on getting started
• Deploy your Provider Hosted app to your Provider
(Azure, AWS, Rackspace, local server)
• Deploy your .APP file to SharePoint
13. Development System Requirements
• Visual Studio 2012
• On Premise Development Environment
• http://bit.ly/spappdevenv
• Office Developer Tools for Visual Studio 2012
• http://bit.ly/spapptools
14. Decisions
• Office 365 or On-Premise?
• If Office 365, Visual Studio 2012
• If On-Premise then build your SharePoint 2013 Dev Server
• Windows Server 2012 or Windows Server 2008 R2 SP1
• http://msdn.microsoft.com/en-us/library/fp161179.aspx
• http://msdn.microsoft.com/en-us/library/fp179923.aspx
15. App Packaging
• Start with Visual Studio 2012 Project Template
• .APP
• Contains AppManifest.xml
• Set Permission Requests for your App
• Start Page
• Client ID
• App Icon Image File
• You can unpack the .APP by renaming .ZIP
17. Security
• Client Secret vs Certificate
• Client Secret requires SharePoint is farm connected to ACS
• Azure ACS (Access Control Service)
• Office 365 is already connected to ACS
• AppManifest.xml (.APP)
• Contains permissions
• OAuth
• TokenHelper.cs (runs on the Provider)
• Helps you manage requests for app tokens
• If you are developing in another language you will need to implement
this yourself
21. CSOM Example
ClientContext clientContext =
TokenHelper.GetClientContextWithAccessToken(
sharepointUrl.ToString(), accessToken);
//Load the properties for the web object.
Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
//Get the site name.
siteName = web.Title;
//Get the current user.
clientContext.Load(web.CurrentUser);
clientContext.ExecuteQuery();
currentUser = clientContext.Web.CurrentUser.LoginName;
//Load the lists from the Web object.
ListCollection lists = web.Lists;
clientContext.Load<ListCollection>(lists);
clientContext.ExecuteQuery();
23. Putting it all together
• Generate Client ID and Client Secret
• Generated by form on SharePoint Online
• https://<your site>/_layouts/15/appregnew.aspx
• APP Manifest and Icon packaged in .APP file
• Includes Permission Requests
• Includes Client ID
• Deployed to SharePoint
• Your app is deployed to Azure, etc…
• ClientID and ClientSecret
• Your app receives Token from SharePoint user request
• Your app uses Token to call CSOM
24. Review
• SharePoint has completely new Development Model
• Leverage existing understanding with CSOM
• Leverage existing other technology knowledge
• Update many customers (or Farms) at once
• Costs and Benefits of being a Provider
• Security with OAuth
• Package and Deploy to Store
25. Resources
• My Blog for Slides, Questions, and Follow up information
• http://bit.ly/tcrowell
• Pluralsight Videos by Andrew Connell
• Over 12 hours of Video
• http://bit.ly/acplural
• Microsoft MSDN Documentation
• http://bit.ly/spappmsdn
• CloudShare for developer and test hosting
• http://www.cloudshare.com/
26. More Resources
• Steve Fox’s Blog
• Create a free Azure Web Site to develop Provider Hosted App
• http://bit.ly/sfoxpart1
• http://bit.ly/sfoxpart2
• Chris Johnson's loosely typed thoughts…
• Build a SharePoint Provider Hosted App in 5 mins
• http://bit.ly/spapp5min