Visual Studio Team System 2010 and Team Foundation Server 2010: already in love with all the new features!

An exhausting day at PDC… Here are the sessions that I did:

  • Keynote: Windows Azure
  • Microsoft Visual Studio Team System: A Lap Around VSTS 2010

  • ASP.NET 4.0 Roadmap

  • Team Foundation Server 2010: Cool New Features

  • WF 4.0: A first look

 

I really love the new features of VSTS and TFS; I can hardly wait to start using them…

 

I will not go into a lot of detail here, instead I will highlight a couple of the main features and hope it will incourage you to go and view the session online.

 

Microsoft Visual Studio Team System: A Lap Around VSTS 2010

Cameron Skinner put it real nicely with 4 key points all getting rid of things we do not like as Developers. VSTS 2010 is focussed on making the developers happy…

No More ‘No Repros’

Basically focusses on getting more complete data from the testers to make it easier to sea where/why/when a bug occured. What do you think of a Manual Test Runner with a recorder to capture a video which can be viewed by the developer? Or what about a System Info tab in the workitem? Or a Debug History window, where you can ‘debug’ the code on the server from the nightly build as if it were happening live?

These things really are going to make the developers life a lot easier.

No More Broken Builds

This is a developers dream come true: being unable to break the build. No more buying cake for the team…

Made possible by:

Gated Check-in, which is more a TFS feature than a VSTS one but who cares. If set up on the server, you cannot check in changes if these changes break the build.

Test Impact Analysis, which is a feature that analyses a changeset to see which test is most likely to be affected by the change, so you can start with that test.

No More Butterfly Effects

This is all about preventing code rot.

Builds may fail by a violation of your architectural design. You can make a .layer diagram and the actual solution is tested against this design.

The Architecture Explorer generates a diagram of the actual architecture of the solution and you can drill down into great detail in the diagram as well as jump to the code.

A sequence Diagram can also be created, making it easier to see where the butterfly might cause a storm…..

No More Regression

There is a new kind of test: The CodedUI test with a recorder for Web and it will be there for WinForms as well as WPF. Silverlight is regretably not planned yet.

 

Team Foundation Server 2010: Cool New Features

Protect Code Quality

Gated checkin

Buddy Builds or private builds: run on the server but without checkin

Workflow based build creation. Basically something like finalbuilder.

Parallel build tasks

Parallel Development

Branches have become real entities instead of folders and they are hierachically linked. The relations can be viewed visualy as well.

You can track changesets, workitems and annotations through merges; again with diagram.

Rollback is finally here..

Managing Projects

New excel workbooks, excel report generation from Query.

Workitems link and hierarchy improed

Query improvements

DataDude and VS Developer Edition will be merging

I just read the DataDude blog and look and behold in VS 2010 the DB Pro and the Developer edition will be one. And even better news: as of today the developer edition MSDN subscribers will have access to the database edition as well. This really solves a dilemma for us at work.

We do not really have a DBA in place and the developers have to do the database work themselves. This is not ideal, but I think it is a rather common practice in the business. And we were still in doubt whether to buy a database edition license for each developer or have a single database license on a server or shared workstation somewhere. The first option is great, but expensive. The second option a lot cheaper, but far from ideal (read: not workable).

Now we wait untill Microsoft will also merge the Tester edition (although the workstation option works much better for this edition).

 

Read on here:

http://blogs.msdn.com/gertd/archive/2008/09/29/team-developer-team-data-team-developer.aspx

SQL Profiler makes debugging easy…

… if you make it easy on yourself.

 

I was searching for a particular statement hidden in a Stored Procedure, but all I got was tons of statements that were irrelevant to my problem.

The problem with SQL Profiler is that it can give you lots of information, but it is not easy getting the right information. The Standard (default) template for a SQL Profiler trace doesn’t capture the statements inside a stored procedure. To do this, you will have to choose a different template: the TSQL_SPs template.

But even with the right template it could be hard to find a specific statement caused by a specific application.

By default .NET applications show up in the Profiler with the ApplicationName ‘.Net SqlClient Data Provider’. It would be so much easier if you could just filter on ‘My Application’. Well, you can.

Change the connectionstring for your application. Add ‘Application Name=My Application;’ and the ApplicationName will now say: My Application.

You can now filter Sql Profiler to show stored procedure statements of your application only and for your database.

 

For an explanation of all the different Sql Server Profiler templates you can go here: http://www.extremeexperts.com/SQL/Articles/TraceTemplate.aspx