sharepointalooza 2015 real world app development for office365 and sharepoint 2013
TRANSCRIPT
www.expertpointsolutions.com
Real World App Development for Office365 & SharePoint 2013
Brian Culver
About Brian Culver, MCM
• SharePoint Solutions Architect for Expert Point Solutions• Microsoft Certified Solution Master – Charter SharePoint• Based in Houston, TX• Author• Speaker and Blogger
• What is Real World?• What are Apps/Add-ins for SharePoint?• SharePoint Solution Evolution• What can you do with Apps/Add-ins• App/Add-in Hosting
• SharePoint-Hosted Add-ins• Provider-Hosted Add-ins
• Deployment Options
Session Agenda
• Windows Server 2008 R2 Service Pack 1 x64 or Windows Server 2012• Visual Studio 2015/2013
• Update 5• 24 GB RAM or more• To be sure that you have the latest version of the tools use run the installer for Office Developer Tools for Visual Studio 2013, or installer for Office Developer Tools for Visual Studio 2015. • Office 365 Developer Site
• MSDN Subscription / Office 365 Trial / Office 365 Dev Subscription
• https://msdn.microsoft.com/en-us/library/office/fp179924.aspx
What is real world?
• Things are changing fast … really fast• MS is releasing new features for Azure and Office 365 at least once a week. Often twice a week.• Google Search results - last year or less• Auto-hosted Apps gone … a long time ago
• Office 365 Patterns and Practices• http://aka.ms/OfficeDevPnP
• Microsoft Virtual Academy• http://dev.office.com/training
What is real world?
• SharePoint Add-ins are self-contained extensions of SharePoint websites that you create, and that run without custom code on the SharePoint server.• As of August 19, 2015: The name "apps for SharePoint" is changing to "SharePoint Add-ins".
What are Apps/Add-ins for SharePoint?
SharePoint Solution Evolution
Full Trust SolutionsNo limits
• Support is complex and difficult
• Upgrade is challenging• Securing code to run in
hosted environments is effectively impossible
Custom Code
SP Code
More custom code: aspx, dlls, web services, GAC
SandboxPartial control
App ModelControl, Trust, Manage
• Way too strict for developers
• Hard to maintain and Managed
• Not consistent between On-prem and Office 365
• Not Scalable
SP Code
Sandboxed Custom Code
App code (client or server)
SP Code
Isolated App client-side
code
• Host/language independent
• Management and update easily doable per app
• Encourages reusability• No server-side sandbox,
improved CSOM
• Full Trust and Sandbox Solutions• Developers have the full control with no any security
measurement. • The Sandbox solution is deprecated in SharePoint 2013• Neither is cloud friendly. But sandbox solutions can be deploy
to the cloud (with some more limitations). • Lots of potential for outages and failures. Not a sustainable
model.
Demo Recap
• SharePoint Add-ins• Cloud friendly and On-premise friendly• Integrate cloud-based resources in smoother and more
flexible ways.• Easier to upgrade.• Leverage existing non-SharePoint programming skills.• Enable your extension to have permissions that are distinct
from the permissions of the user who is running the add-in.• Enable you to use cross-platform standards, including HTML,
REST, OData, JavaScript, and OAuth.
Demo Recap
.app file extension—a package typically includes the following files:
AppManifest.xml
AppIcon.png
Solution file
Data tier application package
Auto hosted apps
Office Store
App catalogs
App Hosting Options
SharePoint Hosted Add-ins
https://Apps-12345678ABCDEF.eps.com/App1Name/Pages/Default.aspx
https:// /appname/etcAppPrefix-UniqueID.appdomain
• SharePoint App/Add-in Model is cloud friendly and great for on premise• Understand the differences between SharePoint-hosted Add-ins and Provider-hosted Add-ins• Leverage Office 365 Developer Patterns & Practices• Read a lot
In Summary
• Patterns and Practices• http://aka.ms/OfficeDevPnP
• Microsoft Virtual Academy• http://dev.office.com/training
• Code Samples• http://dev.office.com/code-samples
• Office 365 Summit Developer Tracks• http://summit.office.com
Links and Resources
Constructive Feedback Is Appreciated
Great information, but would like to have learned more about [Insert Topic]Brian – Your
presentation was …
Good Demos!
Thanks!
Thank you!
Brian Culver, MCMTwitter: @spbrianculver
E-mail:[email protected]
Blog:http://blog.expertpointsolutions.com/
Slides:http://www.slideshare.net/bculver