Posts Tagged ‘ASP.NET’

ASP.NET Membership Provider: Changing user password without knowing the old one

If you want to change a membership user’s password with the MembershipUser.ChangePassword method you need to know the user’s old password. The following extension method defines a SetNewPassword method that enables you to reset the password without knowing the old one: public static class MembershipUserExtension {   /// <summary> /// Set a new password for […]

Read more…

ASP.NET MVC: How to use Apache’s log4net logging framework

This blog post will give an short overview of the steps needed to integrate the Apache log4net logging framework to an ASP.NET MVC 3 Web application. For simplicity, we are starting from a new ASP.NET MVC 3 Web application and choose the “Internet Application” template to have some default controllers and views. To include the […]

Read more…