Skip to main content

VSTS 2010: Architecture Edition Presentation

Recently, I had the pleasure of co-presenting (probably generous...I more just rode shotgun :) on VSTS 2010: Architecture Edition with Randy Pagels, Developer Platform Technical Specialist with Microsoft. We spoke to an impressively-attended internal user group at Cincinnati Financial. Thank you Randy for the invitation to co-present and Cincinnati Financial for having us in.

To be honest, I'm not a big fan of the current 2008 Architecture Edition. Too rigid. Doesn't roll with the punches very well. It's more of a lay-down-the-law boundaries at the beginning of the project without the flexibility of absorbing feedback and instituting ongoing, evolutionary change.

The new version seems much more flexible and functional. It imposes a model / architecture but can be (and expects to be) adjusted easily over the life of the project. One can also institute a confirmation check of the code against the model during the automated build. It's less overbearing and more of a quality gate and feedback mechanism: "Uh, excuse me, you're directly accessing the data layer from the presentation layer...? Nope, sorry. You need to go through the interface / business layer to ensure...Thank you."

From the presentation, we fielded a lot of great questions. Here are the responses Randy and I compiled that we needed to take away. Thanks to Randy and the product group for their responses:


Q. Can we modify the TSWA project home page to include 2 WI query results: Individual, Team?
A. There’s not much you can do with TSWA 2008 but there’s a new feature in TSWA 2010 (which is now a part of TFS 2010) that might accommodate this request. In TSWA 2010, you will be able to customize the “Work Items Summary” section on the home page(talk about nice!) to select a stored query. Even though the Limitation here is that you can’t have more than one query showing, you can select a query that might have a filter that looks like “AssignedTo = @me OR AreaPath=Team”.

Q. Can a Coded UI test, test multiple browsers during a build? e.g. Mozilla, IE6, 7, 8
A. We support IE7 and IE8. The support for FireFox 3.0 will be at CTP level by RTM time. There are no plans for other browser support from product team at this point but there is extensibility support here for other 3rd parties/partners to add the support.

Q. Does code need to compile in order to produce the sequence diagram?
A. Generally speaking, the code must compile for sequence generation to work. Since we use the language services which use a sort of background / delay compile system – you will get a generated diagram for the parts of your code that does compile. For the parts that don’t compile, all bets are off since the language services do not guarantee behavior at that point.

Q. Can you update the underlying DGML XML and have that change reflect in all instances? Sort of a search/replace?
A. Not totally clear on this, but in general, if you update the raw XML behind a DGML graph, it will be immediately reflected in the graph.

Q. Is there any Visio import UML?
A. Yes, this will be provided as a PowerTool at RTM.

Q. Is there any XMI import UML?
A. Yes, same story as the Visio Import.

Q. Is there state management / authentication persistence support within SuperPreview?
A. Since this runs in an actual browser session and will run anything in the “OnLoad javascript” call so if there is anything going on in there it will execute and then take a snapshot of the page. An image is produced after you specify the URL – it is a snapshot. You have to change the URL to change the side by side layout. Unfortunately, there’s no way currently for SuperPreview to work with web pages that are behind a log-in (if I’m interpreting your question, correctly). The page must be publicly accessible. This is a pretty high priority item for the PG with the next version of SuperPreview.

Q. Does Test Essentials require agent/service/install onto QA boxes?
A. Yes, through small services called “Data Collectors”

Q. What's new in unit tests for VSTS 2010?
A. There are some minor enhancements, such as support for categories instead of test lists, performance improvements like using more than one core. Simplifying deployment that will result in improved performance as well. Unit Tests can now be extended with custom attributes (like privilege escalation attribute). The unit test type can be extended to provide custom coded tests (this is how coded UI is implemented)

Some good discussion: on Managed Extensibility Framework (MEF) at http://www.codeplex.com/MEF

Comments

Popular posts from this blog

CODODN: What's New in the ASP.NET 3.5 Extensions: Resources

Thanks for attending my presentation. Resources I referenced: .Net 3.5 Enhancements Training Kit Download Overview of ASP.NET 3.5 Extensions Preview ASP.NET 3.5 Extensions Preview (unrelated) Central Ohio Application Lifecycle Management Group: COALMG Update 4/22/2008 : Props to Dan Hounshell for finding this CODODN video . I'm in there 2-3 times. Nice!

Rollback a Ooops in TFS with TFPT Rollback

Rhut roe, Raggie. You just checked in a merge operation affecting 100's of files in TFS against the wrong branch. Ooops. Well, you can simply roll it back, right? Select the folder in Source Control Explorer and...hey, where's the Rollback? Rollback isn't supported in TFS natively. However, it is supported within the Power Tools leveraging the command-line TFPT.exe utility. It's fairly straightforward to revert back to a previous version--with one caveot. First, download and install the Team Foundation Power Tools 2008 on your workstation. Before proceeding, let's create a workspace dedicated to the rollback. To "true up" the workspace, the rollback operation will peform a Get Latest for every file in your current workspace. This can consume hours (and many GB) with a broad workspace mapping. To work around this, I create a temporary workspace targeted at just the area of source I need to roll back. So let's drill down on our scenario... I'm worki

Get Your Team Foundation Server Hate On!

[Google ranking skyrockets... ;-)] I'm a big fan of TFS/VSTS. However, there are a good pocket of folks who take issue with the way TFS handles or implements a certain feature. Well this is your chance to vent! I'm planning a presentation around the "Top 10 TFS/VSTS Hates and How to Alleviate Them"...or something along those lines. But I need your help. Post a comment below detailing your dislike. If it's legitimate, I'll highlight it in the presentation and [hopefully] provide an alternative, resolution, or work-around. Thanks in advance! Update 7/19/2008: Version Control and Microsoft