troygoode / MembershipStarterKit

The starter kit provides the Asp.Net MVC controllers, models, and views needed to administer users & roles.
http://github.com/TroyGoode/MembershipStarterKit
MIT License
198 stars 66 forks source link

MVC 4 support #29

Open jyarbro opened 12 years ago

jyarbro commented 12 years ago

MVC 4 seems to support the UserAdministration view only after the MvcMembership Web.config is overwritten with the contents of a MVC 4 web.config.

troygoode commented 12 years ago

I'm not following. What needs to be changed?

jyarbro commented 12 years ago

Could be something as simple as updating the readme on the front page for how to handle MVC 4. Not sure if there are further changes that need to be made to support it, I just wanted to bring this one up as one of the issues I've encountered with a fresh install.

As an ASP.NET noob, I'm coding on the shoulders of giants here and when things aren't explicitly spelled out in the setup instructions, it can cause either hours of heartache or just throwing ones hands in the air and quitting.

Just want to help the next guy :)

troygoode commented 12 years ago

Could you use your source control system to provide a diff of the two web.configs so I can see what changed?

brgrz commented 11 years ago

I'll guess and say he's probably talking about these two settings that are required for the "old" membership providers to work in ASP.NET MVC 4:

<add key="enableSimpleMembership" value="false" />
<add key="autoFormsAuthentication" value="false" />