Skip to content

Commit 6af9198

Browse files
Merge pull request #31 from aspnet/env-note
Update Readme
2 parents 37b8151 + df77ed0 commit 6af9198

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ and the first capture must be the token name to look up in the config source.
6767
type="Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Environment" />
6868
```
6969
This is the simplest of the config builders. It draws its values from Environment, and it does not have any additional configuration options.
70+
* __NOTE:__ In a Windows container environment, variables set at run time are only injected into the EntryPoint process environment.
71+
Applications that run as a service or a non-EntryPoint process will not pick up these variables unless they are otherwise injected through
72+
some mechanism in the container. For [IIS](https://github.com/Microsoft/iis-docker/pull/41)/[ASP.Net](https://github.com/Microsoft/aspnet-docker)-based
73+
containers, the current version of [ServiceMonitor.exe](https://github.com/Microsoft/iis-docker/pull/41) handles this in the *DefaultAppPool*
74+
only. Other Windows-based container variants may need to develop their own injection mechanism for non-EntryPoint processes.
7075

7176
### UserSecretsConfigBuilder
7277
```xml

0 commit comments

Comments
 (0)