SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

Minor issue with dotnet new template - configuration binding not working

Open potomato opened this issue 5 months ago • 1 comments

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.

potomato avatar Sep 17 '25 12:09 potomato

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

simpleidserver avatar Sep 17 '25 13:09 simpleidserver