SimpleMembership is the default membership provider in ASP.NET MVC4. It supports a customized User table and OAuth.
Questions tagged [simplemembership]
596 questions
68
votes
5 answers
Is ASP.NET MVC 5 incompatible with the WebMatrix SimpleMembershipProvider?
We have an existing application that was build on ASP.NET MVC 4 & Web API. The admin parts of the site use Simple Membership. I'm interested in upgrading the application to MVC 5 / Web API 2, to take advantage of some of the new features that have…

Sixten Otto
- 14,816
- 3
- 48
- 60
61
votes
1 answer
How do I use my own database with SimpleMembership and WebSecurity? What is MVC4 security all about?
I've read everything on this topic I could find, including MSDN articles and SO posts, but I'm still very lost and confused.
Questions
Please answer the following (briefly, if possible):
What is SimpleMembership/SimpleMembershipProvider…

Rowan Freeman
- 15,724
- 11
- 69
- 100
53
votes
2 answers
Role based authentication in the new MVC 4 Internet template using simplemembership
I like the new simplemembership feature in MVC 4 internet template with links to OAuth for external logins in VS 2012 RTM. For the most part authentication feature are working. However even after spending over 8 hours on this I am unable to…

Ahmed
- 1,231
- 1
- 10
- 8
42
votes
3 answers
How am I supposed to use ReturnUrl = ViewBag.ReturnUrl in MVC 4
I'm working on 'ASP.NET MVC 4' application. I'm using/learning SimpleMembershipProvider and try to stick to the default logic created by VS2012 with the Internet template (if I'm not mistaken, the one with 'SimpleMembershipProvider' out of the box).…

Leron
- 9,546
- 35
- 156
- 257
40
votes
5 answers
How to create custom additional fields in UserProfile in MVC4
I faced with new ASP MVC 4 feature, it shipped with new membership db schema and new initialization. In mvc 3 and old versions developer able to create custom user profile fields using specifications in web.config, but now i faced with method in…

testCoder
- 7,155
- 13
- 56
- 75
37
votes
7 answers
SimpleMembership with custom database schema in ASP.NET MVC 4
I want to enable the ASP.NET MVC 4's SimpleMembership API to integrate with my own database schema. I have a plain and simple table in my database called Users with these fields:
Id
Name
Password
Email
IsDeleted
I have already configured the…

Zsolt
- 3,263
- 3
- 33
- 48
34
votes
2 answers
ASP.NET Identity vs Simple membership Pros and Cons?
In MVC4 we had Simple Membership. My opinion is that Simple Membership was a good Identity Model tried and tested with good documentation and didn't need to be fixed but simply needed an upgrade in terms of Email Verification/ Password Reset and all…

Flood Gravemind
- 3,773
- 12
- 47
- 79
30
votes
19 answers
User.IsInRole doesn't work
I have ASP.NET MVC 4 application. I use Simple Membership Provider allowing to tick remember me checkbox under login form. If ticked, persitent cookie .ASPXAUTH is created which expires 100 days from login date. And everything works fine, apart of…

Bartosz
- 4,542
- 11
- 43
- 69
28
votes
3 answers
How to get error details on Azure Web site
I'm new to Azure. Does anybody know how get detailed error message on website deployed to Azure web?
I added SimpleMembership to website and now Registration and Login (Post) are showing
Sorry, an error occurred while processing your request.
I'm…

Cherven
- 1,101
- 3
- 17
- 26
24
votes
7 answers
Why InitializeSimpleMembershipAttribute in MVC 4 app
I think my understanding on SimpleMembershipProvider is almost 60% and the rest is getting to know how it internally work.
You can quickly found some issue when using [InitializeSimpleMembership] filter only in AccountController (the default…

CallMeLaNN
- 8,328
- 7
- 59
- 74
24
votes
5 answers
Using SimpleMembership with EF model-first
Can SimpleMembership be used with EF model-first? When I try it, I get "Unable to find the requested .NET Framework Data Provider" when I call WebSecurity.InitializeDatabaseConnection.
To put it another way: I can't get the call to…

Bob.at.Indigo.Health
- 11,023
- 13
- 64
- 111
20
votes
4 answers
How to make WebSecurity.Login to login using username or email?
WebSecurity.Login in simplemembership take username and password, how to make it to login the user using username or email instead of just username?, to make the user free to enter his email or username to login.

Amr Elgarhy
- 66,568
- 69
- 184
- 301
20
votes
5 answers
SimpleMembershipProvider not working
I started a new internet project with VS2012 and am trying to just restructure my project a bit and I can't seem to keep the SimpleMemberhsipProvider working. Basically, all I've done is move the models objects into a core project along with a…
user342706
19
votes
4 answers
How do I manage profiles using SimpleMembership?
I have an ASP.NET MVC 4 site based off the internet template. I am using the SimpleMembership which i set up with that template.
I can modify the Users table which has been creted for me but I am unsure as to the "correct" way to modify the extra…

PlanetWilson
- 361
- 1
- 2
- 8
18
votes
1 answer
How do I reset or change passwords using SimpleMembership in MVC4?
I've been writing a web application using the MVC4 Internet template. I really didn't need anything complicated for user management, so I went with the default SimpleMembershipProvider. I'm initializing membership in App_Start, and I have roles and…

Elsimer
- 1,878
- 3
- 18
- 33