Are there good tools for C# reverse engineering? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
can you say me if there are good tools for reverse-engineering my C# applications. I need UML-class-diagrams of my written software and i don't want to draw these diagrams by myself. I've already tested StarUML but it didn't work because I used generics an something.
Would be great if there a some advices.
Greetings,
Martin

Have you checked out .NET reflector? Has a diagram plugin too..
List of Add-Ins

Coincidentally enough a colleague of had a meeting with some MS guys regarding Visual Studio 2010 team foundation server. They told him that it has the ability to reverse engineer your assemblies and produce UML diagrams. A quick look on MSDN (link text) seems to partially confirm this. It doesn’t say UML but it confirms architectural diagrams can be derived and your code which can be validated against at compile time. But it’s obviously not available yet and I’m sure it will carry a hefty price tag.

Altova UModel

Sparx enterprise architect is very good. I use it at my work.

ILSpy looks alot like Reflector.
http://wiki.sharpdevelop.net/ILSpy.ashx
I've used it many times and it's very handy.
There's also dotPeek(Creators of Resharper)
http://www.jetbrains.com/decompiler/index.html?topDP
They Are both free :D

The NDepend tool is certainly what you are looking for C# code reverse engineering. NDepend comes with a dependency graph coupled with a dependency matrix. You can try NDepend straight on your code thanks to a Free Trial Edition. As a picture is worth a thousands words, see NDepend's screenshoots extracted from this blog post: Interactive Code Dependencies Graph
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.Graph/InternalDependenciesGraphSmall2.jpg
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.Graph/CycleGraphSmall2.jpg
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.CQLExport/Graph1.jpg

Visual Studio 2010 Ultimate supports UML class diagrams as well as sequence, component, use case, and activity diagrams. It also supports creating sequence, dependency graphs, and layer diagrams from code. Regarding your question about generating UML diagrams from code, there's a response here in the VS Architecture & Modeling tools forum: Is it possible to reverse engineer C# code into an UML Class Diagram?
Other tools include Architecture Explorer, which lets you browse and explore your solution.
For more info, see the following links:
To download the RC release, visit: Microsoft Visual Studio 2010 Ultimate RC
To see the RC documentation, see Modeling the Application.
To discuss these tools, visit the Visual Studio 2010 Architectural Discovery & Modeling Tools forum.

Related

Create a code Generator Addin for Visual Studio [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
So I understand this may appear to be a strange question but I couldnt really find any information on this (maybe I was searching for the wrong thing)
I have a selection of code snippets ive created in visual studio. The snippets work great but what I want to do is to build some sort of code builder addin that will create the .CS files in the project based on several inputs.
Its for use with Selenium in C# to essentially build up a page object model. So for example the user would choose and object they want to add to the page from a dropdown, then click add, and it would add it to the c# code.
Can I create an addin for this and if so wheres the best place to read on up on how to do this, any useful tutorials are articles would be helpful.
Any help would be much appreciated.
Your question is off topic for asking for tutorials, however there are two ways to do what you are looking for.
COM based plugins and T4 code template generators.
The COM plugin kind is if you want a code generator that you expect to use over and over again across all projects you write. They might be "easier" to write as you are just writing C# code but the plugin must be "installed" in to visual studio and if you give the project to someone else the plugin does not travel with the project. The recipient would also need to "install" your plugin to get it to compile on his machine.
The T4 style lets you write the code generation code right inside your project but has a odd syntax, It is fairly similar to how ASP.NET .cshtml pages are generated, you just are generating compliable code instead of a web page. The editor for T4 templates built in to visual studio is not very good, I don't think it even does code highlighting, but there are plugins for visual studio you can get that add more features to the T4 Editor. I have used this one in the past, but a lot of the features are restricted if you do not use the paid version. There are other fully free ones out there.

Free UML Design Software [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been doing UML diagrams on paper for awhile now, but I want to start doing it digitally for obvious reasons. I have used many bits of software that can do this, but some are over complicated and some just are not intuitive.
I should point out that I am a .Net programmer, so I don't use Eclipse :(
Can anyone suggest some good UML designers that are free? Online or desktop apps are fine.
You could try GenMyModel, it is online.
Having tried several ones, my choice would be Modelio, which is easy to handle and quite complete.
But it depends what exactly you want to do with it. Core Modelio is free, but some additionnal functionalities are not (I'm not exactly sure which ones, but I suppose code generation would be in the list Edit : Java generation is free but C# is not... sigh...).
ArgoUML is old but still reliable and standalone: http://argouml.tigris.org/
You now have Eclipse UML plugins which are free: https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse
A good long list is available at http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools
Which ones are good is beyond me though. I suggest trying them out and keep the one that is the easiest for you to use.
UML Software as bouml are good,
but I recommand you Eclipse + Ecore / Ecore diagram technologies : You can draw your model and with acceleo generate code automatically.

Recommended Git tools for windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have only ever used VSS (uggh, I know) and Team Foundation Server for source control management on windows. I develop in c# using Visual Studio 2010 as my IDE. I now have a requirement to use Git on my next project.
Can you please recommend a Git tool out there? I know this question has been asked before on SOF but it seems to be a bit dated. Also considering that I have only ever used repositories coming out of the MS stable, I was hoping there is a similar GUI or VS add-on from a GIT that helps me adapt.
Thanks for the help.
GitExtensions is very complete and it also integrates very well in Visual Studio 2010.
For a comparison between TortoiseGit and GitExtensions, take a look to this StackOverflow question
Both TortoiseGit and GitExtensions are open source.
Here you can find a list of available frontends.
I personally suggest GitExtensions, which also have a decent set of shortcuts (I hate to switch from keyboard to mouse while developing).
Take a look to this other question as well, you may find it useful.
Update
I quit using GitExtension when I discovered SmartGIT. I highly suggest to take into consideration it as well: it does not integrate with Windows File Explorer (which now I consider a benefit) and it has a very polished and smart GUI.
I still use the command line from Git-bash. Use TortoiseGit as sometime.
Git-bash make you powerful on Git in advance, and you still have the knowledge when you have other system which not Windows. For TortoiseGit, I like to see graph virtualization -- it will show the relation between code branch that make you easy to understand, also statistic.
SmartGit is awesome :) We use it where I work and it really helps streamline merge conflicts and resolution. Otherwise, you can always download eclipse and use eGit, but it's relatively buggy.
I highly recommend reading through the Git Guide on StackOverflow:
Git for beginners: The definitive practical guide
It covers all the GUI Tools, processes, references, and other resources.
Never been a fan of Git (I prefer using SVN and hg), but considering both TortoiseSVN and TortoiseHG are quite good, I'd recommend trying TortoiseGit, which is a port of TortoiseSVN to work with Git instead of SVN.

Find the best prototype design tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am developing a Windows GUI Application. I need a tool to create a prototype design. Please help me to find the best tools? Thanks.
Visio have some stencils for Windows GUI which can be used to prototype a design.
Another option is to use the Visual Studio designer (for either WPF or WinForms) and just layout the forms, without any code.
It really depends on whether you want a free tool or a paid for one, plus what technology you're going to use in the long run.
For winforms, Anders answer is probably best.
If you're aiming at using Silverlight or WPF then I'd recommend Expression Blend as you can produce a rough working GUI design and quickly transform it into working code.
Microsoft SketchFlow seems like a quite good tool.
You can create more or less working prototypes, the standard skin of the prototypes are pencil-sketch style to give the viewer a feeling that the prototype is just a prototype and not a working application.
If you want to show examples of final look'n feel you can just use the regular WinForms or WPF designer.
I use this one a lot. It's easy to put stuff together and there is a wealth of addons to meet your gui needs.
Balsamiq

Best libraries, extras and things for C# (ASP.NET included) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I wanted to know what would some good libraries, IDE's, extras, for C# (include web development in ASP.NET be) for example:
Libraries
Mono Project - Cross platform C#.Net implementation, also able to run ASP.NET specific stuff
IDE's
Sharp Develop - OpenSource C# IDE (Includes compiler)
MonoDevelop - OpenSource and cross platform C# IDE (Includes compiler)
Extras
ReSharper - Unit testing and code refactoring for C# (Free for OpenSource)
.Net Memory Profilie (Not free) - Name says it all, not free for any use
Refactor! - Refactoring for C#
Thanks
Resharper is one of the best "extras" I've come across.
Reflector
Process Explorer (not .NET specific, but a definite must have)
Linq Pad
Wire Shark (not .NET specific, but should be in every Dev's toolkit)
For .NET libraries, this question is comprehensive. As for IDE's, I use either Visual Studio, the VS Express Editions or MonoDevelop.
I'm using Visual Studio 2008 with i.e. the Refactor! 2008 plugin.
Libraries
here: https://stackoverflow.com/questions/662956/most-useful-free-net-libraries
Html Agility pack:
http://www.codeplex.com/htmlagilitypack
Mixed with linq, gives you a flexible htmlparser(webpage scraper):
http://web.archive.org/web/20080719181517/vijay.screamingpens.com/archive/2008/05/26/linq-amp-lambda-part-3-html-agility-pack-to-linq.aspx

Categories

Resources