Geeks With Blogs
.net alternatives by Michel Grootjans February 2006 Entries
Finding the calling assemblies.
A colleague recently challenged me with this. A number of web applications are running on a server. They all reference a common tools library. This tool library must be able to get the calling assembly without having a reference to it. This is what I came up with. Any other suggestions? First I started with a simple test. Can I enumerate all the methods upstream of the currently running method? Sure, I can follow the StackTrace and enumerate those methods. Can I get the types running these methods? ......

Posted On Saturday, February 4, 2006 2:25 PM

Copyright © Michel Grootjans | Powered by: