Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts

November 10, 2011

Visual Studio 2010: Comparing files without TFS, yes it is possible!

Question:
Do I always need connection to Team Foundation Server or download some 3rd party tool in order to compare files or folders when I have Visual Studio 20XX installed?
Answer:
No. There is indeed file and folder comparison utility bundled to Visual Studio, but it is well hidden.
You can find the WinDiff.exe from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64. Just make shortcut of it to Start menu, or add it to Tools menu in Visual Studio.

image

September 14, 2011

Visual Studio Dependency Chart

Having few spare minutes at the airport waiting for the plane AND downloading Windows 8 Developer Preview I thought why not investigate how my Media Center Status Application is actually structured in terms of assembly dependency.

Visual Studio 2010 provides nice way do do that. Just select Architecture –> Generate Dependency Graph and select what kind of graph you wish to generate. Below you see Dependency Chard by Assembly of my application with nice arrows leading from an assembly to another indicating how assemblies are related to each other. You can dig deeper in your assemblies by clicking the small arrows on top right of each assembly.

fbmce_dependency

What I learned of my tool immediately is that I should maybe consider moving Amazon functionality to own assembly. At least that’s how I’ve done with Facebook and Twitter, so it would be more coherent to do the same with Amazon code. However, my idea is to make external web site functionality to function as plugins, and Facebook and Twitter behave the same in that regard (=getting status or updating status to/from these services).

Amazon is used differently, as the application only queries Amazon for additional media details, such as CD or DVD cover art. There are other services that could be used for querying cover art and other information in addition to Amazon, so conclusion is that separating Amazon code into own assembly might be right way to go so possible future plugin developers could add support for other media information services as well.