Getting the Assembly Qualified Name for a .NET Object
Posted
Friday, July 11, 2008 3:53 PM
by
Nathan Zaugg
Have you ever needed to add a line to a config file like:
<type="Config.RoleService, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
These fully qualified types are not easy to figure out. The syntax is a bit confusing and the PublicKeyToken is hard to get a look at. This has been an issue -- until now!
GetAssemblyName App
I created a quick little app that will load an assembly you select and show you all of the AQN (Assembly Qualified Names) for each class contained in the assembly. Notice the cool glass look? I'll post information about that in a later blog post.
Quick Instructions:
- Run the app
- Press the "Select Assembly" button
- Browse to the assembly you want to get the AQN for and press Open
- The window will fill up with the assembly full name and the AQN for each type found in the assembly
- Double Click the line to copy that class's AQN to the clipboard
Downloads: