Sorting - Nancy will build all the modules at startup, register all their routes and build the Routing Tree. For each request, he will then find out which module he needs, and build it using the request container, so that the query-dependent scopes have the correct lifetime, and then performs the corresponding action. Routes are not "registered" for each request, they are simply stored in the collection in the module, and the engine performs the correct one.
source share