CG.Tools.CodeMap:
What does it do?
A tool that generates a code map from a .NET assembly.
(Yes, we know Visual Studio already does that, but we run the Community Edition of Visual Studio and it doesn't do that)
Quick Note:
This project uses Syncfusion controls for the UI. We took that approach, as opposed to rolling our own, or using open source alternatives, because:
- They're free, provided you sign up for the ridiculously generous Syncfusion Community License, HERE
- They already written, which means we can focus on this tool rather than worring about reinventing an entire diagram control, from scratch.
- They are supported, which is more than most open source control packages can say.
- Did we mention they are FREE?? Seriously, go HERE and sign up!
If you do get your own Syncfusion license, you'll need to add your license key to the appSettings.json file, like this:
{
"Syncfusion": "Your Syncfusion license here"
}
If you don't add your Syncfusion key to the appSetting.json, as shown above, you'll see a popup like this at runtime:
Just press Close. The popup means the Syncfusion library didn't find a license, so it's starting in 'trial mode'.
It's alright, the CodeMap tool will work without the Syncfusion license.
UI walk through:
Here is the overal UI:
Opening .NET assemblies is easy using the file|open menu command, or using the file option toolbar:
Filtering out unwanted assemblies is also easy, using the filter drop down:
Zooming the diagram up or down is easy, using the zoom controls:
Finally, you can layout a diagram at any time using the layout control:
How do I contact you?
If you've spotted a bug in the code please use the project Issues HERE
Is there any documentation?
There is developer documentation HERE
We also blog about projects like this one on our website, HERE