Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland -...
-
Upload
quincy-cuny -
Category
Documents
-
view
217 -
download
2
Transcript of Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland -...
Windows Live Platform
(Part 2)
Stefano MallèEvangelism Lead - Developer and Platform EvangelismMicrosoft Switzerland - Richtistrasse 3 - 8304 WallisellenEmail: [email protected]: Technology Talk, DPE Team BlogCo-ordinates: XING, LinkedIn
2
“in the sky”
3
SDK, API, Controls…
ControlsWindows Live Tools for Visual Studio 2008
February CTP: Contacts, IDLogin, IDLoginView, SilverlightStreamingMedia, IM Controls
APIDo moreDo it with more technologies
Javascript Objects & Libraries
… it‘s more complex
WINDOWS LIVE IDEnhance your site with live services
Live ID
Live ID in a Nutshell
Whatdigital 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 Platform420 million users1+ billion authentications per dayhundreds of relying sites & services
Whysecure (CardSpace), userfriendly ”single sign-on” to services and sites
Windows Live ID Federationseamless access to / integration of live services
via live APIs and/or live controls
HowWindows 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
More info
* For a complete and binding description refer please to http://dev.live.com/terms/default.aspx
6
WLID Web Authentication
2 Options:SDK
Zero server-side installation requirements
Sample code in ASP.NET, Perl, Python, PHP, Java, Ruby
WL Tools for Visual Studio 2008IDLoginView
Extends the ASP.NET LoginView control
Multiple views in different authentication states
IDAuthentication
Provides wrapper for Live ID authentication URL/Iframe
Authentication Process1) User Requests Web Page2) Website returns Sign In link3) User clicks Sign In4) Windows Live™ ID Sign In Page is returned5) User enters Credentials
6) User is authenticated by Windows Live™ ID7) User is redirected to your site8) Your application displays protected or personalized content.
3rd PartyServer
Windows LiveID AuthenticationServer
Web Authentication SDKWhat you need to do
2. Add a Sign In link
3. Create a "handler" page, to receive the user ID
1. Register your site
4. Capture & store user profile items in your database
https://msm.live.com/app/default.aspx
Application nameReturn URLSecret key
WebAuthHandler.aspx
UserID: 12345
<iframe id="WebAuthControl" name="WebAuthControl" src="http://login.live.com/controls/WebAuth.htm?appid=<%=AppId%>&context=myContext&style=font-size%3A+10pt%3B+font-family%3A+verdana%3B+background%3A+white%3B" …"> </iframe>
More info
AppId
DEMO
Web Authentication{ }Windows Live Tools for Visual Studio 2008
(login & association to form authentication)
LIVE CONTACTSEnhance your site with live services
Contacts
Live Contacts in a Nutshell
WhatSingle shared internet-scale address book
Why
500 million address books
30 billion contact associations
1 address book per Windows Live ID
How
Live Contacts (REST) APIs (with delegated authentication)
Live Contatcs Control
Terms of Services*Controls: Free unlimited usage
APIsFREE! up to 1 million unique users per month
More than 1 million unique users:
Ad revenue sharing, or $0.25/unique user per year
More info
* For a complete and binding description refer please to http://dev.live.com/terms/default.aspx
Messenger263M users
Hotmail280M accounts
Spaces93M Spaces
Windows Live
Contacts
Office Live
XBOX Live
Your Apps
DEMO
WL Contacts{ }Windows Live Tools for Visual Studio 2008
(contacts & presence control)
WINDOWS LIVE ID DELEGATED AUTHENTICATION
(excurse)
Live Data Delegated Authentication
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
INSTANT MESSAGINGEnhance your site with live services
Messenger
Live IM in a Nutshell
WhatInstant Messenger capabilities for your web site
TalkBack
Full Javascript Client
WhyImplement 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 APIFREE! up to 1 million unique users per month
Above 1 million users, $0.25 per user / year
More info
* For a complete and binding description refer please to http://dev.live.com/terms/default.aspx
DEMO
IM Talkback{ }Windows Live Tools for Visual Studio 2008
(talkback control)
STREAMING SERVICESEnhance your site with live services
Silverlight Streaming
SLS in a NutshellWhat
…is an online service for hosting "to-be-streamed" Silverlight applications
Why
Streaming infrastructure optimized for world-wide delivery
HowVia 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 …
More info
* For a complete and binding description refer please to http://dev.live.com/terms/default.aspx
TOOLS FOR DEVMaking it even easier…
To help you even more…
dev.live.com
Windows Live Tools for Visual Studio 2008February CTP: Contacts, IDLogin, IDLoginView, SilverlightStreamingMedia, IM Controls
Standardization on AtomPub get/put/post/delete combine it with ADO.NET Data Services!
Quick AppsFull 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 jscriptFor 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.
Customer Reference
EM+Coca Cola+Panini{ }