User and Profile information [modified]
-
Hi All, In an application, how do I create tables in a database to store Profiles, Roles, User, User in Roles, Memberships ... Does ASP. Net create them automatically or are they created by the user. How do I ensure that when I use 'Website -> ASP.NET Configuration' option of Visual Studio, updates made using Security, Application Configuration and Provide Configuration reisde in this database? How does the mapping work? Thanks,
modified on Monday, March 9, 2009 2:00 AM
-
Hi All, In an application, how do I create tables in a database to store Profiles, Roles, User, User in Roles, Memberships ... Does ASP. Net create them automatically or are they created by the user. How do I ensure that when I use 'Website -> ASP.NET Configuration' option of Visual Studio, updates made using Security, Application Configuration and Provide Configuration reisde in this database? How does the mapping work? Thanks,
modified on Monday, March 9, 2009 2:00 AM
Hi NetQuestions, It all depends on what you are trying to achieve. A seperate database is over the top and not needed. Maybe needed if you have a local database and a remote database, but to be honest I would still hold the user credentials on both anyway. More databases equal potentially more maintenance / overhead, more chance to get hacked and more connections strings / threads.
Regards Julian Mummery Please Visit my FREE Bug Tracking Website at http://www.faultlogger.com
-
Hi NetQuestions, It all depends on what you are trying to achieve. A seperate database is over the top and not needed. Maybe needed if you have a local database and a remote database, but to be honest I would still hold the user credentials on both anyway. More databases equal potentially more maintenance / overhead, more chance to get hacked and more connections strings / threads.
Regards Julian Mummery Please Visit my FREE Bug Tracking Website at http://www.faultlogger.com
Hi julian, I have one more question on profiles and roles. In an application, how do I create tables in a database to store Profiles, Roles, User, User in Roles, Memberships ... Does ASP. Net create them automatically or are they created by the user? regards, NetQuestions
-
Hi julian, I have one more question on profiles and roles. In an application, how do I create tables in a database to store Profiles, Roles, User, User in Roles, Memberships ... Does ASP. Net create them automatically or are they created by the user? regards, NetQuestions
Hi NetQuestions, Generally speaking the Database Administrator would set these up for you. I guess you must be using SQLServer? Adding Users: http://sureshsharmaaspdotnet.wordpress.com/2008/05/03/create-custom-database-for-membershiproleprofile-in-sql-server/[^][^] Adding Roles / User in Roles: http://articles.techrepublic.com.com/5100-10878_11-1061781.html[^] As for Memberships: http://www.15seconds.com/issue/050216.htm[^]
Regards Julian Mummery Please Visit my FREE Bug Tracking Website at http://www.faultlogger.com
-
Hi NetQuestions, Generally speaking the Database Administrator would set these up for you. I guess you must be using SQLServer? Adding Users: http://sureshsharmaaspdotnet.wordpress.com/2008/05/03/create-custom-database-for-membershiproleprofile-in-sql-server/[^][^] Adding Roles / User in Roles: http://articles.techrepublic.com.com/5100-10878_11-1061781.html[^] As for Memberships: http://www.15seconds.com/issue/050216.htm[^]
Regards Julian Mummery Please Visit my FREE Bug Tracking Website at http://www.faultlogger.com
Thanks a lot, Julian