Question

I have an MVC 4 app that I am trying to use Membership to manage Roles and Authentication. The problem I am seeing is that when I open the ASP Configuration app, I add users and I see them show up in the aspnet_users table. But when I go to the mvc app and register a user, it gets saved in the userprofile table.

There is obviously a lot that I don't understand here. When I go to my project in Visual Studio 2012 Express and select the Project Menu and then Configure asp.net, where is the configuration for that app? It seems as though I need to look at the configuration and make sure the connection string is working and that I have the correct provider specified.

Any advice would be appreciated.

Was it helpful?

Solution

That "ASP Configuration App" (although I'm not sure of what it is) must be using the old ASP.NET Membership whereas your ASP .NET MVC 4 application is using SimpleMembership. MVC 5 uses ASP.NET Identity.

Chronollogically: ASP.NET Membership > SimpleMembership > ASP.NET Identity.

See this question: what is the differences between Membership, SimpleMembership, ASP.NET Identity?

This article may also be useful.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top