<<

Developing on the Windows Live Platform

Mike Ormond Developer & Platform Group Ltd [email protected] http://mikeo.co.uk Agenda

Live Search Streaming by Windows Live 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. Timeline & Packaging

Platforms & Browsers (Mirosoft support) Support ()

IE 6.0+ 1.5+ 2.0 FireFox

Windows Mac OS X Vista, XP, 2003, 2000* 10.4.8+ (various distros)

Timeline V1.0 Released September 2007, V1.1 in Alpha (timing and some functionality TBD) Moonlight – timing TBD (Novell) Packaging Browser plug-in, little dependency on other s/w Silverlight V1.0 and V1.1

Silverlight V1.1

Silverlight V1.0

V1.1 will add .NET to V1.0 CoreCLR Independent subset of the .NET Framework A richer web with Silverlight Silverlight Streaming

Provides 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 Using Silverlight Streaming

What can it host? Silverlight applications Content (video) for use in Silverlight apps Invoking Default (requires JavaScript) – Special version of Silverlight.js – Parameters move to Iframe (no JavaScript) – URL syntax Packaging Content for SLS

Single zip file archive (Video files restricted to 22MB) Add application manifest (manifest.) List of JavaScript files to load in order Set parameters (like Silverlight.createObject()) Add startup code to local page Packaging Content for Silverlight Streaming Expression Encoder

Generates VC-1 (WMV) content Optimised 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 Video & Expression Encoder Silverlight Streaming API

URL https://silverlight.services.live.com/accountId/fileSetName Credentials HTTP authentication (HTTPS required) – Username = Account ID – Password = Account Key File Set Group of files representing a Silverlight application Contained in a single zip archive Include a manifest (manifest.xml) Silverlight Streaming API Operations

PUT / POST Adds a file set Request body must be a file set (zip file) DELETE Deletes a file set GET Retrieves information specified by the URL Eg list of file sets, list of files in file set etc Silverlight Streaming API Windows Live Quick Apps (Beta) http://dev.live.com/quickapps Free source code to build social networking sites

ContosoAdventure WorksBicycleUniversity Resorts Club Live ID associated with ASP.NET Profiles UserVirtualContacts Generated Earth API Video(Windows Content Live Data) SpacesVirtualAccepting Earth file uploads (via a form post) Dropping uploads into MSMQ Queue SilverlightSpacesEncoding Streaming using Expression (geo Encoder-sync'd) ExpoSilverlightUploading Streaming to Silverlight Streaming Playing videos from Silverlight ExpoStreaming Map Point Web Service Contacts Control Spaces Photo Control Windows Live Alerts Virtual Earth Considerations

Cross domain issues Different domains = restricted access Use initialisation parameters (initParams)