We have the simple scenario of a web server exposing a menu data as plain old xml (POX). Our Silverlight application would like to consume this data and display it in a simple list box.
Here’s how it’s done:
Data file (directly exposed on web server)
Mapping (on client)
Service Call (on client)
Data Binding (on client)
It’s as easy as that.
You can download the source code here:
http://stevenhollidge.com/blog-source-code/SilverlightXmlService.zip
No comments:
Post a Comment