• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 689
  • Last Modified:

Sample Code for MVC 4 forms authentication. Any recommendations

Hello. I would like to create a simple login/registration screen for my website using MVC 4, with forms authentication. Authenticating against Sql server.

Does anyone know of a sample project they can share with me, in order to get up and running quickly? I just need solid code that works.

If the sample code only authenticates against username and passwords stored in the web.config file, that is okay. As I can modify the code to authenticate against sql server.
0
brgdotnet
Asked:
brgdotnet
  • 3
1 Solution
 
Amandeep Singh BhullarCommented:
Hi,

Check out the links
http://code.msdn.microsoft.com/ASPNET-MVC-4-Sample-37924d68
http://www.asp.net/mvc/tutorials/mvc-4

and see if u can get something out of it usefull
0
 
brgdotnetAuthor Commented:
Hi Aman,
I went to the links, however none of these appears to implement forms authentication? I will download the source and take a look.
0
 
brgdotnetAuthor Commented:
I looked through the code in both of those projects. Nothing on forms authentication> Maybe someone else has some recommendations.
0
 
brgdotnetAuthor Commented:
No good example of forms authentication. Thanks for trying though.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now