Browse by Tags
All Tags »
Custom MembershipProvider (
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...
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...
Here is a great link to .NET Framework 4 Custom ODBC Membership Provider Implementation and Sample Membership Provider Implementation . Source code is in both C# and VB.NET. May your dreams be in ASP.NET! Nannette Thacker
More Posts
Next page »