Presentation is loading. Please wait.

Presentation is loading. Please wait.

SharePoint & Azure Jan Steenbeek, Martijn Duiveman.

Similar presentations


Presentation on theme: "SharePoint & Azure Jan Steenbeek, Martijn Duiveman."— Presentation transcript:

1

2 SharePoint & Azure Jan Steenbeek, Martijn Duiveman

3 –New development models –No more full trust or sandbox –How are we going to create the same or better solutions in the cloud as we do on premise? Introduction

4 Demo

5 –Architecture –Azure Web Jobs SDK –Web Job registration –Demo –Graph API –Registration in Active Directory –Demo –Questions Contents

6 Architecture Active Directory SharePoint Online tenant Azure Subscription Web Job Provider hosted app SharePoint Site App New Site Queue Graph API Database

7

8 Comparable with TimerJob’s Scheduled / On Demand / Continuous Runs in an Azure Website –.exe,.cmd,.bat –Zip and upload Triggers en Model Binding Works with Azure Storage –Azure Blob Storage –Azure Table Storage –Azure Queues Azure WebJobs SDK And Azure Storage Goal of the SDK “Provide a way to make it easier to use Azure Storage when doing any background processing work.”

9 Azure Storage Table’s, Blobs en Queue’s Table Storage Blob Storage Queue Storage Stuctured data Max 252 properties Max 1MB per entity Inherit from Microsoft.WindowsAzure.Storag e.Table.TableEntity Unstructured data Large files (100+ Gb per file) Add using FileStream etc. Unstructured data Small messages (64 KB each) Millions of messages in queue Create backlog of tasks to perform TablesEntities Customers Orders Name = … Email = … OrderId = … Date = … ContainersBlobs Pictures Movies Img001.jpg Img002.jpg Mov1.avi Queue’sMessages CreateSite Queue ResizeIma geQueue {name:..., url:...} {name:..., url:...} {name:..., url:...} {name:..., url:...} {image:..., format:...}

10 Demo

11 Registering WebJob in SharePoint (1 / 4) https://projectb.sharepoint.com/_layouts/15/AppRegNew.aspx Register an App

12 Registering WebJob in SharePoint (2 / 4) https://projectb.sharepoint.com/_layouts/15/AppInv.aspx Grant Permission to an App

13 Registering WebJob in SharePoint (3 / 4) https://projectb.sharepoint.com/_layouts/15/AppPrincipals.aspx Get Tenant ID

14 Registering WebJob in SharePoint (4 / 4) App.Config

15 –Install-Package Microsoft.Azure.WebJobs –Pre – Current version 1.0.0.0 RC1 –Storage Account –ConnectionString –Naam: AzureWebJobsStorage –DefaultEndpointsProtocol=https; AccountName=[ACCOUNTNAME]; AccountKey=[ACCESSKEY] –Always On Setup Development Environment

16 –CRUD operations on directory data and objects –REST API –Useful in SharePoint context, for example when –Authorizing users for multiple sites –Delegating authorization management –Getting to properties that are not exposed via the SharePoint User Profiles Graph API

17 Mapped properties in SharePoint online

18 Demo

19 –Install-Package –Microsoft.IdentityModel.Clients.ActiveDirectory –Microsoft.Azure.ActiveDirectory.GraphClient –Grant App permissions on Azure AD Setup Development Environment

20 Download our code http://www.vxcompany.com/diwug-sharepoint-en-azure/ How to use; Azure Table Storage Azure Blob Storage Azure Queue Storage Graph API Code Samples op CodePlex GitHub https://github.com/Azure/azure-webjobs-sdk-samples Blog: Pranav Rastogi http://azure.microsoft.com/blog/author/pranavra Useful links

21 Vragen?


Download ppt "SharePoint & Azure Jan Steenbeek, Martijn Duiveman."

Similar presentations


Ads by Google