RE: security in windows app
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Wed, 17 Jan 2007 09:51:23 GMT
Thanks for your reply Gerhard,
As for the connectionstring, do you mean programmatically modify it or you
just want to modify it anyway after the application has been deployed? For
windows application which call the ASP.NET (system.web....) membership &
role class methods, it should contains the same <system.web> and
<connectionStrings> setting as ASP.NET application do. And if you want to
change connectionstring, just modify the corresponding connectionstring in
your windows application's app.config file.
Also, once the ASP.NET membership provider has read the connectionstring(in
its internal code logic), it will cached it in memory. Thus, you can not
modify it (when the application is running) until you restart the
application(AppDomain of .net framework application).
Hope this helps. If you still have anything unclear, please feel free to
let me know.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: security in windows app
- From: Steven Cheng[MSFT]
- RE: security in windows app
- From: Gerhard
- RE: security in windows app
- Prev by Date: RE: Better security
- Next by Date: RolePrincipal vs Custom Principal
- Previous by thread: RE: security in windows app
- Next by thread: RE: security in windows app
- Index(es):
Relevant Pages
|