Archives

Archives / 2010 / December
  • Using Xml Files on Windows Phone

    The Windows Phone does not have a database for you to use locally on the phone. This means that you will need to use WCF services to get data from a database. However, each time you make a call to a WCF service this means that you need to connect to the network, make a call to a remote service, get the data back and put it into a format that you can consume on the phone. All of this takes time, and just as important, consumes battery power. If you have some data that is fairly static you could deploy that data with your application in the form of an XML file. With the XML file deployed on the phone as a part of your application, you use LINQ to XML to read the data. That data can now be displayed in any format you choose.

Past Blog Content

Blog Archive