We help IT Professionals succeed at work.

ASP.net 4 Login functionality - where are users saved

Murray Brown
Murray Brown asked
on
Medium Priority
398 Views
Last Modified: 2012-05-11
Hi

I started a fresh ASP.net 4 web application project and debugged then tried to register as a user
and I could. I haven't even added a backend database. Where are users stored in this instance or do I need to still add a database for this to work online?
Comment
Watch Question

Yes you will need some backend database before going online. When you simple register the user it actually does not persist and will remain in memory. There is also builten Membership providers which you can use for user registration. You can also use builten User Registration wizard control in ASP.Net.

Kindly see following link for more detail.
http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
http://msdn.microsoft.com/en-us/library/ms178334.aspx
its depending on provider which u use to save user. check your web.config membership tag its available there
Murray BrownASP.net/VBA/VSTO Developer

Author

Commented:
Thanks malikirfan28 but I still don't understand what a membership provider is. If I am going to add an SQL backend, do I need to add a table for this or is that already there in a fresh project?
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Murray BrownASP.net/VBA/VSTO Developer

Author

Commented:
Thanks very much for the thorough answer. Really appreciate it.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.