Skip to content

Minor issue with dotnet new template - configuration binding not working #925

Description

@potomato

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions