Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. User and Profile information [modified]

User and Profile information [modified]

Scheduled Pinned Locked Moved Web Development
csharpquestionasp-netdatabasevisual-studio
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NetQuestions
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • N NetQuestions

      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

      J Offline
      J Offline
      JMummery
      wrote on last edited by
      #2

      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


      N 1 Reply Last reply
      0
      • J JMummery

        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


        N Offline
        N Offline
        NetQuestions
        wrote on last edited by
        #3

        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

        J 1 Reply Last reply
        0
        • N 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

          J Offline
          J Offline
          JMummery
          wrote on last edited by
          #4

          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


          N 1 Reply Last reply
          0
          • J JMummery

            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


            N Offline
            N Offline
            NetQuestions
            wrote on last edited by
            #5

            Thanks a lot, Julian

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups