Skip to content

Commit 5df3462

Browse files
committed
Update project configurations and add new dotnet theme for slides
1 parent 767b002 commit 5df3462

File tree

7 files changed

+529
-76
lines changed

7 files changed

+529
-76
lines changed

.devcontainer/slides/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"settings": {
2020
"markdown.marp.html": "all",
2121
"markdown.marp.themes": [
22-
"./slides/themes/custom-default.css"
22+
"./slides/themes/custom-default.css",
23+
"./slides/themes/dotnet.css"
2324
]
2425
},
2526
"extensions": [

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"cSpell.words": [
33
"HSTS"
44
],
5-
"dotnet.defaultSolution": "net-framework-example/NetFrameworkSample.sln"
5+
"dotnet.defaultSolution": "dotnet-configuration-in-depth.slnx",
6+
"markdown.marp.themes": [
7+
"./slides/themes/dotnet.css"
8+
],
9+
"dotnet.enableWorkspaceBasedDevelopment": true
610
}

Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
</PropertyGroup>
7+
</Project>

Directory.Packages.props

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,49 @@
44
</PropertyGroup>
55
<ItemGroup>
66
<!-- Aspire packages -->
7-
<PackageVersion Include="Aspire.Hosting.Redis" Version="13.1.0" />
8-
<PackageVersion Include="Aspire.Hosting.Testing" Version="13.1.0" />
9-
<PackageVersion Include="Aspire.StackExchange.Redis.OutputCaching" Version="13.1.0" />
10-
7+
<PackageVersion Include="Aspire.Hosting.Redis" Version="13.2.2" />
8+
<PackageVersion Include="Aspire.Hosting.Testing" Version="13.2.2" />
9+
<PackageVersion Include="Aspire.StackExchange.Redis.OutputCaching" Version="13.2.2" />
1110
<!-- Azure packages -->
12-
<PackageVersion Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.4.0" />
13-
<PackageVersion Include="Azure.Identity" Version="1.17.1" />
14-
<PackageVersion Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.23.0" />
15-
<PackageVersion Include="Microsoft.Azure.AppConfiguration.AspNetCore" Version="8.4.0" />
16-
<PackageVersion Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.4.0" />
11+
<PackageVersion Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.5.0" />
12+
<PackageVersion Include="Azure.Identity" Version="1.20.0" />
13+
<PackageVersion Include="Microsoft.ApplicationInsights.AspNetCore" Version="3.1.0" />
14+
<PackageVersion Include="Microsoft.Azure.AppConfiguration.AspNetCore" Version="8.5.0" />
15+
<PackageVersion Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.5.0" />
1716
<PackageVersion Include="Microsoft.FeatureManagement.AspNetCore" Version="4.4.0" />
18-
1917
<!-- Microsoft.Extensions packages -->
20-
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="10.0.2" />
21-
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.2" />
22-
<PackageVersion Include="Microsoft.Extensions.Configuration.CommandLine" Version="10.0.2" />
23-
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.2" />
24-
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="10.0.2" />
25-
<PackageVersion Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="10.0.2" />
26-
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="10.0.2" />
27-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.2" />
28-
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
29-
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.2.0" />
30-
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
31-
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.2" />
32-
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="10.0.2" />
33-
<PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="10.0.2" />
34-
<PackageVersion Include="Microsoft.Extensions.ServiceDiscovery" Version="10.2.0" />
35-
18+
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="10.0.5" />
19+
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.5" />
20+
<PackageVersion Include="Microsoft.Extensions.Configuration.CommandLine" Version="10.0.5" />
21+
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.5" />
22+
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="10.0.5" />
23+
<PackageVersion Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="10.0.5" />
24+
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="10.0.5" />
25+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.5" />
26+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.5" />
27+
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.4.0" />
28+
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="10.0.5" />
29+
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.5" />
30+
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="10.0.5" />
31+
<PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="10.0.5" />
32+
<PackageVersion Include="Microsoft.Extensions.ServiceDiscovery" Version="10.4.0" />
3633
<!-- ASP.NET Core packages -->
37-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
38-
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.2" />
39-
34+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.5" />
35+
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.5" />
4036
<!-- OpenTelemetry packages -->
41-
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.0" />
42-
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.15.0" />
43-
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.0" />
37+
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.2" />
38+
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.15.2" />
39+
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.1" />
4440
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.15.0" />
4541
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.15.0" />
46-
4742
<!-- Testing packages -->
48-
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
49-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
43+
<PackageVersion Include="coverlet.collector" Version="8.0.1" />
44+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
5045
<PackageVersion Include="Moq" Version="4.20.72" />
51-
<PackageVersion Include="MSTest" Version="4.0.2" />
46+
<PackageVersion Include="MSTest" Version="4.2.1" />
5247
<PackageVersion Include="xunit" Version="2.9.3" />
5348
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
54-
5549
<!-- Other packages -->
56-
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
50+
<PackageVersion Include="Spectre.Console" Version="0.55.0" />
5751
</ItemGroup>
58-
</Project>
52+
</Project>

dotnet-configuration-in-depth.slnx

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,29 @@
4646
<Folder Name="/14-array-object-access/">
4747
<Project Path="14-array-object-access/ArrayObjectAccess.csproj" />
4848
</Folder>
49-
<Folder Name="/15-flat-configuration/">
50-
<Project Path="15-flat-configuration/FlatConfiguration.csproj" />
49+
<Folder Name="/15-collections-binding/">
50+
<Project Path="15-collections-binding/CollectionsBinding.csproj" />
5151
</Folder>
52-
<Folder Name="/16-hierarchical-config/">
53-
<Project Path="16-hierarchical-config/HierarchicalConfig.csproj" />
52+
<Folder Name="/16-environment-configs/">
53+
<Project Path="16-environment-configs/EnvironmentConfigs.csproj" />
5454
</Folder>
55-
<Folder Name="/17-section-binding/">
56-
<Project Path="17-section-binding/SectionBinding.csproj" />
55+
<Folder Name="/17-flat-configuration/">
56+
<Project Path="17-flat-configuration/FlatConfiguration.csproj" />
5757
</Folder>
58-
<Folder Name="/18-environment-configs/">
59-
<Project Path="18-environment-configs/EnvironmentConfigs.csproj" />
58+
<Folder Name="/18-hierarchical-config/">
59+
<Project Path="18-hierarchical-config/HierarchicalConfig.csproj" />
6060
</Folder>
61-
<Folder Name="/19-aspnet-options-pattern/">
62-
<Project Path="19-aspnet-options-pattern/AspNetOptionsPattern.csproj" />
61+
<Folder Name="/19-section-binding/">
62+
<Project Path="19-section-binding/SectionBinding.csproj" />
6363
</Folder>
64-
<Folder Name="/20-named-options/">
65-
<Project Path="20-named-options/NamedOptions.csproj" />
64+
<Folder Name="/20-aspnet-options-pattern/">
65+
<Project Path="20-aspnet-options-pattern/AspNetOptionsPattern.csproj" />
6666
</Folder>
67-
<Folder Name="/21-azure-app-configuration/">
68-
<Project Path="21-azure-app-configuration/AzureAppConfiguration.csproj" />
67+
<Folder Name="/21-named-options/">
68+
<Project Path="21-named-options/NamedOptions.csproj" />
6969
</Folder>
70-
<Folder Name="/22-app-config-advanced/">
71-
<Project Path="22-app-config-advanced/AppConfigAdvanced.csproj" />
70+
<Folder Name="/22-azure-app-configuration/">
71+
<Project Path="22-azure-app-configuration/AzureAppConfiguration.csproj" />
7272
</Folder>
7373
<Folder Name="/23-options-validation/">
7474
<Project Path="23-options-validation/OptionsValidation.csproj" />
@@ -79,23 +79,17 @@
7979
<Folder Name="/25-logging-reload/">
8080
<Project Path="25-logging-reload/LoggingReload.csproj" />
8181
</Folder>
82-
<Folder Name="/26-collections-binding/">
83-
<Project Path="26-collections-binding/CollectionsBinding.csproj" />
82+
<Folder Name="/26-configuration-testing/">
83+
<Project Path="26-configuration-testing/ConfigurationTesting.csproj" />
8484
</Folder>
85-
<Folder Name="/27-secret-matrix/">
86-
<Project Path="27-secret-matrix/SecretMatrix.csproj" />
85+
<Folder Name="/27-integration-testing/">
86+
<Project Path="27-integration-testing/IntegrationTesting.csproj" />
8787
</Folder>
88-
<Folder Name="/28-configuration-testing/">
89-
<Project Path="28-configuration-testing/ConfigurationTesting.csproj" />
90-
</Folder>
91-
<Folder Name="/29-integration-testing/">
92-
<Project Path="29-integration-testing/IntegrationTesting.csproj" />
93-
</Folder>
94-
<Folder Name="/30-aspire/">
95-
<Project Path="30-aspire/AspireSample.ApiService/AspireSample.ApiService.csproj" />
96-
<Project Path="30-aspire/AspireSample.AppHost/AspireSample.AppHost.csproj" />
97-
<Project Path="30-aspire/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj" />
98-
<Project Path="30-aspire/AspireSample.Tests/AspireSample.Tests.csproj" />
99-
<Project Path="30-aspire/AspireSample.Web/AspireSample.Web.csproj" />
88+
<Folder Name="/28-aspire/">
89+
<Project Path="28-aspire/AspireSample.ApiService/AspireSample.ApiService.csproj" />
90+
<Project Path="28-aspire/AspireSample.AppHost/AspireSample.AppHost.csproj" />
91+
<Project Path="28-aspire/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj" />
92+
<Project Path="28-aspire/AspireSample.Tests/AspireSample.Tests.csproj" />
93+
<Project Path="28-aspire/AspireSample.Web/AspireSample.Web.csproj" />
10094
</Folder>
10195
</Solution>

slides/Slides.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
---
22
marp: true
3-
theme: custom-default
3+
theme: dotnet
44
footer: 'https://chris-ayers.com'
55
---
66

77
<!-- _footer: 'https://github.com/codebytes/dotnet-configuration-in-depth' -->
8+
<!-- _class: lead -->
89

910
# Modern .NET Configuration
1011

1112
## Chris Ayers
1213

13-
![bg left](./img/dotnet-logo.png)
14+
![bg right:40%](./img/dotnet-logo.png)
1415

1516
---
1617

1718
![bg left:40%](./img/portrait.png)
1819

1920
## Chris Ayers
2021

21-
### Senior Software Egnineer<br>Azure CXP AzRel<br>Microsoft
22+
### Principal Software Engineer<br>Azure CXP AzRel<br>Microsoft
2223

2324
<i class="fa-brands fa-bluesky"></i> BlueSky: [@chris-ayers.com](https://bsky.app/profile/chris-ayers.com)
2425
<i class="fa-brands fa-linkedin"></i> LinkedIn: - [chris\-l\-ayers](https://linkedin.com/in/chris-l-ayers/)
@@ -1064,6 +1065,8 @@ var apiService = builder.AddProject<Projects.ApiService>("apiservice")
10641065

10651066
---
10661067

1068+
<!-- _class: lead -->
1069+
10671070
# Questions?
10681071

10691072
---

0 commit comments

Comments
 (0)