(X) Hide this Watch the recording of the latest SilverlightShow webcast 'Running Silverlight Outside the Browser and with Elevated Trust'.
Join our next live webinar session by Braulio Diez - Sketchflow in Real Scenarios, on Sept 29th, 8am - 9am PDT.
Learn More | Sign Up | More Webinars by SilverlightShow


Skip Navigation LinksHome / Articles / View Article

Load static XML files to your application

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Sep 17, 2010
(0 votes)
In this post, Cheryl Simmons demonstrates a different way of loading static XML content into your Silverlight application.

Source: Silverlight SDK

So as these things usually go, while doing something completely unrelated to the application I recently built, I found another way to load static XML content into your Silverlight/Windows application. Instead of adding a file and setting its Build Action to Resource, as shown in my previous blog post, and accessing the file in code with Application.GetResourceStream, you can also set the Build Action property for the file to Content.



Comments RSS RSS
No comments

Add Comment


Please add 6 and 4 and type the answer here: