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?
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.
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.
PuzzledGeek
Member
1 Points
33 Posts
Is SimpleMembership in "ASP.NET MVC 4 web application" template?
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?
BrockAllen
All-Star
27434 Points
4891 Posts
MVP
Re: Is SimpleMembership in "ASP.NET MVC 4 web application" template?
Dec 21, 2012 06:29 PM|LINK
Yes, the new MVC 4 internet template uses SimpleMembership.
File -> New -> Project -> MVC 4 -> Internet Application
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
PuzzledGeek
Member
1 Points
33 Posts
Re: Is SimpleMembership in "ASP.NET MVC 4 web application" template?
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.
BrockAllen
All-Star
27434 Points
4891 Posts
MVP
Re: Is SimpleMembership in "ASP.NET MVC 4 web application" template?
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:
[InitializeSimpleMembership]
public class AccountController : Controller
Then it's using simple membership.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
PuzzledGeek
Member
1 Points
33 Posts
Re: Is SimpleMembership in "ASP.NET MVC 4 web application" template?
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.
Chen Yu - MS...
All-Star
21569 Points
2493 Posts
Microsoft
Re: Is SimpleMembership in "ASP.NET MVC 4 web application" template?
Dec 27, 2012 02:20 AM|LINK
Hi,
You could get more information about SimpleMembership in below articles, it may help you to learn more about this issue.
http://weblogs.asp.net/jgalloway/archive/2012/08/29/simplemembership-membership-providers-universal-providers-and-the-new-asp-net-4-5-web-forms-and-asp-net-mvc-4-templates.aspx
http://blogs.infosupport.com/mvc-4-security-options/
Thanks.
Feedback to us
Develop and promote your apps in Windows Store