开发者

Application configuration in Silverlight

开发者_运维技巧I need to have some application settings in my Silverlight project. In a standard .NET project it is accomplished by adding some Settings file. However it is not supported in SL. What should be done then? I think of some xml configuration file, but where should it be placed and how should it be accessed?

What is the most elegant way to set up some application configuration in SL?

Thank you in advance for replies and hints!

Cheers


Assuming you mean that you want each site to which the Xap may be deployed to be able to parameterise various aspects of the applications operation then and XML file is probably the best medium.

Use the WebClient to download it, wait for the download to complete before continuing with start code such as constructing and assigning the RootVisual.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜