Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 27, 2012 02:20 AM by Chen Yu - MSFT
Dec 21, 2012 03:58 PM|LINK
Dumb question I know, but the template referred to in online resources on SimpleMembership talk about an "Internet application" template, not "Web application".
Can I confirm that the authentication system you see in File>New Project>C#>MVC 4 Web application is indeed SimpleMembership that everyone seems to be talking of as the one to use?
Dec 21, 2012 06:29 PM|LINK
Yes, the new MVC 4 internet template uses SimpleMembership.
File -> New -> Project -> MVC 4 -> Internet Application
Dec 21, 2012 07:11 PM|LINK
Apologies for not being clear but I do not see "Internet Application" I only see "Web Application" and I wanted to check the two templates were the same thing? I haven't seen the work "SimpleMembership" written any where within the code for this template
hence why I wanted to double check.
Dec 21, 2012 07:39 PM|LINK
Huh, I'm not sure why you're seeing that either. In any event, if you see an AccountController and it has this:
public class AccountController : Controller
Then it's using simple membership.
Dec 21, 2012 08:14 PM|LINK
Ok I'm glad I was pedantic about this as it looks like I do not have the right template. Inserting [InitializeSimpleMembership] gave a missing reference error.
I'm using Visual Studio 2012 Express for Web. Only downloaded it all 2 weeks ago. Will check online to see if I've missed something.
Dec 27, 2012 02:20 AM|LINK
You could get more information about SimpleMembership in below articles, it may help you to learn more about this issue.