Summary
Base class for all IIS-related task.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .Web - Base Types
-
- Task
- Derived Types
graph BT
Type-->Base0["Task"]
Type["WebBase"]
class Type type-node
Derived0["CreateVirtualDirectory"]-->Type
click Derived0 "/api/NAnt.Contrib.Tasks.Web/CreateVirtualDirectory"
Derived1["VirtualDirectoryInfo"]-->Type
click Derived1 "/api/NAnt.Contrib.Tasks.Web/VirtualDirectoryInfo"
Derived2["DeleteVirtualDirectory"]-->Type
click Derived2 "/api/NAnt.Contrib.Tasks.Web/DeleteVirtualDirectory"
Syntax
public abstract class WebBase : Task
Remarks
Basically this class hold the logic to determine the IIS version as well
as the IIS server/port determination/checking logic.
Constructors
| Name | Summary |
|---|---|
| WebBase |
Properties
| Name | Value | Summary |
|---|---|---|
| ApplicationPath | string | |
| Server | string |
The IIS server, which can be specified using the format
[host]:[port].
The default is localhost:80.
|
| ServerPath | string | |
| VdirPath | string | |
| Version | WebBase |
Gets the version of IIS corresponding with the current OS.
|
| VirtualDirectory | string |
Name of the IIS virtual directory.
|
| Website | string |
The website on the IIS server.
|
Methods
| Name | Value | Summary |
|---|---|---|
| CheckIISSettings |
void | |
| DirectoryEntryExists |
bool |
