Improve company productivity with a Business Account.Sign Up

  • 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.
  • 3
1 Solution
Amandeep Singh BhullarCommented:

Check out the links

and see if u can get something out of it usefull
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.
brgdotnetcontractorAuthor Commented:
I looked through the code in both of those projects. Nothing on forms authentication> Maybe someone else has some recommendations.
brgdotnetcontractorAuthor Commented:
No good example of forms authentication. Thanks for trying though.
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