leekelleher / umbraco-package-ideas

Open ideas for Umbraco community packages
http://leekelleher.github.io/umbraco-package-ideas/
Other
18 stars 3 forks source link

UI for Umbraco configuration #38

Open leekelleher opened 2 years ago

leekelleher commented 2 years ago

Idea summary

NOTE: The original idea was to have a friendlier UI for common options in the umbracoSettings.config file. However with .NET Core, Umbraco v9+ the configuration has moved the appSettings.json, requiring a web-app restart for the updated configuration to take affect, I'm less sure how it'd potentially work.

With a UI for Umbraco configuration, we could have things like...

More details about the umbracoSettings.config file are available on the Our Umbraco documenation.

Which categories would the idea fit?

Code of Conduct

huwred commented 1 year ago

I haven't tried this with Umbraco, but I will have a play as it does look like you can reload settings without a restart

https://www.coderschmoder.com/reload-changes-in-appsetting-json-without-website-restart/

huwred commented 1 year ago

Well, as long as you access configuration settings using IOptionsSnapshot<GlobalSettings> changes made to appsettings.json are reflected immediately on change without requiring a restart. While this is great, it would probably require Umbraco changes to work as intended, internal Umbraco code would also need to access them using IOptionsSnapshot<GlobalSettings> instead of using IOptions<GlobalSettings>