Advertisement
Silverlight

Download and Read an XML File Over HTTP

by

One of the defining characteristics of a RIA is the ability to cross the network and grab resources. There are many ways to do this in Silverlight, but here we'll write a little code to illustrate just about the simplest: an asynchronous request across the network for an XML file.

We'll talk about the cross-domain security implications that this might have and we'll touch on the key XML API in Silverlight - LINQ to XML.


Like the icon image? 12 Custom Guarantee & Warranty Seal Icons Set is available on GravicRiver.net!


View Screencast

Don't like ads? Download the HD 720 source, or subscribe to Activetuts+ screencasts via iTunes!


Useful Links

Mike Taulty Microsoft (UK): http://mtaulty.com: mtaulty@microsoft.com: twitter.com/mtaulty

Related Posts
  • Computer Skills
    App Training
    Demystifying Microsoft Office & Office 365 PricingOffice logo
    You want to buy Microsoft Office, but which suite should you get? This tutorial will help you choose the best for your usage and will guide you toward a better understanding of how Microsoft has structured its most popular software offering's pricing.Read More…
  • Computer Skills
    Screencasts
    How to Screencast for FreeQuicktimeicon
    Three different ways to screencast for free. Show others what you are doing on your computer for fun and profit.Read More…
  • Code
    Articles
    Contributing to WordPress in Your Native LanguageWordpress logo with flags background
    WordPress is huge. It's so big that even though we know how many websites are there using WordPress, it's difficult to imagine how widely it's being used. I mean, we know the numbers, but it's easy to be amazed by how often we stumble upon another WordPress-powered website. It's safe to say that WordPress is the most popular content management system in the world.Read More…
  • Code
    Mobile Development
    C++ Succinctly: IntroductionPreview image@2x
    C++ Succinctly was written to help professional C# developers learn modern C++ programming. The aim of this series is to leverage your existing C# knowledge in order to expand your skills.Read More…
  • Code
    Other
    Using Web Debugging ProxiesDebug proxies preview
    My previous two articles focused on debugging tools, so it's only fitting that I continue with this theme. When debugging front-end code, you tend to spend a lot of time reviewing how CSS and JavaScript affect your page's rendering; equally important is how network requests affect your site. In many cases, we work locally and forget that page size, latency, and script loading and blocking can greatly affect the way a user experiences your site. So having a good set of tools to inspect network traffic is vital to rounding out your debugging toolset.Read More…
  • Code
    Silverlight
    Silverlight for In-Browser, Out-of-Browser and Elevated ApplicationsPreview2
    Silverlight is known as a "browser plug-in" but it can easily be used to build 3 different kinds of applications cross-platform. There's the browser app, the out-of-browser app and the elevated-trust out of browser app. Here we'll take a look at how you build all 3.Read More…