28
Developing on the Windows Live Platform Mike Ormond Developer & Platform Group Microsoft Ltd [email protected] http://mikeo.co.uk

Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Developing on the Windows Live Platform

Mike Ormond

Developer & Platform Group

Microsoft Ltd

[email protected]

http://mikeo.co.uk

Page 2: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Agenda

Live Search Microsoft Silverlight Streaming

by Windows Live

Page 3: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Microsoft Silverlight is a cross-browser, cross-platform implementation of .NET for building and delivering the next generation of media experiences & rich interactive applications for the Web.

Page 4: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Timeline & Packaging

TimelineV1.0 Released September 2007, V1.1 in Alpha (timing and some functionality TBD)Moonlight – timing TBD (Novell)

PackagingBrowser plug-in, little dependency on other s/w

Platforms & Browsers (Mirosoft support)

IE 6.0+ FireFox 1.5+ Safari 2.0

Windows Vista, XP, 2003, 2000*

Mac OS X 10.4.8+

Novell Support (Moonlight)

Linux(various distros)

KonquerorFireFox Opera

Page 5: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Silverlight V1.0 and V1.1

SilverlightV1.1

SilverlightV1.0

V1.1 will add .NET to V1.0

CoreCLR

Independent subset of the .NET Framework

Page 6: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

A richer web with Silverlight

Page 7: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Silverlight StreamingProvides developers a free, scalability-on-demand solution for Silverlight

http://silverlight.live.com

• Free, 4GB hosting and streaming

• You build the application, we deliver the scale

• High quality, differentiated, controllable user experience

• Complete API Programmability

Page 8: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Using Silverlight Streaming

What can it host?Silverlight applications

Content (video) for use in Silverlight apps

InvokingDefault (requires JavaScript)

– Special version of Silverlight.js

– Parameters move to manifest

Iframe (no JavaScript)– URL syntax

Page 9: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Packaging Content for SLS

Single zip file archive

(Video files restricted to 22MB)

Add application manifest (manifest.xml)

List of JavaScript files to load in order

Set parameters (like Silverlight.createObject())

Add startup code to local page

Page 10: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Packaging Content for Silverlight Streaming

Page 11: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Expression Encoder

Generates VC-1 (WMV) contentOptimised for Silverlight

Add leaders / trailers / watermarks / chapters / captions etc

Output*.wmv file

Complete Silverlight media player app

Publish to Silverlight Streaming (plugin preview)

Command line interface

Page 12: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Video & Expression Encoder

Page 13: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Silverlight Streaming API

URLhttps://silverlight.services.live.com/accountId/fileSetName

CredentialsHTTP basic authentication (HTTPS required)

– Username = Account ID– Password = Account Key

File SetGroup of files representing a Silverlight applicationContained in a single zip archiveInclude a manifest (manifest.xml)

Page 14: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Silverlight Streaming API Operations

PUT / POSTAdds a file set

Request body must be a file set (zip file)

DELETEDeletes a file set

GETRetrieves information specified by the URL

Eg list of file sets, list of files in file set etc

Page 15: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Silverlight Streaming API

Page 16: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Contoso Bicycle Club

Virtual Earth

Spaces

Silverlight Streaming (geo-sync'd)

Expo

Adventure Works ResortsLive ID associated with ASP.NET ProfilesUser Generated Video Content

Accepting file uploads (via a form post)Dropping uploads into MSMQ QueueEncoding using Expression EncoderUploading to Silverlight StreamingPlaying videos from Silverlight Streaming

Map Point Web ServiceContacts ControlSpaces Photo ControlWindows Live AlertsVirtual Earth

Contoso University

Contacts API (Windows Live Data)

Virtual Earth

Spaces

Silverlight Streaming

Expo

Windows Live Quick Apps (Beta)

http://dev.live.com/quickapps

Free source code to build social networking sites

Page 17: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Considerations

Cross domain issues

Different domains = restricted access

Use initialisation parameters (initParams)

<iframe> Hosting

HTML hosted / non-hosted structure differs

Access to HTML DOM

Page 18: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

initParams

Page 19: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Live Search

Page 20: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Adding Search On Your Site

Live Search BoxFast

Simple

No code

Live Search Web ServiceFlexible

Powerful

Unlocks Capabilities

Page 21: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Live Search Box

Basic

Search either web or specific site

Advanced

Web search plus optional

– Site Search (multiple sites)

– Search Macro

Customisation Options

Page 22: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Live Search Box

Page 23: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Live Search Web Service

SOAP APIhttp://soap.search.msn.com/webservices.asmx?wsdl

Get application IDhttp://search.msn.com/developer

Add Web Reference

…and play

Page 24: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Offset

Total

Source

Result []ResultsSourceResponse[] Responses

...

ResultFields

Source

String CultureInfo

String AppID

SourceRequest[] Requests

String Query

SearchRequest

MSNSearchService.Search(SearchRequest)

SearchResponse

The Live Search API

Page 25: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

The Live Search API

Page 26: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

Additional Resources

Main Hubhttp://dev.live.com

SilverlightMain Silverlight Site

– http://www.silverlight.net

Silverlight Streaming Site– http://silverlight.live.com

Silverlight Streaming SDK– http://msdn2.microsoft.com/en-us/library/bb851621.aspx

Live SearchLive Search Service Home

– http://dev.live.com/livesearch

Live Search Interactive SDK– http://dev.live.com/livesearch/sdk

Page 27: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

MSDN in the UK

Visit http://msdn.co.ukNewsletter

Events

Nugget Videos

Blogs

Page 28: Developing on the Windows Live Platformdownload.microsoft.com/documents/uk/msdn/events/... · Live ID associated with ASP.NET Profiles User Generated Video Content Accepting file

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