Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.com Blog: Technology Talk, DPE Team Blog Co-ordinates: XING, LinkedIn 2 “in the sky” Controls Windows Live Tools for Visual Studio 2008 February CTP: Contacts, IDLogin, IDLoginView, SilverlightStreamingMedia, IM Controls API Do more Do it with more technologies Javascript Objects & Libraries … it‘s more complex 3 Live ID Enhance your site with live services What digital IDs for all MS online services Windows Live, MSN, Office Live, Xbox Live, Microsoft.com… works on multiple devices PC, Xbox, mobile phone, TV (Media Center, MS TV) industry Leading Platform 420 million users 1+ billion authentications per day hundreds of relying sites & services Why secure (CardSpace), userfriendly ”single sign-on” to services and sites Windows Live ID Federation seamless access to / integration of live services via live APIs and/or live controls How Windows Live ID Client Authentication (Client SDK) Windows Live ID Web Authentication (Web SDK, WL Tools for VS Controls) Relying Party Suite (RPS) SDK Terms of Services* …has no user limits or fees * For a complete and binding description refer please to http://dev.live.com/terms/default.aspx 2 Options: SDK Zero server-side installation requirements Sample code in ASP.NET, Perl, Python, PHP, Java, Ruby WL Tools for Visual Studio 2008 IDLoginView Extends the ASP.NET LoginView control Multiple views in different authentication states IDAuthentication Provides wrapper for Live ID authentication URL/Iframe 6 1) User Requests Web Page 2) Website returns Sign In link 3) User clicks Sign In 4) Windows Live™ ID Sign In Page is returned 5) User enters Credentials 3rd Party Server 6) User is authenticated by Windows Live™ ID 7) User is redirected to your site 8) Your application displays protected or personalized content. Windows Live ID Authentication Server What you need to do 1. Register your site Application name Return URL Secret key AppId https://msm.live.com/app/default.aspx 2. Add a Sign In link <iframe id="WebAuthControl" name="WebAuthControl" src="http://login.live.com/controls/WebAuth.htm?appid=<%=AppId%> &context=myContext&style=font-size%3A+10pt%3B+fontfamily%3A+verdana%3B+background%3A+white%3B" …"> </iframe> 3. Create a "handler" page, to receive the user ID WebAuthHandler.aspx 4. Capture & store user profile items in your database UserID: 12345 Windows Live Tools for Visual Studio 2008 (login & association to form authentication) Contacts Enhance your site with live services What Single shared internet-scale address book Why 500 million address books 30 billion contact associations 1 address book per Windows Live ID How Messenger 263M users Hotmail 280M accounts Office Live Windows Live Contacts Spaces 93M Spaces Live Contacts (REST) APIs (with delegated authentication) Live Contatcs Control Terms of Services* Controls: Free unlimited usage APIs FREE! up to 1 million unique users per month More than 1 million unique users: Ad revenue sharing, or $0.25/unique user per year * For a complete and binding description refer please to http://dev.live.com/terms/default.aspx XBOX Live Your Apps Windows Live Tools for Visual Studio 2008 (contacts & presence control) (excurse) Windows Live delegated authentication is a technology that allows user to delegate authority to a particular application for a set of resources https://consent.live.com Messenger Enhance your site with live services What Instant Messenger capabilities for your web site TalkBack Full Javascript Client Why Implement new communication channel (ask the experts, the hotline,…) Increase time spent on your site How JavaScript Client API („Full experience“) Windows Live Messenger IM control ("Talkback") Windows Live Presence (REST/JSON) API Terms of Services* IM control: no user limits or fees Presence API FREE! up to 1 million unique users per month Above 1 million users, $0.25 per user / year * For a complete and binding description refer please to http://dev.live.com/terms/default.aspx Windows Live Tools for Visual Studio 2008 (talkback control) Silverlight Streaming Enhance your site with live services What …is an online service for hosting "to-be-streamed" Silverlight applications Why Streaming infrastructure optimized for world-wide delivery How Via SLS admin site Create an account at http://silverlight.live.com (Account ID and secret key) upload Silverlight Applications in ZIP format (.zap) or via encoder upload videos (encoder) End users require the Silverlight runtime (browser plug-in) Everything else is HTML/JavaScript (iframe or script invocation) Silverlight Streaming REST API Terms of Services* 10GB storage, up to 1.4 Mbps streaming, 105 MB max video file size Pre-release: FREE! unlimited streaming Post-release: free with adv model or … * For a complete and binding description refer please to http://dev.live.com/terms/default.aspx Silverlight Streaming Making it even easier… dev.live.com Windows Live Tools for Visual Studio 2008 February CTP: Contacts, IDLogin, IDLoginView, SilverlightStreamingMedia, IM Controls Standardization on AtomPub get/put/post/delete combine it with ADO.NET Data Services! Quick Apps Full sample code to download and adapt https://dev.live.com/quickapps/default.aspx Script# brings the C# developer experience (programming and tooling) to Javascript/Ajax is a C# compiler that generates Javascript instead of IL Intellisense for jscript For instance for VE control: www.CodePlex.com/VEJS © 2007 Microsoft Corporation. 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.