1 / 28

Developing on the Windows Live Platform

Developing on the Windows Live Platform. Mike Ormond Developer & Platform Group Microsoft Ltd Mike.Ormond@microsoft.com http://mikeo.co.uk. Agenda. Live Search. Microsoft Silverlight Streaming by Windows Live.

akio
Download Presentation

Developing on the Windows Live Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing on the Windows Live Platform Mike Ormond Developer & Platform Group Microsoft Ltd Mike.Ormond@microsoft.com http://mikeo.co.uk

  2. Agenda Live Search Microsoft Silverlight Streaming by Windows Live

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

  4. Timeline & Packaging Platforms & Browsers (Mirosoft support) Novell Support (Moonlight) • 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 IE 6.0+ FireFox 1.5+ Safari 2.0 FireFox Konqueror Opera Windows Vista, XP, 2003, 2000* Mac OS X 10.4.8+ Linux (various distros)

  5. Silverlight V1.0 and V1.1 Silverlight V1.1 • V1.1 will add .NET to V1.0 • CoreCLR • Independent subset of the .NET Framework Silverlight V1.0

  6. A richer web with Silverlight

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

  8. 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 manifest • Iframe (no JavaScript) • URL syntax

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

  10. Packaging Content for Silverlight Streaming

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

  12. Video & Expression Encoder

  13. Silverlight Streaming API • URL • https://silverlight.services.live.com/accountId/fileSetName • Credentials • HTTP basic 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)

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

  15. Silverlight Streaming API

  16. Windows Live Quick Apps (Beta) • http://dev.live.com/quickapps • Free source code to build social networking sites • Contoso University • Contacts API (Windows Live Data) • Virtual Earth • Spaces • Silverlight Streaming • Expo • Adventure Works Resorts • Live ID associated with ASP.NET Profiles • User Generated Video Content • Accepting file uploads (via a form post) • Dropping uploads into MSMQ Queue • Encoding using Expression Encoder • Uploading to Silverlight Streaming • Playing videos from Silverlight Streaming • Map Point Web Service • Contacts Control • Spaces Photo Control • Windows Live Alerts • Virtual Earth • Contoso Bicycle Club • Virtual Earth • Spaces • Silverlight Streaming (geo-sync'd) • Expo

  17. Considerations • Cross domain issues • Different domains = restricted access • Use initialisation parameters (initParams) • <iframe> Hosting • HTML hosted / non-hosted structure differs • Access to HTML DOM

  18. initParams

  19. Live Search

  20. Adding Search On Your Site • Live Search Box • Fast • Simple • No code • Live Search Web Service • Flexible • Powerful • Unlocks Capabilities

  21. Live Search Box • Basic • Search either web or specific site • Advanced • Web search plus optional • Site Search (multiple sites) • Search Macro • Customisation Options

  22. Live Search Box

  23. Live Search Web Service • SOAP API • http://soap.search.msn.com/webservices.asmx?wsdl • Get application ID • http://search.msn.com/developer • Add Web Reference • …and play

  24. The Live Search API String Query SourceRequest[] Requests SearchRequest Source String AppID ResultFields String CultureInfo ... MSNSearchService.Search(SearchRequest) SourceResponse[] Responses Result []Results SearchResponse Source Total Offset

  25. The Live Search API

  26. Additional Resources • Main Hub • http://dev.live.com • Silverlight • Main 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 Search • Live Search Service Home • http://dev.live.com/livesearch • Live Search Interactive SDK • http://dev.live.com/livesearch/sdk

  27. MSDN in the UK • Visit http://msdn.co.uk • Newsletter • Events • Nugget Videos • Blogs

More Related