Managed Web Hosting Namespace API

This section provides the details of the application programming interface (API) for the Managed Web Hosting namespace included with the Microsoft Provisioning System (MPS) in the . It describes the methods of this namespace along with input parameters and return values. In addition, example Extensible Markup Language (XML) requests are provided along with a typical XML response that the provisioning system returns after a request is submitted to MPS and tasks are completed.

Developers can use this API document as a reference when creating XML requests that initiate the provisioning of hosted Web services.

Overview

The Managed Web Hosting namespace is a new namespace that provides a select set of MPF methods for the provisioning of customer Web sites using MPS, in both shared and dedicated scenarios. This namespace enhances the low-level Internet Information Services (IIS) provider by integrating several aspects of hosted Web site provisioning, which includes:

  • File directories for Web content.

  • File directories for log files.

  • File Transfer Protocol (FTP) virtual directory for content management and access to log files.

  • Microsoft FrontPage extensions.

  • Anonymous user creation.

  • Application pool creation (IIS 6.0).

  • File and directory permissions.

The Managed Web Hosting namespace is designed to provide business logic for the creation of Web sites, directories, FTP virtual directories, and the application of permissions. However, this namespace does not implement any plans or resource management logic because these are provided by other namespaces. This facilitates scenarios where built-in plans and resource management are not needed by the service provider.

Public Method Description

Managed Web Hosting::CreateCustomerWebSite

Creates and secures a Web site along with associated file directories and an FTP virtual directory for a specified customer.

Managed Web Hosting::DeleteCustomerWebSite

Deletes a specified customer Web site and associated directories. Optionally removes the FTP virtual directory and archives content.

Managed Web Hosting::ModifyCustomerWebSite

Provides for modification of a limited set of Web site properties.

Managed Web Hosting::ControlCustomerWebSite

Starts, stops, or pauses a specified Web site.

Managed Web Hosting::CreateAppPool

Creates an application pool.

Managed Web Hosting::DeleteAppPool

Deletes an application pool.

Managed Web Hosting::GetCustomerWebSiteProperties

Queries for details about a specified customer Web site.

Managed Web Hosting::QueryWebSitesByCustomer

Returns a listing of Web sites provisioned for a Customer organizational unit.

Managed Web Hosting::ConfigureWebServerForDelegation

Allows configuration of a specified Web server for delegated administration.

Managed Web Hosting::DeconfigureWebServerForDelegation

Allows configuration of a specified Web server for delegated administration.

Applies To

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0