Load external data Windows Phone SDK


show more Loading external data provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Windows Phone SDK Essential Training show less
please wait ...

Loading external data

It's time to stop looking and start writing. Let's bring in our ShakespeareSonnets and write some code to be able to put it on the screen. The first thing we do is come to the Solution, come to the Sonnets project and Add a New Folder, and we will call it Content. Inside the Content folder, we will Add an Existing Item for those of you with the exercise files, that's going to be in the Sonnets_End folder for this chapter, and it's called ShakespeareSonnets.xml.

Similar to the data we used for units converter for images and so forth, we have to make sure that this is content, so when we go the Properties page, in this content but we need to make sure it's says Copy always. So it's actually gets included into our build. We are done with properties, and now to actually make this run, what we are going to do is we are going to come down to the MainViewModel and look at its LoadData method. So we come down here, and we see the LoadData method that came from the template which p...

Loading external data
Video duration: 7m 11s 4h 34m Beginner

Viewers:

Loading external data provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Windows Phone SDK Essential Training

Subject:
Developer
Software:
Windows Phone
Author:
please wait ...