| Web Site Configuration Utility |
Class WebConfiguration
|
This class provides the ability to create a virtual directory for a Web site
assign directory permissions for users on a path, update a VS.NET solution
to reflect a new/different virtual path, and configure MSDE Authentication.
| Member | Description |
|---|---|
ErrorMessage |
An error message that is set when an error occurs during one of the method calls. This property is set only if the result value from a method is negative. |
MSDELoginName |
A login name for MSDE. If the name exists the password is updated, otherwise a new login is created. |
MSDELoginOldPassword |
Used for changing passwords - this is the existing password that is required in order to change the account's password to a new value. |
MSDELoginPassword |
The new password to be set for an MSDE login. |
MSDEServerName |
The name of an MSDE/SQL Server that is to be administered. This value defaults to (local). |
ShowDirectoryPermissionConfiguration |
Determines whether the DirectoryPermissions page is shown. |
ShowMSDEConfiguration |
Determines whether the MSDE configuration page is shown. |
ShowVisualStudioConfiguration |
Determines whether the VS.NET configuration page is shown. |
AddDefaultWebPermissions |
Adds default Web permissions to the WebConfiguration object. public Boolean AddDefaultWebPermissions() |
Configure |
The 'Just Do It' function that performs all tasks that are configured through the property interface of this class. public Boolean Configure() |
ConfigureMSDELogin |
public Boolean ConfigureMSDELogin() |
ConfigureVirtual |
Configures a single virtual based on the settings in the Virtual member. public Boolean ConfigureVirtual() |
ConfigureVisualStudioSolution |
Updates a Visual Studio Solution file with an updated path to the Web public Boolean ConfigureVisualStudioSolution() |
Load |
Creates an instance of this class by loading from a file name. public static WebConfiguration Load(String Filename) |
Save |
Saves the Configuration to a file in the local directory public Boolean Save(String Filename) |
SetDirectoryPermissions |
Creates all the file permissions. public Boolean SetDirectoryPermissions() |
SetError |
Error flag configuration utility public Void SetError(String ErrorMessage) |
ApplicationName |
The name of the Application - used for captions and dialog headers in the visual form |
DirectoryPermissions |
A list of directories and permissions to set on those directories. |
MSDELoginMode |
Login mode that determines whether Windows, Sql Server or Mixed mode is used. Used for the configuration of MSDE. |
ScriptMaps |
List of Scriptmaps that you might want to create for your application. By default these will map to the aspnet.dll version |
Virtual |
Virtual Directory Object to be created |
VisualStudioSolutionPath |
This is an optional path to the .SLN file for the Visual Studio |
VisualStudioWebProjectWebPath |
This is an optional Web based path to the .SLN file for the Visual Studio |
Namespace: Westwind.Tools.Web.Configuration
Inherits from:
System.Object