Extending SharePoint Online met Windows 8 apps. Voorstellen.

Slides:



Advertisements
Similar presentations
My EBSCOhost Tutorial Tutorial support.ebsco.com.
Advertisements

SharePoint and Knockout for the REST of Us
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
Staying in Sync with Cloud 2 Device Messaging. About Me Chris Risner Twitter: chrisrisner.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft.
Using Evernote and Google Docs in your web or mobile application (and potentially Dropbox and Skydrive) By Peter Messenger Senior Developer – Triple Point.
A Blackboard Building Block™ Crash Course for Web Developers
#spsevents #spsphx SPS EVENTS PHX Know REST for the Query AN INTRODUCTION TO REST FOR SHAREPOINT 2013 ERIC J OSZAKIEWSKI, MCTS, MS, MCPS.
Website Development Registering Users – Introducing Cookies.
Authenticating Users in an ASP.NET Application. Web Site Administration Tool From VS 2008, click Website/ ASP.Net Configuration to open Web Site Administration.
Chipotle Gets an A An iPhone Development Experience RC Johnson Nick Niehoff Kim-Lan Tran Ryan Thomas.
Cloud app Cloud app Cloud app Separate username/password sign-in Manual or semi-automated provisioning Active Directory App Separate username/password.
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Software development. Chapter 5 – Data management.
Fuddle Baris Tevfik Matt Lee David Cheung Ben Paolillo.
Connected Experiences
Solution SusQtech (Winchester, VA) SharePoint MVP since 2007 Working with SharePoint since 2001 Work on all types of deployments Dream about.
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Windows Phone 8 Tips & Tricks for Developers Sascha Corti, Microsoft Switzerland Technical Evangelist | techpreacher.corti.com.
Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints.
IT Unity Webinar Series September 2015 Using Azure Active Directory to Secure Your Apps.
“Thanks guys for a great information packed day. head is spinning!” “Well done guys. Intense sessions” “This is the best ever JumpStart that I have.
Online Service 1. Authorization Request (Start URL) 2. Login page 3. Credentials 4. Authorization page 5. User decision 6. Authorization.
Consuming REST Services from C# SoftUni Team Technical Trainers Software University
Windows 8 Application Microsoft Word with Apps For Office Internal O365 SharePoint Site Windows Azure Cloud Services Windows Azure Workflow Server.
Outlook Web App Crash course. Outlook Agenda Login Login Reset Password Reset Password Getting Started in Outlook Web App Getting Started in Outlook Web.
CEAB SharePoint Information Technology Group URL: Account for logging in is your Engineering account.
To access our web services, go to……. Click on Customer Login.
Instructions You must bring your own laptop, your presentation and a power supply Technical staff is present in all to assist with network, audio and video.
Building Mobile Phone Applications With Windows Azure Nick HarrisWindows Azure Technical Evangelist Microsoft Blog:
Building Connected Windows 8 Apps with Windows Azure Web Sites Name Title Organization.
WORKING WITH THE “CALL HTTP WEB SERVICE” WORKFLOW ACTIVITY Derek Nishino Nishino Consulting
Five great reasons to use the new HttpClient API
Esri UC 2014 | Demo Theater | Using ArcGIS Online App Logins in Node.js James Tedrick.
Combining ArcGIS for Server & ArcGIS Online Julia Guard and Matt Monson.
SharePoint Online Migration API and Improvements
Windows 8 Application Microsoft Word with an app for Office Internal O365 SharePoint Site Windows Azure Web Sites Windows Azure Workflow Service.
Tech Tuesday July 30, Classroom Workflow.
App Package Folder App data Folders Local Roaming Temp Removable Storage (SD Card) Cloud Credential Locker B/ground Transfer Publishers Shared Folder.
FTP Client API FTP in embedded devices Implementing an FTP Client FTP Command APIs Other FTP Client APIs.
Visit amzsoftech.com Click Here. Type the User name Type the password Click Login First time user Click Sign Up.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
APLIKACIJE KOJE SU IZVAN SEBE Domagoj Pavlešić, dizzy.hr.
How to configure webmail with gmail- Step by Step guide provided by web hosting company in India Call us
Developing for Chromecast Cast Companion Library & Custom Receiver Application.
Redmond Protocols Plugfest 2016 Tarun Chopra Accessing APIs through Add-Ins Sr. Escalation Engineer.
Esri UC 2014 | Technical Workshop | Administering ArcGIS for Server with Python Jon Bodamer.
Data in Windows 10 UWP Andy Wigley XML, JSON, SQLite or EF Core ?
Vaughan Knight App Ecosystem Lead Microsoft FileOpenPicke r, FileSavePicker Read/Write access to SD card Appointments /Calendar API enhancements Appointments.
Welcome Hotmail Customer care Welcome Hotmail Customer care Call Now
5/13/2018 8:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
An introduction to REST for SharePoint 2013
PDA & Mobile Verification Solution Presentation
Logistics Module – Part I
Welcome To Outlook Support Number
Call Outlook customer support toll free number Ireland.
Customizing your device experience with assigned access
Outlook Password Reset | Recovery Number
Call us on (Toll-free). How to Manage the Norton Identity Safe Logins Those Login information that you store in Identity Safe includes.
Office 365 Development.
Data Storage, Backup and Roaming
A Developer's Guide to Windows 10 Andy & Jerry
Office 365 Development.
Microsoft Ignite /17/2019 6:00 PM
Mike Ammerlaan Program Manager Microsoft Corporation
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
03 | Async Programming & Networking Intro
Presentation transcript:

Extending SharePoint Online met Windows 8 apps

Voorstellen

OnderwijsZorgGoede doelen

Agenda

Doelstelling

Demo

Authenticatie

AD accounts in SharePoint Online

Authenticatie

Authenticatie - Architectuur

Authenticatie - Meer informatie

Demo

Authenticatie - Architectuur

Authenticatie – Token Request

Authenticatie – Token Response

Authenticatie - Architectuur

Authenticatie – Login Request

Authenticatie – Login Response

Authenticatie - Architectuur

Authenticatie – Data Request

Authenticatie – Data Response

Credentials opslaan in de app

Password Vault - Store var passwordVault = new PasswordVault(); var passwordCredentials = passwordVault.RetrieveAll(); foreach (var passwordCredential in passwordCredentials) { try { if (passwordCredential.Resource == WinvisionDosyeAccount && passwordCredential.UserName == credentials.Username) { passwordVault.Remove(passwordCredential); } } catch (COMException) { // No password found } } var credential = new PasswordCredential(WinvisionDosyeAccount, credentials.Username, credentials.Password); passwordVault.Add(credential);

Password Vault - Retrieve var passwordVault = new PasswordVault(); var credentials = passwordVault.RetrieveAll(); foreach (var passwordCredential in credentials) { try { if (passwordCredential.Resource != WinvisionDosyeAccount) { continue; } passwordCredential.RetrievePassword(); return new Credentials { Username = passwordCredential.UserName, Password = passwordCredential.Password, }; } catch (COMException) { // No password found } }

Credential Manager

SharePoint interfaces

SharePoint lijsten

var context = new InnovatieDataContext(new Uri(string.Format("{0}/_vti_bin/listdata.svc", this.settingsService.GetSharePointUri()))); context.SendingRequest += this.ContextOnSendingRequest; var result = new List (); var query = (DataServiceQuery )context.Klanten.Select(c => new Customer { Id = c.Id, Name = c.Titel, AccountManagerId = c.AccountManagerId, ServiceManagerId = c.ServiceManagerId, VerticalId = c.VerticalId, LogoPath = c.Logo, Telephone = c.Telefoonnummer, Website = c.Website, = c. }); var customers = await query.ExecuteAsync(); result.AddRange(customers); SharePoint lijsten private void ContextOnSendingRequest(object sender, SendingRequestEventArgs sendingRequestEventArgs) { sendingRequestEventArgs.RequestHeaders["Cookie"] = this.settingsService.GetCookieContainer(); }

SharePoint lijsten

Managed metadata

var cookieContainer = new CookieContainer(); cookieContainer.SetCookies(new Uri(this.settingsService.GetSharePointUri()), cookieHeader); var client = new HttpClient(new HttpClientHandler { CookieContainer = cookieContainer }); client.DefaultRequestHeaders.Add("Cookie", cookieHeader); client.DefaultRequestHeaders.Accept.ParseAdd("application/json;odata=verbose"); var response = await client.GetStringAsync( string.Format("{0}/_api/web/lists/getbytitle('Referenties')/Items? $select=Id,Microsoft_x0020_technieken", this.settingsService.GetSharePointUri())); var json = JObject.Parse(response); var managedMetadata = from i in json["d"]["results"].Children().Where(g => g["Microsoft_x0020_technieken"]["results"].Any()) select new { Id = (int)i["Id"], Labels = i["Microsoft_x0020_technieken"]["results"].Values ("Label").ToArray() }; var microsoftTechnologies = managedMetadata.ToDictionary(m => m.Id, m => m.Labels);

Bestanden

Attachments = c.Bijlagen.Select(b => new Attachment { Title = b.Name, SharePointPath = string.Format("{0}/Lists/{1}/Attachments/{2}/{3}", this.settingsService.GetSharePointUri(), b.EntitySet, b.ItemId, b.Name) }),

Bestanden var cookieContainer = new CookieContainer(); cookieContainer.SetCookies(new Uri(this.settingsService.GetSharePointUri()), cookieHeader); var buffer = new byte[] { } using (var client = new HttpClient(new HttpClientHandler { CookieContainer = cookieContainer })) { buffer = await client.GetByteArrayAsync(uri); } var images = await ApplicationData.Current.LocalFolder.CreateFolderAsync(folder, CreationCollisionOption.OpenIfExists); var file = await images.CreateFileAsync(cacheKey, CreationCollisionOption.ReplaceExisting); await FileIO.WriteBytesAsync(file, buffer);

“run-with-cookies”

Uitdagingen

“run-with-cookies”

Windows 8 and beyond

Andere devices

Demo

Windows 8.1 app

Make universal

Windows Phone 8.1

Andere devices

Demo

Android

Vragen?

THANK YOU