Visualizing large code bases with VS2010

Chris Lovett posted a *great* 20 minutes video on how to use custom “Generate Dependency Graph” to manage larger code bases with the new visualization tools in VS2010.


Via Skinner’s Blog : Visualizing large code bases with VS2010


Scott Hanselman – Web Deployment Made Awesome: If You’re Using XCopy, You’re Doing It Wrong


Here’s an outline of what Deployment Related topics Scott covered

  • Web Packaging – Offline vs. Online
    • From VS 2010
    • From IIS Manager
  • Web.Config Transformation
    • Transform Syntax
    • Locator Syntax
    • Why not XSLT?
  • Deploying
    • Command Line
    • What If Switch
    • From IIS
    • Content Sync
  • DB Deployment
    • Scripting Source DB
    • Adding custom SQL Scripts
  • Download and Deployment of Open Source
    • Web PI
    • App Gallery
  • One Click Publish
    • Using Web Deploy (Ms Deploy) WMSVC
    • Using Web Deploy (Ms Deploy) Remote Agent
    • Using InProc Web Deploy (Ms Deploy)

Here’s some cool highlights about WebDeployment in Visual Studio 2010. You can right-click on your web.config and click "Add Config Transforms."


When you do this, you’ll get a web.debug.config and a web.release.config. You can make a web.whatever.config if you like, as long as the name lines up with a configuration profile. These files are just the changes you want made, not a complete copy of your web.config.

Fore more visit Scott Hanselman – Web Deployment Made Awesome: If You’re Using XCopy, You’re Doing It Wrong

Validating Application Architecture with Visual Studio 2010 – Layer Diagrams


One of the pretty cool new features of Visual Studio 2010 (in the Premium and Ultimate) is that they have provided you basic modeling abilities inside the IDE.  One of the new features is the Layer Diagram.  A Layer Diagram allows you to visually see how your various components (from assembly all the way down to methods) interact and relate.  One great feature that the Layer Diagram provides you is a way to be able to take a snapshot of your systems architecture and later perform validation against that snapshot to see if your code still conforms to your desired layout.

In this post we will review how to create a layer diagram and then how to validate your architecture against that diagram. To read more goto –> Validating Application Architecture with Visual Studio 2010 – Layer Diagrams


Once you have the Architecture Explorer open, simply drag on items from the view onto canvas.

Click Generate Dependencies and once VS is done, the canvas should look like below:

Lets pretend that some time has gone by and you want to double check to see if your code still reflects your desired architecture as you laid out previous


You can also check out this post on Layer Diagram:

What’s new in Visual Studio 2010 IDE – Code Editing, Searching & Navigating


In any code editing window or text editing window, you can quickly zoom in or out by pressing and holding the CTRL key and moving the scroll wheel on the mouse. Or click the dropdown at the lower left hand corner.


Generate From Usage

The Generate From Usage feature enables you to use classes and members before you define them. You can generate a stub for any class, constructor, method, property, field, or enum that you want to use but have not yet defined. You can generate new types and members without leaving your current location in code. This minimizes interruption to your workflow.

Generate From Usage supports programming styles such as test-driven development. Press CTRL+ . to display the Smart Tag, and the appropriate options appear.

Also check out this video:


Call Hierarchy 

CTRL+ALT+K Call Hierarchy (available only in C#) enables you to navigate through your code by displaying all calls to and from a selected method, property, or constructor. This enables you to better understand how code flows and to evaluate the effects of changes to code. You can examine several levels of code to view complex chains of method calls and additional entry points to the code, which enables you to explore all possible execution paths.

Call Hierarchy is available at design time, unlike the call stack that is displayed by the debugger.


Navigate To

Ctrl + comma, new for Visual Studio 2010, is a powerful way to search, especially when you’re not sure exactly what you’re looking for. It helps you locate items in your code by using "fuzzy" search capabilities. For example, if you type Foo Bar instead of FooBar, Navigate To will still return useful results. It’s a smart, incremental search that refines as you type and will find any symbols (e.g. file, type, and member names) matching your search terms.


Highlight References?

When you click a symbol in the source code, all instances of that symbol are automatically highlighted in the document. To navigate between references by using the keyboard, press CTRL+SHIFT+DOWN ARROW or CTRL+SHIFT+UP ARROW.

Box Selection

VS 2010 adds the following new capabilities to the box selection feature:

  • Text insertion: Type into a box selection to insert the new text on every selected line.

  • Paste: Paste the contents of one box selection into another.

  • Zero-length boxes: Make a vertical selection zero characters wide to create a multi-line insertion point for new or copied text.

Multi-Monitor Support

You can drag the document/property windows outside the IDE to any location you want. To return the window to its most recent docked location, hold down the Ctrl key and double-click the title bar of the window.

Other code searching and navigating in Visual Studio 200X:

Quick Find (Ctrl+F), Find in Files (Ctrl+Shift+F), Incremental Search (Ctrl+I), Go To Definition (F12), Find Symbol (Shift+F12), Navigate Backward (Ctrl+minus) and Navigate Forward (Ctrl+Shift+minus)

All you need to know about Visual Studio 2010 Beta 2


Visual Studio 2010 Beta 2 Download – Home

What’s new in .NET Framework 4

.NET Framework 4 Beta 2 Documentation


Training Kit – Oct. Preview

Training Course – includes videos and hands-on-labs designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies

Samples – C#, F#, Parallel Processing, Office, SharePoint

Visual Studio 2010 Beta 2 and Silverlight updates – Tim Heuer

Silverlight Toolkit Oct. 2009 Release – support Visual Studio 2010 design time experience, Extensible Charting, Drag & Drop support for controls

Visual Studio 2010 Beta 2 from an ASP.NET MVC Perspective – Phil Haack

AJAX Control Toolkit

Download Deep Zoom Composer

Download ASP.NET Ajax Control Toolkit

Microsoft Ajax Library and Visual Studio 2010 Beta 2 – Stephen Walther

Visual Studio 2010 and .NET Series by ScottGu

IronPython –

  1. Install IronPython 2.6 CTP for .NET 4.0 Beta 2.msi from –
  2. Follow any of the many dynamic walkthroughs online –



No Javascript Intellisense –

In case you need to uninstall Visual Studio:

  • Try to uninstall using the ISO image.
  • Or you can try this if you don’t have the ISO.1. Uninstall TFS Object Model (This step is Visual Studio 2010 Team Suite only)
    From Add/Remove, uninstall Microsoft Team Foundation Server 2010 Beta 1 Object Model
    2. Uninstall all instances of Visual Studio 2010 products (for example, Visual Studio 2010 Ultimate).
    3.1 If you have previous versions of Visual Studio
    Uninstall other remaining supporting products, in the specified order. (Ignore items that are not present on your computer.)
    a.    Visual Studio 2010 Tools for Office Runtime Beta 2
    b.    The .NET Framework version 4 Language Pack
    c.    The .NET Framework version 4 Extended (reboot, if prompted)
    d.    The .NET Framework version 4 Client (reboot, if prompted)

    3.2 If no previous versions of Visual Studio
    3.2.1 Optionally, uninstall the following supporting products that may have been installed with Visual Studio 2010.  NOTE: These components may also be used by other product suites on your computer.
    a.    Web Deployment Tool
    b.    Silverlight 3 SDK
    c.    SQL Server 2008 Management Objects
    d.    SQL Server CLR Types
    e.    SQL Server 2008
    f.    SQL Server 2008 Native Client
    g.    SQL Server Compact 3.5 SP2

    3.2.2 Uninstall other remaining supporting products, in the specified order.  (Ignore items that are not present on your computer.)
    a.    Visual Studio 2010 Tools for Office Runtime Beta2
    b.    The .NET Framework version 4 Language Pack
    c.    The .NET Framework version 4 Extended (reboot, if prompted)
    d.    The .NET Framework version 4 Client (reboot, if prompted)
    4. Reboot
    5. Uninstall C++ 2010 Redistributable
    From Add/Remove, uninstall Microsoft Visual C++ 2010 Beta 2 Redistributable (x86 and/or x64)
    6. Reboot