asp.net 3.5

How to find the correct version of Aspnet_regsql.exe

You can find Aspnet_regsql.exe in the Microsoft.NET Framework directory. If the computer is running multiple .NET Framework versions side-by-side, multiple versions of the tool might be installed. The next table lists the locations where the tool is installed for different versions of the .NET Framework.

Version of .NET Framework
Location of Aspnet_regsql.exe file

.NET Framework version 2.0/3.0/3.5 (32-bit systems)
%windir%\Microsoft.NET\Framework\v2.0.50727

.NET Framework …

Learn more

How to create a data store as a step of Membership API in ASP.NET

When you are planning to implement membership API in production environment, you should create membership database manually. ASP.NET ships with SQL scripts that allow you to manually create the necessary database and database tables required for storing user and role information used by the membership API. ASP.NET also ships with a tool that creates these database …

Learn more

How to configure Forms Authentication as a step of Membership API in ASP.NET

The membership API is based on top of forms authentication. It provides you with an out-of-the-box infrastructure for managing and authenticating users. For that reason, you have to configure your application for forms authentication as a first step. Usually, the the root directory of the web application grants access to anonymous users, while restricted resources are …

Learn more

How to configure Membership API in ASP.NET

If you are planning to use the ASP.NET membership API and the security controls of APS.NET, you have to complete the next steps:

1. Configure forms authentication in your web.config file, and deny access to anonymous users.

2. Set up the membership …

Learn more

ASP.NET Membership API classes in ASP.NET

The membership API is designed to work completely independently from its underlying data store.You can work with the controls provided by ASP.NET as well as the Membership class. The Membership class provides you with a set of static methods and static properties for programmatically accessing users and roles of the store. These methods work with a …

Learn more

How does ASP.NET Membership API work in ASP.NET

The membership API is a framework based on top of the existing forms authentication infrastructure and by using it you don’t need to implement login pages or credential storage. The membership API framework provides you with a complete set of user management functions:

– You can create and delete users either programmatically or …

Learn more

How to use Persistent Cookies with Forms Authentication in ASP.NET in VB.NET

Usually you will use in your projects nonpersistent authentication cookie to maintain the authentication ticket between requests. This means that if the user closes the browser, the cookie is immediately removed. The benefits are the following:

– This is a sensible step that ensures security. It’s particularly important with shared computers to prevent …

Learn more