|
Open your application in Visual Studio. The below screen will
be displayed. |
|
|
|
Screen Display |
|
|
|
|
|
|
|
Expand the project node in the solution
explorer. |
|
Right click on the project node and select the
Add Reference option (A) from the
popup menu. |
|
The Add Reference screen will be displayed as
shown below. |
|
|
|
Screen Display |
|
|
|
|
|
|
|
From the tab select the 3 assemblies
named
Novalys.VisualGuard.Security,
Novalys.VisualGuard.Security. File and
Novalys.VisualGuard.Security.WebForm. |
|
|
The third assembly depends on the type
of the repository. You can choose between
Novalys.VisualGuard.Security.File or
Novalys.VisualGuard.Security.SQLServer or
Novalys.VisualGuard.Security.Oracle. |
|
|
|
|
|
From the tab select the 3 assemblies named
Novalys.VisualGuard.Security,
Novalys.VisualGuard.Security.WebFrom,
Novalys.VisualGuard.Security.File. |
|
|
|
You can choose
between Novalys.VisualGuard.Security.File or
Novalys.VisualGuard.Security.SQLServer or
Novalys.VisualGuard.Security.Oracle. |
|
|
|
Click to continue or click to cancel the selection. |
|
On clicking the assemblies will be added. |
|
After the assemblies are added,
double-click on the web.config file to open from
the solution explorer (B). |
|
|
|
Screen Display |
|
|
|
|
|
|
|
Enter the following code above the web.config
and add the following code in the
<HttpModules> node. |
|
|
|
|
|
|
|
Enter the following code, for
authenticating a user. This code is to be entered in the click
event of the OK of your application's login
form. |
|
|
|
|
|
|
|
|
|
|
|
Once you’ve added the above code, save your login form. |
|
|