8

Closed

Allow membership and roles table names to be specified

description

The Internet Application template in VS 2012 now includes DotNetOpenAuth by default, and adds an InitializeSimpleMembership attribute that decorates the AccountController class. While you need to pass in the user table name when the database connection is initialized, there's currently no way to specify the name of the membership and roles table names. Instead, the tables are automatically created as "webpages_Membership", "webpages_OAuthMembership", "webpages_OAuthToken", "webpages_Roles", and "webpages_UsersInRoles".

I'd like to see optional parameters added for the membership and roles table names so the defaults are declared, but could be overridden if you preferred different names due to an existing database schema or other reason.
Closed May 1 at 8:28 PM by yishaigalatzer

comments

yishaigalatzer wrote May 1 at 8:28 PM

Thanks for reporting and providing a pull request. We plan to deprecate this template and do some other major changes to the authentication system.

In the new system this request will be supported, for that reason we prefer not to fix this issue.

Thanks Again