Minor issue with dotnet new template - configuration binding not working
Hi,
I'm just looking at SCIM libraries in dotnet so ran dotnet new scim --connectionString ..
When starting the app, the first line of ConfigureScim - where it binds MassTransitStorageConfiguration - doesn't seem to work. It will look for those types properties under the root unless you give it a section.
I think it should be
var massTransitConf = webApplicationBuilder.Configuration.GetSection(nameof(MassTransitStorageConfiguration)).Get<MassTransitStorageConfiguration>();
or equivalent.
I'm using template 6.0.5. Might just help someone else looking at it.
Thanks.
Hello,
You’re right, there was a mistake in the DOTNET TEMPLATE project 🙂. This issue has already been fixed in the master branch.
KR SID