Issue
I have a simple question that is hard to find any documentation on. All examples I find for deploying Web Deploy packages include the following arguments: -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension
but there is no explanation to be found what these do or why this is being done. I'm having issues with files in use even though I'm using the -enableRule:AppOffline
rule so I'm wondering because -disableLink:AppPoolExtension
is not there it's failing to stop the app pool properly?
Solution
The –disableLink arguments indicate that you don't want to replicate application pools, virtual directory configuration, or Secure Sockets Layer (SSL) certificates on the destination server.
AppPool:
Includes the application pool associated with the specified Web application.
AppPoolExtension:
Includes the application pool associated with the specified Web application.
CertificateExtension:
When an SSL certificate hash is detected in the IIS configuration, includes the associated certificate. Enabling this link extension will include all certificates associated with your Web application and the certificate path information in each certificate. These certificates can be HTTPS certificates from a local certification authority or signed certificates from external certification authorities like Verisign.
ContentExtension:
Includes the contents of a virtual directory in an operation whenever a virtualDirectory configuration element or VirtualDir metabase path is detected.
FrameworkConfigExtension:
Includes the configuration in the Machine.config or root Web.config files if location tags occur in those configuration files that are specific to the Web site. The Machine.config and root Web.config files that correspond to the Framework version of the Web application will be included.
and by using the -enableRule:AppOffline Web Deploy takes an application offline by using the "AppOffline" rule.
you could refer this below link for more detail:
Taking an Application Offline before Publishing
Answered By - Jalpa Panchal Answer Checked By - Marilyn (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.