SimpleMembership is the default membership provider in ASP.NET MVC4. It supports a customized User table and OAuth.
Questions tagged [simplemembership]
596 questions
3
votes
1 answer
What would be equivalent web.config configuration for "enableSimpleMembership"="true:
What would be equivalent configuration of Membership and Role providers in Web.Config for:
in ASP.NET MVC 4?

Nenad
- 24,809
- 11
- 75
- 93
3
votes
2 answers
What encryption does MVC4 use?
How do we find out what encryption MVC4 uses? I notice there is an option for a SALT but this also seems not to be used in the WebSecurity() module.
I would like to know the standard used and if it is easily possible to upgrade to the latest SHA

CR41G14
- 5,464
- 5
- 43
- 64
3
votes
3 answers
Using MySQL 5 , Simple Membership Provider, ASP.NET MVC4 with Entity Framework 5
I am trying to:
use Simple Membership provider based authentication with MySQL using ASP.NET MVC 4 default web application configured to use MySQL using the tutorial given…

Steve Johnson
- 3,054
- 7
- 46
- 71
3
votes
2 answers
simplemembership "remember me" logon fails
I'm getting the following exception, intermittently, when accessing an [Authorize]'d action. It seems to work some of the time, and then fail other times, but its definitely worse when I login and select the "remember me" button. If I log off, and…

reidLinden
- 4,020
- 4
- 31
- 46
3
votes
1 answer
Named Schema not working in Azure SQL
I want to use a separate/ named schema in an Azure WebSite app to implement a multi-tenancy in separate schemas pattern with Azure SQL. My app runs correctly in Visual Studio but not on Azure. I searched StackOverflow for similar issues, and…

Paul Rasmussen
- 154
- 7
3
votes
1 answer
How to extend/customize MVC4 Internet Application WebSecurity/SimpleMembership
I've been trying my best to search for more information on how to modify/extend/customize the default membership system available in MVC4 Internet Application (EF 5 Code First) in Visual Studio 2012 Express.
I would like to know how to implement…

stormwild
- 2,855
- 2
- 31
- 38
3
votes
2 answers
SimpleMembershipProvider: webpages_Membership table
which is the best method to access to webpages_Membership table informations using a SimpleMembershipProvider in MVC 4? I'm trying to implement the account block if he / she input a wrong password for three times ..
Many thanks

Davide
- 1,305
- 3
- 16
- 36
3
votes
1 answer
asp.net mvc 4: simplemembership - WebSecurity.Login fails when the user is not confirmed
By default, WebSecurity.Login method returns false when the user is not confirmed.
How can I make it work regardless of the user confirmation status?

Jungong Shi
- 241
- 2
- 9
3
votes
2 answers
how to make Simple Membership create tables with default dbo schema
I have an issue with Simple Membership with SQL server using Entity framework code first.
When I run
WebSecurity.InitializeDatabaseConnection( "MyDB", "Users",
"UserID", "Username", true);
on my own…

Layinka
- 405
- 1
- 4
- 13
3
votes
3 answers
Adding item to the List
I am probably doing something silly but cannot find out what. I am trying to modify simple membership functionality in ASP.NET MVC 4. I have slightly modified a RegisterModel coming with the template, and added a list of categories to it like…

Bartosz
- 4,542
- 11
- 43
- 69
3
votes
2 answers
Customizing SimpleMembership Provider
I am using simple membership provider in mvc4 application and I can see five tables generated for that. In that i can see username and password are stored on different tables. I want to save username and password on the same table with some custom…

Hary
- 5,690
- 7
- 42
- 79
3
votes
2 answers
Entity Framework, ASP.NET, and SQL Server CE
With VS 2010 SP1 I created an ASP.NET MVC4 project from the "internet" template. I then created a connection string for SQL Server CE 4.0:

Brent Arias
- 29,277
- 40
- 133
- 234
3
votes
1 answer
Protecting the folders using SimpleMembership in Asp.Net MVC 4
I am using SimpleMembership Provider in my ASP.NET MVC 4 project.
Why the following code in web.config doesn't protect the content of the folder for unauthorized users?
…

arlen
- 1,065
- 1
- 16
- 31
3
votes
1 answer
SimpleMembership Provider not assigning ID's
I'm trying to get an MVC4 site with SQL working using SimpleMembership, but I keep getting errors whenever I create a user record:
[SqlException (0x80131904): Cannot insert the value NULL into column 'Id', table 'NFBC.dbo.User'; column does not…

Ron Penton
- 1,511
- 1
- 12
- 24
3
votes
1 answer
MVC 4 SimpleMembership Using a Custom Schema With UserId Guid
The default behavior out of the box for SimpleMembership is to have an int for the UserId.
Is there a quick way to have the SimpleMembership UserId work with a GUID?
If not could I extend the SimpleMembership to do so?
What would be the best way to…

Ken Burkhardt
- 3,528
- 6
- 33
- 45