Home > Microsoft .Net Development Tips > .NET Developer > Expert recommends merge tool, metadata browser
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

.NET DEVELOPER

Expert recommends merge tool, metadata browser


Victor Garcia Aprea, Contributor
12.29.2005
Rating: --- (out of 5)


.NET Essentials Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


In this tip, Victor Garcia Aprea of ClariuS consulting talks about two of his favorite .NET development tools -- a code merging and comparing tool from Araxis and a free code navigator developed by Lutz Roeder.

Araxis Merge Professional 6.5

If you are part of a development team and not a solo developer, chances are you face daily tasks like analyzing and reconciling source code differences between different versions of the same file and keeping your local source tree in sync with the source repository. This is often a cause of pain and something that most developers will try to avoid as much as possible. I have found that most developers are just using very simple merge tools like WinDiff or WinMerge that can't do much when compared to much powerful tools like Araxis Merge.

The graphical user interface is pretty slick. You can choose between vertical (left pane and right pane) and horizontal (top pane and bottom pane) layouts to display the compared files. The specific portions of modified text -- and not just the whole line, as with other merge tools -- are highlighted to better show the differences found, and connecting lines are drawn to show where text from one file would be inserted into the other file. Three-way merging is also supported; in this case, you would have three panes with the middle one usually representing the final version and receiving changes from the left and right panes. Another really nice touch is that you can edit the file in place by just writing in one of the window panes.

Comparisons in Araxis Merge don't stop at the file level. The product supports folder comparisons, which is very handy when syncing source trees or developing Web applications where you usually have to compare locally deployed files against production ones and looking for that minor difference making the application behave differently in both environment.

There are two other Araxis Merge features worth mentioning -- its reporting capability supports several file formats (html, xml, etc.), and its automation API (including its correspondent documentation) can be used to consume the product's functionality from your custom application or tool. On the con side, the biggest concern I found was the lack of syntax highlighting, which is something that could surely facilitate merging.

Reflector 4.0

This free tool from Lutz Roeder is one of the tools you can't live without if you're developing for the .NET platform. It started out back in October 2000 as a metadata browser listing all metadata in an assembly (classes, interfaces, methods and attributes, to name a few). Now it is a full disassembler supporting C#, VB.NET, Delphi and IL.

Its UI is very simple. There is a left pane containing a treeview that lets you navigate, from top to bottom, all metadata found into assemblies, and there is a right pane that uses an HTML browser to display source code and enable hyperlinking between all browseable elements. For example, while looking at the source code for a given method, you can click on another method's name used in that method in order to automatically navigate to a disassembled view of it. This makes the code navigation in Reflector sometimes faster and easier than if you were navigating source code files directly.

One of the more interesting features of Reflector is that it offers a plug-in model that allows for its extension, thus enabling others to provide additional functionality like support for disassembling into additional languages (i.e. C++), generating source files and code metrics.

Victor Garcia Aprea is cofounder of Buenos Aires-based Clarius Consulting. He has has been a Microsoft MVP for ASP.NET every year since 2002. He has written books and articles for Wrox Press, Apress and Microsoft Press and is also a regular speaker and international conferences like VSLive!.


Do you have comments on this tip or product recommendations of your own? Let us know.

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
.NET Developer
How to speed up Visual Studio 2008's slow WPF designer
How to list fonts in WPF using markup extensions and data templates
How to convince management to buy Microsoft Visual Studio 2008
Microsoft webcast series previews new Visual Studio 2010 features
New features in Windows 7 bring new UI considerations for developers
User Account Control (UAC): How to develop code for standard users
Introduction to Vista's user account control (UAC) for developers
Visual Studio 2008 code metrics tools will help keep code clean
Downloadable MSDN library released for VS 2008 SP 1
Widgetbox provides good example of how to use Facebook Developer Toolkit

.NET Architecture Best Practices
Introduction to ASP.NET's Model View Controller (MVC) Design Pattern
Free book from Microsoft brings patterns and practices to .NET
Java application frameworks come to .NET
The faces of .NET/Java interoperability
.NET Development coming to a Cloud near you
Distributed caching goes mainstream
A look at concurrency constructs and primitives in .NET
Designing Windows Communication Foundation service contracts
Scaling WCF applications can challenge development teams
Microsoft touts rich Internet app development at Mix08
.NET Architecture Best Practices Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
.NET  (SearchWinDevelopment.com)
C#  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts