Is it necessary to override the membership and the role providers? -


i'm working on web app , don't want store connection strings in web or app config because of requirements.

so far have found way achieve - override membership , role providers.

i don't understand why have override role provider when authentication apparantely handled membership provider?

thank you

while sqlroleprovider , sqlmembershipprovider separate concerns, both talk same database (typically).

they each have distinct configuration section , require instance of connections string.

i approve of strategy discovered on other question , if wish use roles have same thing, configuration in code, doing membership.

you should link other question give context , prevent getting flagged duplicate.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -