Update for Steeltoe v4 and .NET 9#98
Merged
Merged
Conversation
126d055 to
19b334f
Compare
TimHess
reviewed
Feb 27, 2025
4f7adf1 to
9c6ffdc
Compare
a439ba9 to
b885174
Compare
This was referenced Feb 28, 2025
68db30f to
9825fc9
Compare
9825fc9 to
a4928c4
Compare
TimHess
approved these changes
Mar 3, 2025
This was referenced Mar 4, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes in this PR
dotnetcli.host.json)--configuration-encryption(v4 only)--configuration-spring-boot--connector-cosmosdb--connector-sqlserver-efcore--discovery-consul--logging-dynamic-loggertologging-dynamic-console--logging-dynamic-serilog--management-tasks--messaging-rabbitmq(equivalent to--messaging-rabbitmq-clientand--messaging-rabbitmq-listener), doesn't currently exist at start.steeltoe.io and for IDEs)--data-protection-redis--helpide.host.json)template.json)*Optionis an incoming switch,Is*andHasAny*are calculated,*InSteeltoeV3|4is version-specificSteeltoe.NetCoreTool.TemplatesNuGet packageSampleContexttoAppDbContext, use modern C# syntaxlaunchsettings.jsonfor http and https (port numbers are replaced during generate)Models/ErrorViewModel.cs, never used anywhere.gitignoreappsettings[.Development].json: only emit Steeltoe schema for v3[name].httpfilePackageReferencechanges in project fileMicrosoft.AspNetCore.Authentication.AzureAD.UI(unused)System.Data.SqlClientwithMicrosoft.Data.SqlClientRabbitMQ.Clientversion from 6.4.* to 5.2.* for Steeltoe v3, to fix reflection crash at/sendtoqueueendpointnuget.configwith Steeltoe dev feed (enables testing without published release)Program.csbuilder.Configuration.AddConfigServer()tobuilder.AddConfigServer()(bugfix 3.x)builder.Services.AddAllActuators(builder.Configuration); builder.Services.ActivateActuatorEndpoints();withbuilder.AddAllActuators();(bugfix 3.x)builder.Services.AddDistributedTracingAspNetCore();to also callbuilder.Services.AddDistributedTracing();for HttpClient (bugfix 3.x)app.UseRouting();, which doesn't appear anymore in modern templates (aspnet auto-inserts it in the pipeline)Directory.Build.propsfiles.editorconfigin output directory, so a build error occurs when unused usings are found<PackageReference>entries in template.csprojare unevaluated (because an undefined symbol is used)AddConfigServer()does not distinguish betweenbuilder.Services.AddConfigServer();andbuilder.AddConfigServer();CLI output
Visual Studio 2022
Visual Studio Code
JetBrains Rider
Fixes #85.