ASP.NET Security Tutorials

How to use ASP.NET Membership CreateUserWizard control events in C#

You can use the approach explained in the article How to use ASP.NET Membership CreateUserWizard control to create additional wizard steps. In this case you need to handle events and perform some actions within event procedures. For example if you are planning to collect additional information from the user with the wizard, you have to store …

Learn more

How to use ASP.NET Membership CreateUserWizard control

The CreateUserWizard control enables you to create registration pages very quickly. This control is a wizard control with two default steps:

1. For querying general user information.

2. For displaying a confirmation message.

As the CreateUserWizard inherits from the base Wizard control, and you add as many wizard …

Learn more

How to use ASP.NET Membership ChangePassword control

You can use this control when you want to allow the user to change his/her password. The control simply queries the user name as well as the old password from the user. Then it requires the user to enter the new password and confirm the new password. You can use the control on a secured page …

Learn more

How to customize ASP.NET membership PasswordRecovery control in C#

You can customize the PasswordRecovery control completely, by using templates for every view:

–  The UserNameTemplate contains all the controls displayed for the first step of the password recovery process when the user is required to enter the user name.

–  The control of the password question step which is placed in …

Learn more

How to use ASP.NET membership PasswordRecovery control

You, as software engineer, can use the PasswordRecovery control to solve the issues with all users who have forgotten their passwords.  This control queries the user name from the user and afterward automatically displays the password question stored for the user in the credential store. If the user provides the correct for the password question, the password is …

Learn more

How to use ASP.NET membership LoginView control

This simple and extremely powerful control allows you to display:

–  a different set of controls for anonymous and authenticated users.

–  different content based on which roles the currently logged-in user is assigned to

The LoginView control is a template control with different types of templates:

–  one for anonymous users

–  one for …

Learn more

How to use ASP.NET membership LoginStatus control

This simple control displays:

–  a login link if the user is not authenticated which automatically redirects to the configured login page

–  a logout link if the user is authenticated which automatically calls the method FormsAuthentication.SignOut

for logging off the user.

 

You can customize the LoginStatus control easily, because …

Learn more

How to program the ASP.NET Membership Login control in VB.NET

The ASP.NET membership Login control supports several events and properties and you can use them to customize its behavior. The Login control supports the next events:

Event

Description

LoggingIn
Raised before the user gets authenticated by the control.

Authenticate

Raised to authenticate the user. If you handle this event, you have to authenticate the user on your own, …

Learn more

How to program the ASP.NET Membership Login control in C#

The ASP.NET membership Login control supports several events and properties and you can use them to customize its behavior. The Login control supports the next events:

Event

Description

LoggingIn
Raised before the user gets authenticated by the control.

Authenticate

Raised to authenticate the user. If you handle this event, you have to authenticate the user on …

Learn more