-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WebApplicationBuilder Extensions, improve .NET 6 compatibility #824
Conversation
/azp run Steeltoe.All |
Azure Pipelines successfully started running 1 pipeline(s). |
…nfigurationManager reloads
ebd5ba7
to
d2a373f
Compare
d2a373f
to
06113bb
Compare
Is .Net 6 supported? How do we add steeltoe to .net 6 program.cs? |
Thanks for the question... This PR primarily adds extensions to use with the new
I believe the only known issue with Steeltoe on .NET 6 (which is addressed in this PR) is that there is potential for recursion with the placeholder config provider. |
Azure Pipelines successfully started running 1 pipeline(s). |
In our Program.cs we have var builder = WebApplication.CreateBuilder(args); builder.Configuration.AddConfigServer(); But none of the bolded entries are know. What else do we need? Thanks! |
Assuming you've already got the nuget references (EndpointCore and ConfigServerBase or Core for these, other components would be different), adding these usings should work. Visual Studio should be able to find them via
|
Thanks that worked. Will that allow us to host our service in Pivotal Cloud Foundry? So far it does not work... Before .net 6 we had in the startup Does the following allow the service to be containerized in PCF? Or are we missing something? |
Could you please open a separate issue, listing all of the Steeltoe components you're wanting to use and ideally a complete sample? |
src/Configuration/src/KubernetesBase/KubernetesServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
…onExtensions.cs Co-authored-by: Hananiel Sarella <hsarella@vmware.com>
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
Kudos, SonarCloud Quality Gate passed! |
#764, #814