Settings file from winforms in asp.net
I have 开发者_开发问答in winforms app definied settings in user scope. I have used default for winforms settings file (*.settings extension). But now I'm trying to change the presentation layer from winforms to asp.net page. Is this possible to use the same settings in an asp.net? Now I have got only an exception. The settings are stored in an app.config file and VS generated a wrapper for that which works ok only in winforms. I need to have possibility to operate on the same file from winforms and asp.net presentation layer.
You can use a profile provider to store user settings and preferences. Otherwise you could home bake something... Although I would go with profiles myself.
精彩评论