I am using the default .NET Membership Provider for user management in my site.
On creating a user I would like to set a first name and last name, as provided by the user. Any idea how I might do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way is probably to use the built-in profile functionality in ASP.NET. Here’s a good explanation of how it works within MVC specifically:
http://wiki.asp.net/page.aspx/1327/profile-provider-in-aspnet-mvc/
And here is the the MSDN article about profiles:
http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx