Mathias Olausson [MVP]

Archive for the ‘16693’ Category

Building a Release Pipeline with Team Foundation Server 2012

without comments

Last week Microsoft Patterns & Practices released a new guide about release management using TFS 2012. I had the opportunity to read the guide during development and it has both great guidance, hands-on labs and concrete tooling to support the process. I personally really liked the section on getting good feedback, where the authors shares some good examples on how to use TFS to understand and optimize cycle times in the release process. I definitely recommend taking a look at this guide if you in any way are involved in the software release process.

From the guide:

“The goal of this guidance is to put you on the road toward continuous delivery. By continuous delivery, we mean that through techniques such as versioning, continuous integration, automation, and environment management, you will be able to decrease the time between when you first have an idea and when that idea is realized as software that’s in production. Any software that has successfully gone through your release process will be software that is production ready, and you can give it to customers whenever your business demands dictate. We also hope to show that there are practical business reasons that justify every improvement you want to make. A better release process makes economic sense by providing:

  • Faster time to market
  • Better quality software
  • More productive employees

Follow the team at Trey Research as they refine their processes and move from a mostly manual pipeline to one that’s mostly automated.”

Start reading the guide here.

Written by Mathias Olausson

October 6th, 2013 at 2:28 am

Posted in 11561,16693,17177,18132

Dev.Cast 41 – Nyheter i Visual Studio 2013 ALM (SWE)

without comments

Förra veckan hade jag och Magnus Timner en pratstund med Dag König om nyheterna i Visual Studio 2013 ALM. Lyssna in på Dags podcast här:

Written by Mathias Olausson

September 17th, 2013 at 5:11 pm

Posted in 16693,18112,18113

Extending TFS Work Item using a web page and the WebpageControl

with 4 comments

Have you ever wanted to add custom behavior to the TFS work item tracking system? TFS is very flexible when it comes to adding fields, rules and state transitions. But when we need more specialized behavior there is usually only one solution – to implement custom work item controls. It’s pretty straight-forward to implement a work item control ( has some good examples), but we need to implement the control for each client we want to use it (Visual Studio, Web access) and also the control must be deployed to each machine where the client is run.

A much simpler approach can be to implement the extension as a web page and host the web page in the work item form. This solution works with any client (since it’s just a web page) so you won’t have to have one implement for each client type. In TFS 2010 the WebpageControl was introduced, which can be used to host a custom web page inside a work item form. We can configure the control to pass data from the work item to the web page when the control is displayed. So with the WebpageControl we can use the TFS API to write a web page that can surface more or less any data in the work item UI.

In this example I will extend the Test Case work item type with a tab that shows the test suites where the test case is used together with the status of the latest test run in each of the suites.

Note: it’s recommended to work with TFS customization in a sandbox environment so you don’t disturb production use of your TFS. A very easy way to get a development environment for TFS is to use Brian Keller’s Visual Studio / TFS 2012 virtual machine.

The WebpageControl isn’t that much documented on MSDN so I’m going take you through the steps of extending a work item type with the control and linking it to a custom web page.

  1. Implement the web page for the extension you want. Since this is just a web application it’s simple to develop, debug and test the extension. Design the page so data can be passed from the work item to the page using URL parameters.


  2. Add a WebpageControl to the work item type. The easiest way to add a control is to use the Process Template Editor (part of the TFS Power Tools):


    Make sure to set the Dock property to Fill if you want the control to use the whole tab space.

  3. Configure the WebpageControl using the Control Settings:


    Set the URL to display and other properties as appropriate:


    Note the use of field names. You can reference any field with it’s unique reference id, for instance the Team Project name would be $(System.TeamProject).

  4. Save and update the work item type definition. Refresh the client you are using to make sure the test case type definition has been updated.
  5. Open a test case and see the new control with the custom web page content appear under the Test Suites tab.


Simple, wasn’t it? Feel free to leave comments on what you think of this approach.

Written by Mathias Olausson

July 28th, 2013 at 3:37 pm

Posted in 11561,16693,17177,17924

Microsoft Sommarkollo 2013 (swe)

without comments

För elfte gången håller Microsoft sommarkollo, i år i Göteborg, Stockholm och Malmö. Det är kostnadsfritt så passa på att unna dig några sessioner om de senaste trenderna och produkterna från Microsoft!


Jag är glad att få vara med på evenemanget och kommer presentera dessa två sessioner:

Båda går först i Göteborg den 26 juni och sedan 15 augusti i Stockholm (där min kollega Magnus Timner kommer vara med).

Passa på att boka en plats nu på en gång!

Written by Mathias Olausson

June 5th, 2013 at 4:18 pm

Posted in 11561,16693,17177

Book project #2 – Pro Team Foundation Service, done!

without comments

I’m happy to share the release of the second book I’ve been involved in. This time the subject is the Team Foundation Service and how it can be used to setup a complete development infrastructure in just a couple of minutes. Oh, well, at least that’s what it takes to create an account… To fully take advantage of all its capabilities obviously will take much longer but hopefully the practices and experience we share in this book will help you get going quickly.

I’ve had the opportunity to work with a great team to author the book, with co-authors Jakob Ehn, Mattias Sköld and Joachim Rossberg. We’ve got great input and feedback from people in the product group, thanks Jamie, Will, Ravi, Anu, Vijay and Ed! And not to mention our most thorough reviewer Terje Sandstrøm. And thanks to Brian Harry for writing the foreword!


You can read more about the book at Amazon:

Hope you find the book useful, I definitely learnt a lot from writing it!

Written by Mathias Olausson

May 22nd, 2013 at 4:08 pm

Posted in 11561,16693,17177,17924

Vad din app gör när du inte ser på? (swe)

without comments

– eller hur din applikation beter sig i produktion.

Om ett par veckor (3/5) kör vi ett seminarium tillsammans med Informator på ovan titel, ett i mitt tycke aktuellt ämne där vi tittar på hur vi med rätt verktyg kan få kontroll över hur våra system fungerar i drift och vad vi kan göra för att snabbt åtgärda problem när de uppstår.

Mer info och anmälan:

Buggar och prestandaproblem kan vara nog så svåra att hantera i en utvecklings- eller testmiljö. Men när de uppstår i produktion så kan det verkligen bli otrevligt.

Under detta seminarium tittar vi på verktyg för bättre applikationsanalys och hur dessa kan användas för att hjälpa oss förstå produktionsbeteenden på ett bättre sätt. Vi utgår från .NET och Visual Studio 2012 och tittar på tekniker som:

  • Run-time analys Arbeta proaktivt med prestanda och felinformation så vet vi vad som funkar och inte, innan våra användare gör det.
  • IntelliTrace Om fel trots allt uppstår kan IntelliTrace hjälpa oss få detaljerad information om felsituationen.
  • Profiling Profileringsverktyg ger oss nödvändiga detaljer om minnesläckor eller prestandaproblem, så vi snabbare kan hitta källan till problemet.
  • Prestandatest De integrerade verktygen i Visual Studio låter oss enkelt simulera produktionsförutsättningarna, så vi kan säkerställa att applikationen kommer prestera som det är tänkt.

Written by Mathias Olausson

April 16th, 2013 at 2:21 pm

Posted in 16693,17177,17841

ALM Rangers DevOps bug resolution using IntelliTrace Guidance Released

without comments

Yesterday the ALM Rangers released a new guidance project, this time around how to use IntelliTrace to enable better developer-operation scenarios. I’ve had the opportunity to work in this project and I recommend you take a look at what the team has put together. IntelliTrace can be difficult to get started with but these guides should help get the concepts right and get started in a good way.

I’ve worked on a couple of hands-on labs to walk you through setting up IntelliTrace, capturing IntelliTrace logs in production- and test environments and finally analyzing the IntelliTrace logs in Visual Studio.

  • The Epics included in the guidance are:
    • As Bill, the ALM Ranger, I would love practical and exciting DevOps & IntelliTrace Posters.
    • As Abu the Build Master, I would like practical guidance on how to to configure my TFS Build server to support IntelliTrace.
    • As Doris, the Developer, I would like practical guidance to resolve a bug in DevOps using IntelliTrace.
    • As Jane, the Infrastructure specialist, I would like practical guidance to implement IntelliTrace in DevOps.
  • The guidance includes the following artefacts:

    • Cheatsheet – Build Master DevOps and IntelliTrace Checklist
    • Cheatsheet – IntelliTrace Cheat Sheet
    • Cheatsheet – Ops view of DevOps and IntelliTrace
    • Hands-on Lab – Build (Symbols Configuration & Build)
    • Hands-on Lab – Dev (Client Side No Symbols Found Resolution)
    • Hands-on Lab – Ops (Collection for WPF Rich Client)
    • Poster – Encountering IntelliTrace technology in DevOps
    • Poster – Resolving bugs in DevOps with the help of IntelliTrace
    • Quick Reference Guide – Developer view of DevOps and IntelliTrace

Download the guide and tell us what you think.

Written by Mathias Olausson

April 12th, 2013 at 6:10 pm

Posted in 16693,17177,17841

WIT Custom Controls for TFS v1.1.1.0 Released

without comments

I just pushed an update to the Custom Controls for TFS (WITCustomControls) project today. The project has been idle for a while but I decided to do a some work to enable the controls to work with TFS 2012. Soon after that pseranne contributed with a TFS 2012 Web control for the MultiSelectList control, which is the reason for the latest release.

These are the two recent changes: release added support for TFS 2012 Windows Controls. release added the MultiSelectList as a Web Control for TFS 2012 making the control available seamlessly in all TFS clients:



Visual Studio


Microsoft Test Manager


Read more and download the controls from

Written by Mathias Olausson

December 28th, 2012 at 9:28 am

Posted in 11561,16693

Links from “Agile Development with Visual Studio 2012”

with one comment

Last week I did a presentation on agile development practices with Visual Studio 2012 together with Informator. An interested crowd turned up and they brought lots of good questions. The features around agile planning and the new development tools seemed to have made the biggest impression, not suprising since they are really nice tools adding direct value to the users.

For those who want to take a deeper look at the new features I recommend downloading the official Visual Studio ALM 2012 evaulation virtual machine. All you need to try out the tools with great hands-on labs to go with ut in one package. Note: you will need a Hyper-V host to run the VM, I recommend using Windows 8 with it’s native support for Hyper-V.

These is also good getting started content on the Microsoft ALM site.

Written by Mathias Olausson

December 18th, 2012 at 6:54 am

Posted in 11401,16693,17177

Testing for Continuous Delivery with Visual Studio 2012

without comments

Microsoft Patterns and Practices just release a new "blue book”, this time covering many testing practices using Visual Studio ALM 2012 as the foundation. The book has a nice scenario-oriented approach with good practical examples to get you started.


The book is available for free and can be downloaded here:

Written by Mathias Olausson

October 21st, 2012 at 3:12 am