Browse by Tags
All Tags »
Entity Framework (
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...
MSDN has provided an invaluable resource to 101 Linq Samples in C# or 101 Linq Samples in VB.NET . " Learn how to use LINQ in your applications with these code samples, covering the entire range of LINQ functionality and demonstrating LINQ with SQL, DataSets...
More Posts
Next page »