Skip to main content
Home Forums Silverlight Programming Programming with .NET - General AppSettings for Silverlight App.
4 replies. Latest Post by mchlSync on March 16, 2009.
(0)
kutabale
Member
0 points
20 Posts
03-16-2009 10:48 AM |
I have Silverlight App. That runs in two mode based on configuration. Is there a way i can store the keys in the ServiceReferences.ClientConfig.
Or is there another way to better store this. keys.
<
</
fullsail...
Contributor
3699 points
829 Posts
03-16-2009 11:04 AM |
Hi! In Silverlight you would want to pass those in as InitParams. (Ignore the Param I have highlighted. It's an artifact from helping someone else.) You want to make an InitParam.
03-16-2009 11:22 AM |
I know about that. But i thougth it would be some more secure way to do this. May be inside XAP file.
03-16-2009 11:29 AM |
If it helps you sleep better at night to do it that way, then sure I guess you could. But the XAP is just a Zip file, and can easily be reverse-engineered, so I wouldn't go to extraordinary lengths to hide something. :]
mchlsync
Star
14606 points
2,730 Posts
03-16-2009 12:12 PM |
Hello Kutabale,
One of our Insiders wrote one useful tip for that.
Please check-out this link.
http://jonas.follesoe.no/ConfiguringSilverlight2ApplicationsUsingTheWCFConfigurationFile.aspx