This project is read-only.
1
Vote

Issue with the GetCallingAssembly method

description

The RouteCollectionExtensions class uses the GetCallingAssembly() method to find the assembly in which to look for controllers. That's convinient but it is very risky as this method might return the wrong assembly.

Unpredictable results can occur, as method inlining is highly arbitrary.

I detailed the issue here: http://blog.idm.fr/2011/09/why-getcallingassembly-is-dangerous.html

comments