Browse by Tags
All Tags »
General Software Development (
RSS)
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the ChangePassword method. I welcome any suggestions for improvement. public override bool ChangePassword(string username, string oldPassword, string newPassword...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the GetUser methods. I welcome any suggestions for improvement. public override MembershipUser GetUser(object providerUserKey, bool userIsOnline) { using (var...
When receiving 404 page not found errors on your web site, and you wish to direct users back to your home page, you need to setup two things in your web.config to handle all instances. If you use IIS7 and go to the Error Pages section and setup the 404...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the CreateUser method. I welcome any suggestions for improvement. public override MembershipUser CreateUser(string username, string password, string email,...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the DeleteUser method. I welcome any suggestions for improvement. public override bool DeleteUser(string username, bool deleteAllRelatedData) { // deleteAllRelatedData...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the UsernameExists & DuplicateEmail Helper methods. I welcome any suggestions for improvement. // helper method public MembershipCreateStatus UsernameExists...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the GetMembershipUser Helper method. I welcome any suggestions for improvement. Since we are working with a UserProfile Entity and the Membership Provider overridable...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the HashPassword method. I welcome any suggestions for improvement. // helper method private byte[] HashPassword(string password) { // NKT: This will only work...
From my C# MVC3 Razor Custom Membership Provider article and source code, here is the code for the ValidateUser method. I welcome any suggestions for improvement. public override bool ValidateUser(string username, string password) { // PasswordFormat...
This C# project demonstrates how to create an MVC3 Razor Entity Framework & LINQ Custom Membership Provider with Custom Role Provider. Perhaps you are working with a legacy database or you prefer working with a database that uses numeric identity...
More Posts
Next page »