Silverlight Forums

Your Silverlight Community

Configuration in Silverlight and a Standalone File Uploader

Posted under News on Nov 30, 1999 (2 months ago)

Leblanc Meneses has published a great, very detailed post explaining configuration in Silverlight and a standalone file uploader.

ConfigurationManager, the commonly used .NET configuration API, is unavailable in Silverlight applications. The minimum code option is to deserialize an XML configuration file, or to read from initParams.

While most Silverlight applications only need Service endpoints updated in ServiceReferences.ClientConfig, there are occasions where a PRISM module may be needed to support reconfiguration. When this happens, I use an MSBuild task to create and/or merge the correct settings into a module.xml within the PRISM module, using a strongly typed object representing the XML file. I also deserialize the XML file to retrieve its values.


Source: http://www.silverlightshow.net/news/Configuration-in-Silverlight-and-a-Standalone-File-Uploader-.aspx

Back to News

Bookmark and Share

Latest Tutorials


Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : Space required after the Public Identifier in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : SystemLiteral " or ' expected in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:9: parser error : Opening and ending tag mismatch: hr line 7 and body in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: </body></html> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:9: parser error : Opening and ending tag mismatch: body line 4 and html in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: </body></html> in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.silverlighttutorials.com/?feed=rss2:10: parser error : Premature end of data in tag html line 2 in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/mullerco/public_html/news/article.php on line 198

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/mullerco/public_html/news/article.php on line 198

Warning: Invalid argument supplied for foreach() in /home/mullerco/public_html/news/article.php on line 207

Forum Posts

Video Player Silverlight

Read More →

Problem With MouseDragElementbehavior to move windows on mouse move Event.

Read More →

Remote Silverlight Opportunity

Read More →

Windowless Mode and greek text input

Read More →

Popup Issue In Silverlight 3.0

Read More →

Realtime charts with Microsoft Windows control charts

Read More →

Using themes - Missing microsoft.windows.controls.theming.dll in Silverlight 3 tookit

Read More →

Databinding an Item in a collection to a controls in Silverlight xaml

Read More →

(Silverlight 4) Exceptions from a WCF service thrown by UserNamePasswordValidator

Read More →

About Silverlight Forums

Silverlight Forums is an established Silverlight community for people interested in design and development using Microsoft Silverlight technology.

Flickr

Silverlight Hat fs_timhuer