umbraco-package-ideas icon indicating copy to clipboard operation
umbraco-package-ideas copied to clipboard

UI for Umbraco configuration

Open leekelleher opened this issue 2 years ago • 2 comments

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?

  • [X] Back-office
  • [ ] Developer Tools
  • [ ] Front-end
  • [ ] Starter Kits
  • [ ] Misc

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct.

leekelleher avatar Oct 10 '22 21:10 leekelleher

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 avatar Jun 26 '23 08:06 huwred

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>

huwred avatar Aug 07 '23 11:08 huwred