25
The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd [email protected] http://martinparry.com

The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd [email protected]

Embed Size (px)

Citation preview

Page 1: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

The Windows Live Dev Platform

Martin ParryDeveloper & Platform GroupMicrosoft [email protected]://martinparry.com

Page 2: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Agenda

What is Windows Live?AuthenticationMapsAddress BookPhotosWindows Live Quick AppsWindows Live Desktop Apps

Page 3: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

What is Windows Live?

Web ServicesHotmail, Virtual Earth, LiveID, Spaces, etc., etc.

Client ApplicationsMessenger, Mail, Photo Gallery, etc.

A platform of componentsYour app can consume any/all servicesFeatures that would be “hard” to build yourself

Page 4: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Terms of UseBased on Unique Users Per MonthApps with fewer than 1 Million UUs per month... Pay nothing

Averaged over a 3 month period

Services exposed through controls... Pay nothingServices in beta... Pay nothingApps with more than 1 Million UUs per month...

You have a choice...Pay $0.25 per UU per year, orEnter into revenue-sharing ad-funding agreement with Microsoft

There are some exceptions...Search: free up to 750,000 queries per monthVirtual Earth: free up to 3,000,000 map tiles per month

Page 5: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Our Demo Site

Page 6: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Authentication

Windows Live ID ServiceOk, it’s Passport, but now it’s different...

FederatedCan integrate with Windows CardSpace

300 Million users have a Windows Live IDApp 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

Page 7: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live ID Sign-in

There’s a “control” – actually an iframeRegister your application at MS website

Tell us your hostname, a secret, and a return URLYou get a unique ID; you embed it in your app

Implement that page at the return URLUse your secret to decrypt the data returned

Action, App Context, Security Token

Page 8: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live ID

Page 9: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Custom Domains

Create Live IDs in your own domainYou tell us the name of your domain

...and make some changes to your DNS records

Use our website to manage accountsOr use the Custom Domains SDK

Manage accounts programmatically

Page 10: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Custom Domains APIs

Create/Delete/Enum/Rename membersEvict/Import unmanaged membersReset member passwordConvert between member name & NetIdEnum domainsGet domain info

Page 11: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Virtual Earth

Online database of maps & aerial photo data~17 PetabytesPowerful search

linked to Windows Live SearchFind businesses by location, type, etc.

Includes route calculator for driving directionsBirds-eye View

Page 12: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Virtual Earth Map Control

Javascript object model for maps/photosFull control over searching, route calc., etc.Can overlay your own informationCan capture events raised by map interactionJust released version 6

Page 13: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Virtual Earth Map Control

Page 14: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Contacts API

Users can grant permission:To a web applicationTo access their Windows Live AddressBook

The app requests read-only or read/writeApp 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

Page 15: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Data

RESTful access to data in the Live platformImplements permission granting/revoking UX

The user is in control

Issues security tokens that apps can retainOnce granted, permission is perpetual

Until revoked

Page 16: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Live Data – Sequence of Events

1. User must grant permission for this app to access datahttp://ux.cumulus.services.live.com/pgux/default.aspx?...

2. App receives authentication token via HTTP POST3. App accesses data via REST, supplying authentication

token4. User can review list of permitted applications

http://ux.cumulus.services.live.com/prux/default.aspx 5. User can revoke permissions for specific applications

Page 17: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Contacts API

Page 18: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Spaces

Social Networking SiteBlogging, file-sharing, photo-sharing, etc.Live Spaces Photo Control...

Embed in your web pageAllows users to select from their photosTo share photos with your web app

Can share photos via 2 different URLs...

Page 19: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Spaces Photo Control

Page 20: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Quick Apps

Projects available on http://codeplex.comCustomizable, out-of-box solutions for common web scenariosFull source code available

Contribute to the projects, orTake the source code and build your app

Page 21: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Quick Apps

Page 22: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Windows Live Desktop Installer

Unified installer for all WL desktop apps...Windows Live MailWindows Live MessengerWindows Live Photo GalleryWindows Live WriterWindows Live ToolbarWindows Live OneCare Family Safety

http://get.live.com/wl/desktop

Page 23: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

Additional Information

Windows Live IDhttp://dev.live.com/liveid

Custom Domainshttp://dev.live.com/customdomains

Virtual Earthhttp://dev.live.com/virtualearth

Windows Live Contactshttp://dev.live.com/contacts

Windows Live Spaces Controlhttp://dev.live.com/spacescontrol

Page 25: The Windows Live Dev Platform Martin Parry Developer & Platform Group Microsoft Ltd martin.parry@microsoft.com

© 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.