Tip of the day – Explore and Analyse .NET assemblies

by shawn-barrett 8. April 2010 20:33

tip

If you are following my Create Test Automation Framework series you will have downloaded and installed the Test Editor application. If not it can be downloaded from here

I have not yet supplied source code for this application and some users may want to look at the code, either out of curiosity or wanting to expand on the codebase for their own use. They would definitely not simply be wanting to copy and publish the code as their own work :)

So for those who are not already aware, let me introduce Reflector

It is a free download and it allows you look at the code for any given .net assembly. I encourage you to download it and use it to look at my Test Editor application. The important bit is that the code you will see is unlikely to be the code I wrote when developing the application. The C# compiler will have optimised my code.

It is a great way to understand what the compiler is doing and also to look at code for assemblies of interest to you.

Important: I have given express permission to dissemble my application, but that may not always be the case. Please check out the licence terms of any software you would like to dissemble before proceeding. If the licence prohibits it then it is illegal.

Tags:

Tip | software devlopment

About the author

shawn barrett