Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • 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
 
brgdotnetcontractorAuthor 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
 
brgdotnetcontractorAuthor Commented:
I looked through the code in both of those projects. Nothing on forms authentication> Maybe someone else has some recommendations.
0
 
brgdotnetcontractorAuthor Commented:
No good example of forms authentication. Thanks for trying though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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