250 likes | 432 Views
The Windows Live Dev Platform. Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com 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?.
E N D
The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com 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
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 xxx@hotmail.com ? • 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
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
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/ demo@hotmail.com/ 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 • User must grant permission for this app to access datahttp://ux.cumulus.services.live.com/pgux/default.aspx?... • App receives authentication token via HTTP POST • App accesses data via REST, supplying authentication token • User can review list of permitted applicationshttp://ux.cumulus.services.live.com/prux/default.aspx • User can revoke permissions for specific applications
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 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 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