What does Visual Studio Web Deploy "Mark as IIS Application for Purpose" Mean?

when I try to deploy to an IIS7 website using Web Deploy, one option is Mark as IIS application at destination.

What does it mean when it is on or off?

enter image description here

+4
source share
3 answers

Here is the relevant text from the Oded link ....

6.If you do not set IIS settings, select the Mark as IIS application at destination check box.

This option is not displayed if you are deploying IIS settings because the IIS application status for the web project is one of the configured IIS settings.

This check box is usually set when the "Enable all IIS settings configured in IIS Manager" checkbox is selected on the Package / Publish tab of the Project Properties page. There are very few scenarios in which you do not want to deploy a web project as an IIS application on the target web server. For example, suppose that the project you are deploying is not really a web application, but contains only the contents of a virtual directory, such as images, XML files, etc. In this case, you can clear this check box so that the deployed project is not configured as an IIS application.

+1
source

When you configure this option, your site becomes a virtual application, not a virtual directory.
For differences between the two, see: http://blogs.msdn.com/b/wenlong/archive/2006/11/22/virtual-application-vs-virtual-directory.aspx

+5
source

This causes the deployed project to be configured as the IIS application at the destination.

If you uncheck it, the project will not be configured as an IIS application.

See step 6 of Creating a Publish Profile in this MSDN article, in particular the last sentence.

+1
source

All Articles