1. Home
  2. Docs
  3. Llamachant Framework Modules
  4. Additional Modules
  5. Controller Management Module

Controller Management Module

This module allows you to quickly track down problematic controllers in your XAF solution. Add this module to your .Module project and start enabling and disabling controllers.

Getting Started

  1. Install the LlamachantControllerManagement.Module from NuGet into your solution
  2. Include the ControllerManagementModule in the RequiredModuleTypes collection of your .Module project
  3. Enable the module by setting the ControllerSettingsWindowController.Enabled to true
  4. Run your application and click the Show Controller Settings action
  5. Enable / Disable any controllers you need and reopen your problematic view
				
					public sealed partial class TestApplicationModule : ModuleBase {
    public TestApplicationModule() 
    {
        InitializeComponent();
        this.RequiredModuleTypes.Add(typeof(ControllerManagement.Module.ControllerManagementModule));
        
        ControllerManagement.Module.Controllers.ControllerSettingsWindowController.Enabled = Debugger.IsAttached;
    }
}
				
			
Was this article helpful to you? Yes 3 No

How can we help?