Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 23, 2013 12:34 PM by MasterV23
Jan 22, 2013 06:55 PM|LINK
Hopefully this is the right place if not, please move to the correct location.
What I'm trying to do is add another column to be used in the membership provider when someone registers on the site. I want to be able to store a customer number along with the current data that is store. What is the best way to accomplish this using
The current membership provide has username, email, password and etc...
Jan 22, 2013 07:36 PM|LINK
switch to the simple mebership provider which was designed for this. otherwise you will need to write your own sql to create the column, and new methods that perform crud operation on the column.
Jan 22, 2013 07:40 PM|LINK
Are there any examples that you can link me to for the simple membershp provider?
Jan 22, 2013 10:50 PM|LINK
Jan 22, 2013 11:05 PM|LINK
Follow here for simple membership provider
Jan 22, 2013 11:36 PM|LINK
Jan 23, 2013 12:20 AM|LINK
MVC 4 is compatible with .NET 4.0 so you should be able to use it.
Jan 23, 2013 10:25 AM|LINK
Jan 23, 2013 11:41 AM|LINK
Jan 23, 2013 12:34 PM|LINK
I am building a MVC4 project but I don't see the seperate filters folder used for simple membership. The issue is I do not have a WebSecurity class at all. Not sure if I'm missing a reference package or not but I've updated all my references within Nuget.
Finally got it to work by adding the webmatrix reference. Also used the following articles to help me setup the simple membership.
Now the question is, is it possible to also use code first EF migration?