NancyFx/Nancy — Issue #418: Making type-scanner configurable
Author: ahall
Created: 2011-11-18 12:53:30+00:00
State: open

The more references a project has (the bigger the app domain becomes) the longer the type scanner takes to scan the app domain for descendants of NancyModule. This is fine in production but becomes irritating in development/debug. Therefore it would be useful to allow inclusion/exclusion of modules. For backwards compatibility it could work by default the way it does now but allowing for:

* Modules to be explicitly included for scanning - Will exclude everything else
* Modules to be explicictly excluded - Will include everything else