dotnet / dotnet/AspNetCore.Docs

Document disableRotatationOnConfig

Open
#25,978 6 comments 0 reactions 0 assignees View on GitHub
doc-idea Pri1 Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

The new ANCM `disableRotatationOnConfig` handler setting supports [blue green deployment](https://www.redhat.com/en/topics/devops/what-is-blue-green-deployment).

This is actually a setting intended for blue/green scenarios where they don't want a change to global config to tear down all sites. When this flag is true, this means only changes relevant to the site itself will cause an application recycle, i.e. web.config changes, or something relevant to the site's path from IIS's perspective. But a general change to applicationHost.config would not cause an app recycle when this flag is true.

This is analogous to [https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.administration.applicationpoolrecycling.disallowrotationonconfigchange](https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.administration.applicationpoolrecycling.disallowrotationonconfigchange?view=iis-dotnet)

* [PR for `disableRotatationOnConfig`](https://github.com/dotnet/aspnetcore/pull/37474)
---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 5945c30c-0dfb-040e-8bdc-a6c1f06c9931
* Version Independent ID: f47ff3cc-cd78-d41c-af1c-ef1e752cae88
* Content: [web.config file](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-6.0)
* Content Source: [aspnetcore/host-and-deploy/iis/web-config.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/web-config.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-hostdeploy**
* GitHub Login: @Rick-Anderson
* Microsoft Alias: **riande**

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.