Feature Builder Power Tool – Introduction

by 

|

in

This post introduces Microsoft’s Feature Builder Power Tool (Feature Builder) and describes its major components. Feature Builder is a Visual Studio Extension that allows a developer to quickly create a feature extension for Visual Studio 2010 (VS). By introducing a new framework, developers are now able to easily integrate templates, add-ins and documentation in a…

Read more…

ClickOnce: Revisited

Recently we’ve received a couple comments on my blog post ClickOnce Publish and Deploy from Team Foundation Server 2010 so I thought we should do a follow-up post to share what we’ve learned. One of our readers, Anye, was having some trouble getting the build to copy the published ClickOnce application over into the ClickOnce…

Read more…

Remote Shelving/Unshelving Changes in Team Foundation Server

Let’s talk shelving. Not the kind you try to build in your garage that never fits together, and not a bunch of milk cartons stacked on each other. I’m talking about source control shelvesets. Think of them as a snapshot of your local workspace at a given time. We use them a lot in many…

Read more…

Single-Stepping Through MS Code

Microsoft allows you to single-step through the framework code via Visual Studio 2008/10. To enable this under 2010 is trivial. Do the following: Within Visual Studio, open Tools > Options…. The following window displays. Browse to Debugging – Symbols. Make sure the Microsoft Symbol Servers checkbox is checked, and indicate a place on your drive…

Read more…

ClickOnce Publish and Deploy from Team Foundation Server 2010

Overview ClickOnce technology is a very powerful way to distribute your applications to end users. It is especially nice for easily distributing updates to your application. Even if you don’t plan to distribute your application using ClickOnce technology, it is still a great tool for deploying daily updates for QA during development. However, publishing and…

Read more…

Enforcing Architecture Rules with Visual Studio

by 

|

in

Visual Studio Modeling Projects allow you to quickly generate useful documentation for your design: class diagrams, sequence diagrams, dependency diagrams. All are very nice to look at and useful for getting to know the system. An additional, somewhat hidden feature of Modeling Projects is the ability to enforce architecture rules. In this post I’ll go…

Read more…

“Transforming” App.Config Files in a TFS Build

by 

|

in

Do you develop using your production or staging SQL server? If so, please don’t. If not, great! How do you keep track of which Web.Config is pushed to your server? VS2010 has an improved Web Deploy process that allows you to use config transforms to adjust your Web.Config files based on the build configuration. Scott…

Read more…

Testing Session in MVC in Four Lines of Code

by 

|

in

Controller testing in the model-view-controller (MVC) is simple. ?The level of difficulty is increased with the use of Session in the controller, but only slightly. In this post I show how to simply test controllers which use Session. Let’s try testing this controller method: The following code (in a test project) will throw a null…

Read more…