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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -