Monday 11 June 2012

How to instrument an application with PreEmptive Analytics for Team Foundation Server

As I previously posted, in this release we have a powerful instrumentation tool for our exceptions: PreEmptive Analytics.

Given the required server side configuration, here’s what’s needed on the client side:

Open up Dotfuscator:

 pa1

Set a new executable to target:

pa2

pa3

Then select Analytics…

pa4

pa5

…and we start adding attributes:

pa6pa7

One of the few things we need is an Application ID:

pa8

pa9

Then we add the SetupAttribute to instrument our methods:

pa10

pa11

Here we need to configure the Endpoint: as a default setting, the address to set is tfsserver:8000/Message/Endpoint.ashx

pa12

pa13

The Teardown attribute is needed to clean up after the execution;

pa14

The only missing stuff is the configuration itself:pa15

We go creating a new subscription:

pa16

Copy-paste the IDs needed (Company and Application). The most important setting here is the Threshold: if we set it to 1, we’ll have an Incident work item for every time the exception raises.

pa17

That’s it people Smile

Wednesday 6 June 2012

Forward Compatibility Patch for Visual Studio 2008 to support TFS 2012 and Service is out!

For who is still using Visual Studio 2008 and wants to connect to Team Foundation Server 2012 or Team Foundation Service, the GDR patch has just been released!

Here’s the download.

Matteo