I would like to bind configuration to record type.
This is definition of configuration type (it is without parameterless constructor):
public record AppCon