7 out of 12 rated this helpful - Rate this topic

Microsoft.Web.Administration Namespace

IIS 7.0

The Microsoft.Web.Administration namespace contains classes that a developer can use to administer IIS Manager. With the classes in this namespace, an administrator can read and write configuration information to ApplicationHost.config, Web.config, and Administration.config files.

The classes in the Microsoft.Web.Administration namespace contain a series of convenient top-level objects that allow the developer to perform administrative tasks. The different logical objects available include sites, applications, application pools, application domains, virtual directories, and worker processes. You can use the API to obtain and work with the configuration and state of these objects and to perform such actions as creating a site, starting or stopping a site, deleting an application pool, recycling an application pool, and even unloading application domains.

  Class Description
Public class Application Defines properties common to all applications in Internet Information Services (IIS).
Public class ApplicationCollection Represents a collection of Application objects for a Site object.
Public class ApplicationDefaults Defines the default values for applications that are created for a Web site.
Public class ApplicationDomain Represents the isolated environment for managed applications in a worker process.
Public class ApplicationDomainCollection Represents a collection of ApplicationDomain objects.
Public class ApplicationPool Provides methods and properties to configure and manage IIS 7 application pools.
Public class ApplicationPoolCollection Represents a collection of ApplicationPool objects.
Public class ApplicationPoolCpu Configures default values for CPU usage parameters and CPU actions that all application pools on a server use.
Public class ApplicationPoolDefaults Configures default values for all application pools on a Web server.
Public class ApplicationPoolFailure Defines the actions to take when an application pool fails.
Public class ApplicationPoolPeriodicRestart Specifies conditions that govern application pool recycling.
Public class ApplicationPoolProcessModel Represents the process model settings for an application pool.
Public class ApplicationPoolRecycling Configures recycling settings for an application pool.
Public class Binding Represents the binding instructions for a Web site.
Public class BindingCollection Represents a collection of bindings.
Public class Configuration Represents a configuration file for a particular computer, application, or resource.
Public class ConfigurationAttribute Represents a single property in a configuration element.
Public class ConfigurationAttributeCollection Represents a collection of related configuration attributes.
Public class ConfigurationAttributeSchema Provides access to the attributes that define the schema for a configuration attribute.
Public class ConfigurationAttributeSchemaCollection Represents a collection of ConfigurationAttributeSchema objects.
Public class ConfigurationChildElementCollection Represents a collection of related child configuration elements.
Public class ConfigurationCollectionSchema Represents the schema for a collection in the IIS 7 configuration system.
Public class ConfigurationElement Represents an element in a configuration file.
Public class ConfigurationElementCollection Represents a collection of configuration elements.
Public class ConfigurationElementCollectionBase<(Of <(<'T>)>)> Provides the abstract base class for a strongly typed collection of configuration elements.
Public class ConfigurationElementSchema Represents the schema for a configuration element.
Public class ConfigurationElementSchemaCollection Represents a collection of ConfigurationElementSchema objects.
Public class ConfigurationEnumValue Defines an attribute in the IIS 7 configuration system that validates against a list of accepted schema-defined values. 
Public class ConfigurationEnumValueCollection Represents a collection of configuration enumeration values.
Public class ConfigurationMethod Represents a method that is implemented as an IIS configuration extension.
Public class ConfigurationMethodCollection Represents a collection of configuration methods.
Public class ConfigurationMethodInstance Represents an instance of a ConfigurationMethod.
Public class ConfigurationMethodSchema Provides access to the method that defines the schema for a configuration method.
Public class ConfigurationSection Represents a section of configuration data in the IIS 7 configuration system. 
Public class Request Represents a single request to an IIS 7 server.
Public class RequestCollection Represents a collection of active requests in a worker process.
Public class Schedule Defines the schedule for a single event.
Public class ScheduleCollection Represents a collection of Schedule objects.
Public class SectionDefinition Defines a configuration section.
Public class SectionDefinitionCollection Represents a collection of related SectionDefinition objects.
Public class SectionGroup Provides access to a group of related configuration section groups or configuration section definitions.
Public class SectionGroupCollection Represents a collection of related SectionGroup objects.
Public class ServerManager Provides read and write access to the IIS 7 configuration system.
Public class ServerManagerException The exception that is thrown when the server manager is unable to perform a requested operation.
Public class Site Defines a properties and methods common to all Web sites configured in IIS.
Public class SiteCollection Represents a collection of Site objects.
Public class SiteDefaults Contains the default values for IIS 7 Web site properties. 
Public class SiteLimits Exposes connection-related limits for a Web site.
Public class SiteLogFile Configures logging for a Web site.
Public class SiteTraceFailedRequestsLogging Configures log settings for failed requests.
Public class VirtualDirectory Defines methods and properties that are common to all virtual directories in IIS 7.
Public class VirtualDirectoryCollection Represents a collection of virtual directories for a particular application or site context.
Public class VirtualDirectoryDefaults Defines the default values for virtual directories that are created for an application or Web site.
Public class WebConfigurationManager Provides access to configuration files for Web applications.
Public class WebConfigurationMap Specifies the paths of the Machine.config and Web.config files.
Public class WorkerProcess Defines methods and properties that are common to all worker processes in IIS 7.
Public class WorkerProcessCollection Represents a collection of WorkerProcess objects.
  Enumeration Description
Public enumeration AuthenticationLogonMethod Specifies the kind of authentication that you can use to establish a logon session for a secured virtual directory.
Public enumeration LoadBalancerCapabilities Specifies the response to the client when an XML Web service is unavailable.
Public enumeration LogExtFileFlags Contains flags that determine which categories of information are written to the log file or data source during logging events.
Public enumeration LogFormat Specifies the formatting to use for recording the log file.
Public enumeration LoggingRolloverPeriod Determines when a new IIS log file is created.
Public enumeration ManagedPipelineMode Determines how the server processes requests for managed code.
Public enumeration ObjectState Specifies the running state of an IIS object.
Public enumeration OverrideMode Specifies the override behavior of a configuration section.
Public enumeration PipelineState Specifies the current execution status of the request process.
Public enumeration ProcessModelIdentityType Specifies the process model identity of an application pool.
Public enumeration ProcessorAction Specifies the action that IIS takes when an application pool exceeds the CPU limit specified by the ApplicationPoolCpu..::..Limit property.
Public enumeration RecyclingLogEventOnRecycle Defines the reasons for application pool recycling that will cause IIS to log an event.
Public enumeration WorkerProcessState Indicates the running state for a worker process.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ