Description of problem
In DNN 9.4.0 we introduced Dependency Injection and it is time to start refactoring the Globals.cs file to use Dependency Injection. This is a massive undertaking and should not be attempted in 1 Pull Request. This work item should serve as an epic that we can link others back to as we solve small problems.
Description of solution
Refactor sections of Globals.cs into manageable interfaces grouped in logical chunks. For example all of the NavigateURL methods should move to an interface called INavigationManager.
Description of alternatives considered
N/A
Screenshots
N/A
Affected browser
Work Items
A table of work items of chunks that we will break out the Globals.cs into
| Work Item ID |
Manager |
Description |
| #3159 |
INavigationManager |
All navigation methods should exist in an easy to use interface |
Description of problem
In DNN 9.4.0 we introduced Dependency Injection and it is time to start refactoring the
Globals.csfile to use Dependency Injection. This is a massive undertaking and should not be attempted in 1 Pull Request. This work item should serve as an epic that we can link others back to as we solve small problems.Description of solution
Refactor sections of
Globals.csinto manageable interfaces grouped in logical chunks. For example all of theNavigateURLmethods should move to an interface calledINavigationManager.Description of alternatives considered
N/A
Screenshots
N/A
Affected browser
Work Items
A table of work items of chunks that we will break out the
Globals.csintoINavigationManager