开发者

Settings file from winforms in asp.net

开发者 https://www.devze.com 2023-03-01 15:00 出处:网络
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

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.

0

精彩评论

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