开发者

Persisting user-specific settings server-side in Silverlight

Originally I was using isolated storage to store user settings in a Silverlight app I inherited, when the mandate came down to persist the settings server-side so that no matter which machine a user logs in on, his settings are applied.

I开发者_如何学Gos there a standard way to do this? My app does its communication to the server via a WCF service.


I don't know whether it's standard or not, but we store the user settings in the database - treat them like any other server side data.

The best approach is to store an XML chunk which you can then parse and update on the client. Having a table with a column for each piece of information is probably a bad idea as you will want to change the data at some point.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜