November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Oct 19, 2017
Jan 07, 2022
CMS Core
Closed, Fixed
Options classes were added to the CMS Core packages as a way of separating the storage of settings, usually in a configuration file in the form of web.config, from their usage in services. This allows for a cleaner separation of concerns and enables support for .NET Standard.
All Options classes are registered in the service container and can a such be accessed by adding a constructor dependency to your service or MVC controller.
These Option classes were previously accessible in various Internal namespaces, but has now been reviewed and moved to the Public API.
Notable Options classes: