TechEd was great this year… I attended a few great sessions, mostly on VSTS and BizTalk, manned my company’s booth and (of course) socialized. I did get a chance to eat dinner with members of the BizTalk product team and also spent a lot of time hanging out at the Team System cabana. Although I learned quite a few things, some of them made enough sense to pass them on…
When tuning an application it is nice to have repeatable test cases so that you can measure your progress during the tuning process. That is impossible to do effectively if you are manually running a web site or other application that requires manual intervention. The obvious choice is to use a unit test or a web test to drive the profiling session. I thought I knew how to do this in previous CTP releases but couldn’t get it to work in Beta 2. The Performance Explorer and the Performance Session Wizard do not know how to add a test-based profile target. The solution is to add it from the test results as shown below. That is, run your tests, right-click on a result, and select Create Performance Session.

This seems to work fine for C# unit tests. I understand that there is a little manual clean-up that you have to do in Beta 2 for VB-based unit tests, although I’m sure that will be fixed. In addition, the Create Performance Session wizard from Web Test test results seems to work but when you try to run the session it fails. Again, I hope this will be fixed before RTM.