This is the source code that was produced in the six-part video tutorial entitled ASP.NET MVC 3 Razor Login Example.

This source code (and the video tutorials), demonstrate how to create a Login page using ASP.NET MVC 3 Razor (C#).

More specifically, this web app example will force a user to enter a username and password in order to gain access to specific web pages - (The username and password is authenticated against a SqlExpress database) - Touches on how to create a simple login form which has client-side and server-side validation using Razor's javascript packs as well as its unobtrusive javascript pack.

Note: This code has been posted here to accommodate a handful of requests that I have received by users that have watched the video tutorial(s) noted above. I never intended the videos to be used by anyone else other than myself - the vids were made in the spirit of "note-to-self" as I was exploring MVC 3 Razor. However, other people have found the videos useful (apparently) so I certainly am happy to help others in any way that I can.

Last edited Feb 27, 2012 at 4:58 PM by jalbao, version 4