Developing with Windows Live Martin Parry Developer & Platform Group Microsoft UK May 2007
? martin.parry@microsoft.com www http://www.martinparry.com
Questions I’ll Answer What is the Live Platform? Why Should I Consider It? What Services are Available? How Does It Work?
The Windows Live Platform Our Services & Their APIs Your Services & Content Client-Side Aggregation Server Platform Of Your Choice IE6, IE7 Broad Reach Firefox + Others
Live Services with APIs Live Gadgets Live Messenger Live Search Live Expo Live Spaces Custom Domains Virtual Earth Contacts These point the way to the future
Why Consider the Live Platform? Huge potential audience Live Mail (Hotmail): ~240 Million Live Messenger: ~230 Million Live Spaces: ~130 Million Great developer opportunity We have a few apps, such as http://maps.live.com There remains a huge amount that can be done
Live Gadgets Web Gadgets Consist of Javascript that generates HTML Not hosted at live.com Can be developed from http://localhost Hosted on your site, advertised on Microsoft site Can be used at www.live.com spaces.live.com
Gadget API Javascript, OO-like Uses AJAX-like asynchronous patterns Bindings Encapsulate Javascript “classes” Each has initialize, dispose methods Each Gadget is a Binding Network stack Proxy web access via live.com domain No worries about cross-domain access issues
Windows Live Gadgets
Gadget Constituents *.js MyGadget.* Live.com localhost martinparry.com LiveSearch.ashx Live.com *.js localhost MyGadget.*
Live Search SOAP API http://soap.search.msn.com/ webservices.asmx?wsdl Get application ID http://search.msn.com/ developer Add Web Reference …and play
Windows Live Search API
Live Messenger Messenger Add-in SDK Messenger Activity SDK Bots
Windows Live Messenger Bot
Live Messenger – Building a Bot Three Bot platforms licensed by Microsoft Akonix® L7 Builder™ SDK Colloquis™ BuddyScript SDK Incesoft Bot Platform SDK Your bot targets one of these platforms, not Live Messenger directly
Virtual Earth Geographic and Aerial photo database 17 Petabytes this year Map control Javascript API MapPoint web services
Virtual Earth Map Control
Windows Live Contacts Control Allows a user to share data from their contacts list with a web application Of course, privacy is paramount User always in control of information sharing User has to sign in with a Live ID 14 Billion live contact records today List view and Tile view Tile view includes presence information
Windows Live Contacts Control
Windows Live Contacts API The Contacts Control is not the only way New API based on the emerging Windows Live Data service Access contact data via RESTful API... https://cumulus.services.live.com/user@hotmail.com/LiveContacts... contacts/contact(21) contacts/contact(21)/emails/email(3)/address contacts/contact(21)/profiles/personal/FirstName User in control Must grant permission to web app in order to access data Permission stays granted until user revokes
Windows Live Data User must grant permission for this app to access data http://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 applications http://ux.cumulus.services.live.com/prux/default.aspx User can revoke permissions for specific applications
Windows Live Contacts API
Live Spaces Uses MetaWeblog API Also a photo gallery Very popular API for accessing blog engines Not a Microsoft invention Uses XML-RPC techniques Also a photo gallery
Custom Domains Register a domain and create accounts within that domain Microsoft hosts mail server for those accounts Each account is a Windows Live ID Full management of accounts online Also SOAP APIs for management of accounts
Summary Huge potential audience & great opportunity Drive visitors to your site… …and wow them when they get there Client-side Aggregation (aka Mashups)
Where To Learn More Windows Live Development Virtual Earth Contacts http://dev.live.com Virtual Earth http://dev.live.com/virtualearth http://dev.live.com/virtualearth/sdk Contacts http://dev.live.com/contacts/ Good blogs to watch: http://dev.live.com/blogs/mainfeed.aspx http://blogs.msdn.com/dthorpe http://www.martinparry.com
Thank you! ? martin.parry@microsoft.com www http://www.martinparry.com