azure-activedirectory-identitymodel-extensions-for-dotnet icon indicating copy to clipboard operation
azure-activedirectory-identitymodel-extensions-for-dotnet copied to clipboard

Design a way to control simple settings without rebuilding and redeploying

Open brentschmaltz opened this issue 4 years ago • 4 comments

Currently even a simple setting requires rebuilding. It's possible that application developers could work around this, but it means everyone has to write the code.

When deploying, this would allow a simple way to slice different deployments.

brentschmaltz avatar Oct 16 '19 19:10 brentschmaltz

We may just make progress on the design and some low hanging fruit. Any suggestions are welcome.

brentschmaltz avatar Jun 26 '20 23:06 brentschmaltz

Which settings did you have in mind? I hope they're only the diagnostic ones.

Tratcher avatar Jun 27 '20 03:06 Tratcher

@Tratcher mainly related to diagnostic, but there could be others. I am curious why you used the phrase "I hope ...."

brentschmaltz avatar Jun 27 '20 05:06 brentschmaltz

Changing functional parameters based on some envronmetal state seems dangerous, you may unintentionally affect other applications on the machine. If you restrict it to diagnostics at least you won't break anyone.

App models like asp.net already expose ways to specify functional parameters per app in config files. Integrating with those models for controlling diagnostics would be helpful.

Tratcher avatar Jun 27 '20 15:06 Tratcher

won't fix. done by .NET configuration (IOptionMonitor and associated events which require cooperation with the application)

jennyf19 avatar Sep 19 '23 21:09 jennyf19