dotnet / dotnet/AspNetCore.Docs

Missing cleanShadowCopyDirectory setting

Open
#31,150 1 comment 2 reactions 0 assignees View on GitHub
doc-enhancement Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

### Description

The `cleanShadowCopyDirectory` setting isn't mentioned in this article but is documented in [pull request 28357 of ASP.NET Core](https://github.com/dotnet/aspnetcore/pull/28357).

At this stage I'm unsure of the performance implications of this setting but it is critical to avoid an exception while a folder is deleted from a published site:
https://github.com/dotnet/aspnetcore/issues/52433
https://github.com/dotnet/aspnetcore/issues/48233

Perhaps also add a warning to about shadow copies causing this exception when `cleanShadowCopyDirectory` is set to `false `(Default).

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/advanced?view=aspnetcore-7.0#shadow-copy

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/advanced.md

### Document ID

79d553f1-9112-b61a-0ad0-dfbb11e5071a

### Article author

@Rick-Anderson

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.