Session by Toni Pohl at SPC Adriatics 2014, Zagreb.
Cloud First! In this session we will show you how you can extend your Office 365 solutions with Development. We will go through identity management as well as showing you how you can use client libraries and build in some cool Office 365 functionality in your own solutions. We will also use the Office 365 API to develop our own Windows 8.1 app.
Artificial intelligence in the post-deep learning era
Mastering Office 365 Development
1. Mastering Office 365 Development
TONI POHL, @ATWORK, MVP WINDOWS PLATFORM DEV., ATWORK
2.
3. Mastering Office 365 Development
Cloud First! In this session we will show you how you can extend
your Office 365 solutions with Development. We will go through
identity management as well as showing you how you can use
client libraries and build in some cool Office 365 functionality in
your own solutions. We will also use the Office 365 API to develop
our own Windows 8.1 app.
7. Office 365 General Dev. Tips
1. Create a 30-days Office 365 tenant [and remind your pwds…]
http://office.microsoft.com/en-001/business/compare-all-office-
365-for-business-plans-FX104051403.aspx
2. Create a dev SPO site [and an app site]
3. Use multiple browsers [and the private mode]
4. Have an Azure subscription [and connect your O365 tenant]
5. Check for the latest code samples [outdated samples in MSDN]
6. Remember: you work with the cloud services
[throtteling, version, …]
7. Use GraphExplorer for checking AAD data
8. Use PowerShell Scripting
11. How the Authentication works with AAD
Source: http://msdn.microsoft.com/library/azure/dn151790.aspx
OAuth:
Client App
Client Secret
[Redirect URI]
->
Token [code]
(WSFed* or Open ID
Connect [OWIN])
->
Request against API
Endpoint (ADAL)
->
Access Token
(JWT, serializable)
->
Actions: Request with
Bearer in HTTP Header
21. Office Graph
Important:
the current version of the Office Graph API is a pre-release.
It is offered as-is and currently Microsoft offers no support for
solutions leveraging it.
Also should you choose to invest in a solution using Office Graph
keep in mind that you will have to update your solution once the
Office Graph API is officially released.
25. Office 365 API (Preview)
Important:
the current version of the Office 365 API is a pre-release.
It is offered as-is and currently Microsoft offers no support for
solutions leveraging it.
Also should you choose to invest in a solution using Office 365 API
keep in mind that you will have to update your solution once the
Office 365 API is officially released.
26. Office 365 API works with…
• .NET Windows Store Apps
• .NET Windows Store Universal Apps
• Windows Forms Applications
• WPF Applications
• ASP.NET MVC Web Applications
• ASP.NET Web Forms Applications
• Xamarin Android and iOS Applications
• Multi-device Hybrid Apps
• Windows Phone 8.1 Apps (version 1.1.728 owards)
https://visualstudiogallery.msdn.microsoft.com/7e947621-ef93-
4de7-93d3-d796c43ba34f?SRC=VSIDE
31. Links - 2
• Help: Adding Sign-On to Your Web Application Using Azure AD
http://msdn.microsoft.com/library/azure/dn151790.aspx
• Office 365 API Tools - Preview
https://visualstudiogallery.msdn.microsoft.com/7e947621-ef93-4de7-93d3-
d796c43ba34f?SRC=VSIDE
• Developing iOS Apps with Azure and Office 365 APIs
http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/10/06/develo
ping-ios-apps-with-azure-and-office-365-apis.aspx
• ADAL for iOS
https://github.com/AzureAD/azure-activedirectory-library-for-objc
• Delve and the Office Graph
http://blogs.technet.com/b/austria/archive/2014/09/27/delve-und-der-office-graph.
aspx
• Office Graph Explorer
http://blog.atwork.at/post/2014/10/03/Office-365-Office-Graph-Explorer.aspx
33. Summary – Key Take Aways
Use Office 365 for Development
Use Office 365 for Authentication
[Check out Office Graph]
[Use Office 365 API for own projects]
Check out the latest libraries & code samples
Remember: you work with the cloud