Silverlight has IsolatedStorageSettings.ApplicationSettings.
I'm basically looking for an equivalent t开发者_如何学Goo AppSettings in ASP.NET where I can set defaults. How do I set defaults in an XAML file for ApplicationSettings?
The documentation doesnt explain how to.
You can do like these guys did and build a wrapper class that houses the defaults.
And here's a case where somebody used initialization parameters for that purpose:
http://msmvps.com/blogs/luisabreu/archive/2007/06/20/getting-your-initparams-from-managed-code.aspx
精彩评论