Windows Live Technical Development Series Part 2


Published on

Published in: Business, Technology
1 Comment
  • I am not sure it is popping up on mine and only one person has permission to view my page. I am going to do some more research and if i find anything out i will re post a comment to this page for you... If you find out could you please do the same for me it is driving me insane :(. My name is James.....
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Windows Live Technical Development Series Part 2

    1. 1. Windows Live Development Series Session 2: Site-Centric Services [presenter info]
    2. 2. Series Agenda <ul><li>Session 1: Overview </li></ul><ul><ul><li>Platform overview, service access, integration </li></ul></ul><ul><li>Session 2: Site-Centric Services </li></ul><ul><ul><li>Search, Silverlight Streaming, Virtual Earth, Expo </li></ul></ul><ul><li>Session 3: User-Centric Services </li></ul><ul><ul><li>Live ID, Spaces, Photos, Contacts, Messenger, Alerts </li></ul></ul>
    3. 3. Session Agenda <ul><li>Search </li></ul><ul><li>Silverlight Streaming </li></ul><ul><li>Virtual Earth </li></ul><ul><li>Expo </li></ul>
    4. 4. Live Search <ul><li>Client-side HTML forms </li></ul><ul><li>Server-side Web services </li></ul>
    5. 5. Live Search: Client-side <ul><li>Add a search box to your site in HTML </li></ul><ul><li>Benefits </li></ul><ul><ul><li>Doesn’t require server-side development </li></ul></ul><ul><ul><li>Doesn’t impact server performance </li></ul></ul><ul><li>Drawbacks </li></ul><ul><ul><li>Don’t [easily] get insight into visitor searches </li></ul></ul>
    6. 6. Basic Search Box For Site < form method =&quot;get&quot; action =&quot;;> < input type =&quot;hidden&quot; name =&quot;cp&quot; value =&quot;437&quot; /> < input type =&quot;hidden&quot; name =&quot;FORM&quot; value =&quot;FREESS&quot; /> < table bgcolor =&quot;#FFFFFF&quot;> < tr > < td > < a href =&quot;;> < img src =&quot;; border =&quot;0&quot; alt =&quot;Live Search&quot;/> </ a > </ td > < td > < input type =&quot;text&quot; name =&quot;q&quot; size =&quot;30&quot; /> < input type =&quot;submit&quot; value =&quot;Search Site&quot; /> < input type =&quot;hidden&quot; name =&quot;q1&quot; value =&quot;;/> <!– or your site --> </ td > </ tr > </ table > </ form >
    7. 7. Advanced Search Box For Site & Web
    8. 8. Advanced Search Box For Site & Web* < meta name =&quot;Search.WLSearchBox&quot; content =&quot;1.1, en-US&quot; /> < div id =&quot;WLSearchBoxDiv&quot;> < table cellpadding =&quot;0&quot; cellspacing =&quot;0&quot; style =&quot;width: 322px&quot;>< tr id =&quot;WLSearchBoxPlaceholder&quot;>< td style =&quot;width: 100%; border:solid 2px #4B7B9F;border-right-style: none;&quot;>< input id =&quot;WLSearchBoxInput&quot; type =&quot;text&quot; value =&quot;Loading...&quot; disabled =&quot;disabled&quot; style =&quot;padding:0;background-image: url(;background-position: right;background-repeat: no-repeat;height: 16px; width: 100%; border:none 0 Transparent&quot; /></ td >< td style =&quot;border:solid 2px #4B7B9F;&quot;>< input id =&quot;WLSearchBoxButton&quot; type =&quot;image&quot; src =&quot;; align =&quot;absBottom&quot; style =&quot;padding:0;border-style: none&quot; /></ td ></ tr ></ table > < script type =&quot;text/javascript&quot; charset =&quot;utf-8&quot;> var WLSearchBoxConfiguration= { &quot;global&quot;:{ &quot;serverDNS&quot;:&quot;;, &quot;market&quot;:&quot;en-US&quot; }, &quot;appearance&quot;:{ &quot;autoHideTopControl&quot;: false, &quot;width&quot;:600, &quot;height&quot;:400, &quot;theme&quot;:&quot;Blue&quot; }, &quot;scopes&quot;:[ { &quot;type&quot;:&quot;web&quot;, &quot;caption&quot;:&quot;Microsoft&quot;, &quot;searchParam&quot;:&quot;; } , { &quot;type&quot;:&quot;web&quot;, &quot;caption&quot;:&quot;Web&quot;, &quot;searchParam&quot;:&quot;&quot; } ] } </ script > < script type =&quot;text/javascript&quot; charset =&quot;utf-8&quot; src =&quot;;></ script > </ div > *- Or just use the easy wizard at
    9. 9. Live Search Web Service <ul><li>SOAP API for searching: </li></ul><ul><ul><li>Ads, Images, InlineAnswers, News, PhoneBook, QueryLocation, Spelling, Web, WordBreaker </li></ul></ul><ul><li>Free access with up to 25,000 queries per day per IP address </li></ul><ul><ul><li>Commercial usage terms available </li></ul></ul>
    10. 10. Sample Search API Code MSNSearchService service = new MSNSearchService (); SearchRequest request = new SearchRequest (); // You can search multiple sources at once and ask for any of the fields. // We search Web only here and ask for just the title and URL of the result. request.Requests = new SourceRequest [1]; request.Requests[0] = new SourceRequest (); request.Requests[0].Source = SourceType .Web; request.Requests[0].ResultFields = ResultFieldMask .Title | ResultFieldMask .Url; request.CultureInfo = &quot;en-US&quot; ; request.Query = &quot;QUERY TEXT&quot; ; request.AppID = &quot;APP_ID&quot; ; // Get from foreach ( Result result in service.Search(request).Responses[0].Results) { // Process search result... }
    11. 11. Silverlight Streaming <ul><li>Online service for hosting Silverlight applications </li></ul><ul><li>Applications served from Microsoft servers </li></ul><ul><ul><li>Great scalability and availability </li></ul></ul><ul><li>Limitations </li></ul><ul><ul><li>4GB total storage (to be removed eventually) </li></ul></ul><ul><ul><li>Videos cannot exceed 10 minutes in runtime or ~20MB </li></ul></ul><ul><ul><li>Peak outbound rate is 700 Kbps (if streaming media) </li></ul></ul><ul><li>No limitation on media quality or encoding </li></ul>
    12. 12. Silverlight Streaming Setup <ul><li>Administration </li></ul><ul><ul><li>Create an account at to get an account ID and secret key </li></ul></ul><ul><li>Content preparation </li></ul><ul><ul><li>Uploads are in ZIP format </li></ul></ul><ul><ul><ul><li>Using admin browser interface </li></ul></ul></ul><ul><ul><ul><li>Using REST API </li></ul></ul></ul><ul><li>End users </li></ul><ul><ul><li>Require the Silverlight runtime </li></ul></ul><ul><ul><li>Everything else is HTML/JavaScript </li></ul></ul>
    13. 13. Silverlight Streaming Infrastructure
    14. 14. Silverlight OS/Browser Support *Novell will deliver an implementation of Silverlight on Linux, called Moonlight. OS*/Browser IE6 SP2 IE 7.0 FireFox 1.5.x.x FireFox 2.0 Mac Safari 2.0.4 Windows XP Gold/SP1/SP2 Supported Supported Supported Supported Not Applicable Windows Vista Not Applicable Supported Supported Supported Not Applicable Windows 2000 Not Supported; Planned Not Supported; Planned Not Supported; Planned Not Supported; Planned Not Applicable Mac OS 10.4.8 PPC Not Applicable Not Applicable Not Supported; Planned Not Supported; Planned Supported Mac OS 10.4.8 Intel Not Applicable Not Applicable Supported Not Supported; Planned Supported
    15. 15. Virtual Earth <ul><li>Virtual Earth </li></ul><ul><ul><li>Hosted, programmable Geographic Information System </li></ul></ul><ul><ul><li>No credentials required for Virtual Earth control </li></ul></ul><ul><li>MapPoint </li></ul><ul><ul><li>Suite of products and services for integrating location-based services </li></ul></ul><ul><ul><li>SOAP API developer account available at </li></ul></ul>
    16. 16. Virtual Earth Control <ul><li>Incredibly robust control for mapping and mashups </li></ul><ul><li>Built-in zooming, panning, etc </li></ul><ul><li>3D available with ActiveX install </li></ul><ul><li>Supports GeoRSS </li></ul><ul><ul><li>Ideal for building overlays with hover windows </li></ul></ul>
    17. 17. Expo <ul><li>Marketplace available on </li></ul><ul><ul><li>Supports listing and searching just about everything </li></ul></ul><ul><li>Accessible via HTTP/GET or SOAP API </li></ul><ul><ul><li>Register for credentials at </li></ul></ul><ul><ul><li>Both mechanisms return XML to be parsed </li></ul></ul>
    18. 18. Summary <ul><li>Search </li></ul><ul><li>Virtual Earth </li></ul><ul><li>Silverlight Streaming </li></ul><ul><li>Expo </li></ul>