29
Windows Live Platform (Part 2) Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: [email protected] Blog: Technology Talk , DPE Team Blog Co-ordinates: XING , LinkedIn

Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: [email protected]@microsoft.com

Embed Size (px)

Citation preview

Page 1: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 2: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

2

“in the sky”

Page 3: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 4: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

WINDOWS LIVE IDEnhance your site with live services

Live ID

Page 5: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 6: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 7: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 8: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 9: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

DEMO

Web Authentication{ }Windows Live Tools for Visual Studio 2008

(login & association to form authentication)

Page 10: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

LIVE CONTACTSEnhance your site with live services

Contacts

Page 11: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 12: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

DEMO

WL Contacts{ }Windows Live Tools for Visual Studio 2008

(contacts & presence control)

Page 13: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

WINDOWS LIVE ID DELEGATED AUTHENTICATION

(excurse)

Page 14: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 15: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

INSTANT MESSAGINGEnhance your site with live services

Messenger

Page 16: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 17: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

DEMO

IM Talkback{ }Windows Live Tools for Visual Studio 2008

(talkback control)

Page 18: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

STREAMING SERVICESEnhance your site with live services

Silverlight Streaming

Page 19: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 20: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

DEMO

Silverlight Streaming{ }Silverlight Streaming

Page 21: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

TOOLS FOR DEVMaking it even easier…

Page 22: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 23: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

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

Page 24: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com

Customer Reference

EM+Coca Cola+Panini{ }

Page 25: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com
Page 26: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com
Page 27: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com
Page 28: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com
Page 29: Stefano Mallè Evangelism Lead - Developer and Platform Evangelism Microsoft Switzerland - Richtistrasse 3 - 8304 Wallisellen Email: stefano.malle@microsoft.comstefano.malle@microsoft.com