Gets or sets the name of the application pool that the application is assigned to.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
Each site can have a default application pool configured. If an application pool is not explicitly set for the application, the Site.ApplicationDefaults property to view the default settings for a site.property returns the default application pool name configured for the site. Use the
The following example reads the configuration settings for an existing Application. The code displays the value returned from the property for the applications configured under the "Default Web Site".