|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- |
3 | 3 | For more information on how to configure your ASP.NET application, please visit |
4 | 4 | https://go.microsoft.com/fwlink/?LinkId=169433 |
5 | 5 | --> |
6 | 6 | <configuration> |
7 | 7 | <configSections> |
8 | | - <section name="configBuilders" type="System.Configuration.ConfigurationBuildersSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" restartOnExternalChanges="false" requirePermission="false"/> |
| 8 | + <section name="configBuilders" type="System.Configuration.ConfigurationBuildersSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" restartOnExternalChanges="false" requirePermission="false" /> |
9 | 9 | </configSections> |
10 | 10 |
|
11 | 11 | <configBuilders> |
12 | 12 | <builders> |
13 | | - <add name="Environment" type="Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Environment, Version=1.0.0.0, Culture=neutral"/> |
| 13 | + <add name="Environment" type="Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Environment, Version=1.0.0.0, Culture=neutral" /> |
14 | 14 | <!-- <add name="Environment" mode="Expand" type="Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Environment, Version=1.0.0.0, Culture=neutral"/> --> |
15 | | - <add name="Secrets" userSecretsFile="~/App_Data/secrets.xml" mode="Greedy" type="Microsoft.Configuration.ConfigurationBuilders.UserSecretsConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.UserSecrets, Version=1.0.0.0, Culture=neutral"/> |
16 | | - <add name="SimpleJson" jsonFile="~/App_Data/settings.json" ignoreMissingFile="true" type="Microsoft.Configuration.ConfigurationBuilders.SimpleJsonConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Json, Version=1.0.0.0, Culture=neutral"/> |
| 15 | + <add name="Secrets" userSecretsFile="~/App_Data/secrets.xml" mode="Greedy" type="Microsoft.Configuration.ConfigurationBuilders.UserSecretsConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.UserSecrets, Version=1.0.0.0, Culture=neutral" /> |
| 16 | + <add name="SimpleJson" jsonFile="~/App_Data/settings.json" ignoreMissingFile="true" type="Microsoft.Configuration.ConfigurationBuilders.SimpleJsonConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Json, Version=1.0.0.0, Culture=neutral" /> |
17 | 17 | </builders> |
18 | 18 | </configBuilders> |
19 | 19 |
|
20 | 20 | <appSettings configBuilders="Environment,SimpleJson,Secrets"> |
21 | | - <add key="WINDIR" value="Will be replaced by 'Environment' in Strict and Greedy modes."/> |
22 | | - <add key="SYSTEMDRIVE" value="Will initally be replaced by 'Environment' in Strict and Greedy modes... but then superceded by 'Secrets' in the same modes."/> |
23 | | - <add key="Value_Replaced_By_Environment_In_Expand_Mode" value="${WINDIR}"/> |
24 | | - <add key="ARCHITECTURE" value="Will be replaced by 'Environment' in Strict/Greedy modes IFF prefix='PROCESSOR_' AND stripPrefix='true'"/> |
25 | | - <add key="PROCESSOR_ARCHITECTURE" value="Will be left untouched by 'Environment' in Strict/Greedy modes if IFF prefix='PROCESSOR_' AND stripPrefix='true'"/> |
26 | | - <add key="jsonSetting1" value="Will be replaced by 'SimpleJson' in Strict and Greedy modes."/> |
27 | | - <add key="Value_Replaced_By_SimpleJson_In_Expand_Mode" value="${jsonSetting1}"/> |
28 | | - <add key="appSettings:jsonSubSetting2" value="Will be replaced by 'SimpleJson' in Strict and Greedy modes."/> |
29 | | - <add key="jsonSubSetting2" value="Will be replaced by 'SimpleJson' in 'Sectional' jsonMode."/> |
30 | | - <add key="jsonSub:subSetting3" value="Will be replaced by 'SimpleJson' in 'Sectional' jsonMode."/> |
31 | | - <add key="jsonConnectionString1" value="WILL be replaced by 'SimpleJson' in 'Flat' jsonMode."/> |
32 | | - <add key="jsonConnectionString2" value="WILL NOT be replaced by 'SimpleJson' in 'Sectional' jsonMode."/> |
33 | | - <add key="jsonCustomSetting1" value="Will be replaced by 'SimpleJson' with prefix='customSettings:' and stripPrefix='true'."/> |
| 21 | + <add key="WINDIR" value="Will be replaced by 'Environment' in Strict and Greedy modes." /> |
| 22 | + <add key="SYSTEMDRIVE" value="Will initally be replaced by 'Environment' in Strict and Greedy modes... but then superceded by 'Secrets' in the same modes." /> |
| 23 | + <add key="Value_Replaced_By_Environment_In_Expand_Mode" value="${WINDIR}" /> |
| 24 | + <add key="ARCHITECTURE" value="Will be replaced by 'Environment' in Strict/Greedy modes IFF prefix='PROCESSOR_' AND stripPrefix='true'" /> |
| 25 | + <add key="PROCESSOR_ARCHITECTURE" value="Will be left untouched by 'Environment' in Strict/Greedy modes if IFF prefix='PROCESSOR_' AND stripPrefix='true'" /> |
| 26 | + <add key="jsonSetting1" value="Will be replaced by 'SimpleJson' in Strict and Greedy modes." /> |
| 27 | + <add key="Value_Replaced_By_SimpleJson_In_Expand_Mode" value="${jsonSetting1}" /> |
| 28 | + <add key="appSettings:jsonSubSetting2" value="Will be replaced by 'SimpleJson' in Strict and Greedy modes." /> |
| 29 | + <add key="jsonSubSetting2" value="Will be replaced by 'SimpleJson' in 'Sectional' jsonMode." /> |
| 30 | + <add key="jsonSub:subSetting3" value="Will be replaced by 'SimpleJson' in 'Sectional' jsonMode." /> |
| 31 | + <add key="jsonConnectionString1" value="WILL be replaced by 'SimpleJson' in 'Flat' jsonMode." /> |
| 32 | + <add key="jsonConnectionString2" value="WILL NOT be replaced by 'SimpleJson' in 'Sectional' jsonMode." /> |
| 33 | + <add key="jsonCustomSetting1" value="Will be replaced by 'SimpleJson' with prefix='customSettings:' and stripPrefix='true'." /> |
34 | 34 | </appSettings> |
35 | 35 |
|
36 | 36 | <connectionStrings configBuilders="SimpleJson"> |
37 | | - <add name="jsonConnectionString1" connectionString="Will be replaced by 'SimpleJson' in 'Flat' AND 'Sectional' jsonModes, but with different values."/> |
38 | | - <add name="connectionStrings:jsonConnectionString1" connectionString="Will only be replaced by 'SimpleJson' in 'Flat' jsonMode."/> |
39 | | - <add name="jsonConnectionString2" connectionString="Will only be replaced by 'SimpleJson' in 'Sectional' jsonMode."/> |
40 | | - <add name="customSettings:jsonConnectionString2" connectionString="Will be replaced by 'SimpleJson' in 'Flat' jsonMode."/> |
| 37 | + <add name="jsonConnectionString1" connectionString="Will be replaced by 'SimpleJson' in 'Flat' AND 'Sectional' jsonModes, but with different values." /> |
| 38 | + <add name="connectionStrings:jsonConnectionString1" connectionString="Will only be replaced by 'SimpleJson' in 'Flat' jsonMode." /> |
| 39 | + <add name="jsonConnectionString2" connectionString="Will only be replaced by 'SimpleJson' in 'Sectional' jsonMode." /> |
| 40 | + <add name="customSettings:jsonConnectionString2" connectionString="Will be replaced by 'SimpleJson' in 'Flat' jsonMode." /> |
41 | 41 | </connectionStrings> |
42 | 42 |
|
43 | 43 | <system.web> |
44 | | - <compilation debug="true" targetFramework="4.7.1"/> |
45 | | - <httpRuntime targetFramework="4.7.1"/> |
| 44 | + <compilation debug="true" targetFramework="4.7.1" /> |
| 45 | + <httpRuntime targetFramework="4.7.1" /> |
46 | 46 | </system.web> |
47 | 47 |
|
48 | | - <system.codedom> |
49 | | - <compilers> |
50 | | - <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/> |
51 | | - <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/> |
52 | | - </compilers> |
53 | | - </system.codedom> |
54 | | - |
55 | 48 | <runtime> |
56 | 49 | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
57 | 50 | <dependentAssembly> |
58 | | - <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/> |
59 | | - <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/> |
| 51 | + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral" /> |
| 52 | + <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" /> |
| 53 | + </dependentAssembly> |
| 54 | + <dependentAssembly> |
| 55 | + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> |
| 56 | + <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" /> |
| 57 | + </dependentAssembly> |
| 58 | + <dependentAssembly> |
| 59 | + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| 60 | + <bindingRedirect oldVersion="0.0.0.0-3.19.2.6005" newVersion="3.19.2.6005" /> |
| 61 | + </dependentAssembly> |
| 62 | + <dependentAssembly> |
| 63 | + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory.Platform" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| 64 | + <bindingRedirect oldVersion="0.0.0.0-3.19.2.6005" newVersion="3.19.2.6005" /> |
60 | 65 | </dependentAssembly> |
61 | 66 | </assemblyBinding> |
62 | 67 | </runtime> |
| 68 | + <system.codedom> |
| 69 | + <compilers> |
| 70 | + <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" /> |
| 71 | + <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" /> |
| 72 | + </compilers> |
| 73 | + </system.codedom> |
63 | 74 | </configuration> |
0 commit comments