IIS difference: Remove and Deploy -> Delete Site and Content

deploymentiissafe-remove

One can remove a site from IIS by the right mouse menu.
However this gives you two options:

  • "Remove"
  • "Deploy -> Delete Web Site and Content"

Image: http://s2.postimg.org/iz09pe2jd/remove.jpg

What is the difference?

Best Answer

Remove ==> just remove/delete the website and not the physical files associated with it.

"Deploy -> Delete Web Site and Content" ==> will remove/delete the website with the physical files associated with it.

See this post for more details.