Windows Live Dev Platform
Total Page:16
File Type:pdf, Size:1020Kb
The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd [email protected] http://martinparry.com Agenda What is Windows Live? Authentication Maps Address Book Photos Windows Live Quick Apps Windows Live Desktop Apps What is Windows Live? Web Services Hotmail, Virtual Earth, LiveID, Spaces, etc., etc. Client Applications Messenger, Mail, Photo Gallery, etc. A platform of components Your app can consume any/all services Features that would be “hard” to build yourself Terms of Use Based on Unique Users Per Month Apps with fewer than 1 Million UUs per month... Pay nothing Averaged over a 3 month period Services exposed through controls... Pay nothing Services in beta... Pay nothing Apps with more than 1 Million UUs per month... You have a choice... Pay $0.25 per UU per year, or Enter into revenue-sharing ad-funding agreement with Microsoft There are some exceptions... Search: free up to 750,000 queries per month Virtual Earth: free up to 3,000,000 map tiles per month Our Demo Site Authentication Windows Live ID Service Ok, it’s Passport, but now it’s different... Federated Can integrate with Windows CardSpace 300 Million users have a Windows Live ID App still has a Users database, but freed from storing a secret-per-user (now 1 per app) Are all Live IDs [email protected] ? Managed vs. unmanaged members Windows Live ID Sign-in There’s a “control” – actually an iframe Register your application at MS website Tell us your hostname, a secret, and a return URL You get a unique ID; you embed it in your app Implement that page at the return URL Use your secret to decrypt the data returned Action, App Context, Security Token Windows Live ID Custom Domains Create Live IDs in your own domain You tell us the name of your domain ...and make some changes to your DNS records Use our website to manage accounts Or use the Custom Domains SDK Manage accounts programmatically Custom Domains APIs Create/Delete/Enum/Rename members Evict/Import unmanaged members Reset member password Convert between member name & NetId Enum domains Get domain info Virtual Earth Online database of maps & aerial photo data ~17 Petabytes Powerful search linked to Windows Live Search Find businesses by location, type, etc. Includes route calculator for driving directions Birds-eye View Virtual Earth Map Control Javascript object model for maps/photos Full control over searching, route calc., etc. Can overlay your own information Can capture events raised by map interaction Just released version 6 Virtual Earth Map Control Windows Live Contacts API Users can grant permission: To a web application To access their Windows Live AddressBook The app requests read-only or read/write App uses RESTful model to access data, e.g. https://cumulus.services.live.com/ [email protected]/ LiveContacts/Contacts(1)/Emails(1) Implemented via Windows Live Data service Windows Live Data RESTful access to data in the Live platform Implements permission granting/revoking UX The user is in control Issues security tokens that apps can retain Once granted, permission is perpetual Until revoked Live Data – Sequence of Events 1. User must grant permission for this app to access data http://ux.cumulus.services.live.com/pgux/default.aspx?... 2. App receives authentication token via HTTP POST 3. App accesses data via REST, supplying authentication token 4. User can review list of permitted applications http://ux.cumulus.services.live.com/prux/default.aspx 5. User can revoke permissions for specific applications Windows Live Contacts API Windows Live Spaces Social Networking Site Blogging, file-sharing, photo-sharing, etc. Live Spaces Photo Control... Embed in your web page Allows users to select from their photos To share photos with your web app Can share photos via 2 different URLs... Windows Live Spaces Photo Control Windows Live Quick Apps Projects available on http://codeplex.com Customizable, out-of-box solutions for common web scenarios Full source code available Contribute to the projects, or Take the source code and build your app Windows Live Quick Apps Windows Live Desktop Installer Unified installer for all WL desktop apps... Windows Live Mail Windows Live Messenger Windows Live Photo Gallery Windows Live Writer Windows Live Toolbar Windows Live OneCare Family Safety http://get.live.com/wl/desktop Additional Information Windows Live ID http://dev.live.com/liveid Custom Domains http://dev.live.com/customdomains Virtual Earth http://dev.live.com/virtualearth Windows Live Contacts http://dev.live.com/contacts Windows Live Spaces Control http://dev.live.com/spacescontrol MSDN in the UK Visit http://msdn.co.uk Newsletter Events Screencasts Blogs © 2007 Microsoft Ltd. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION..