Dealing with Legacy Code

Jeremy Miller has posted an excellent article with tips about working with Legacy Code. I've had similar experiences with some code that definitely meets the definition Jeremy proposes: "Legacy Code is code you're afraid of". I particularly agree with the tip that improving error handling in legacy code (which is...

Spawned Contexts and Activity Binding

A few weeks ago, there was a post on the Advanced Workflow blog (an excellent resource, which I recommend you take a look at) about spawned contexts and how it affects activities (or rather, code related to activities) nested inside activities such as Replicator, While and so on. This is...

Choosing an Scheduler Service for Workflows in ASP.NET

The Advanced Workflow blog has an interesting post on choosing the correct scheduling service for the Windows Workflow Runtime when you are going to be running workflows from within ASP.NET applications. The recommendation is to use the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService that is normally used in other scenarios, because it forces...

Pipeline Testing Library - Part 2

Continuing from part 1, we'll now see how to handle schemas and execute receive and send pipelines with the pipeline testing library. </p> Configuring Known Document Specifications </p> If you want to use an assembler or disassembler on your pipeline, you'll need to make sure that it can resolve the...

Martyn Lovell on the Secure CRT

There's a video posted over on Channel 9 featuring Martyn Lovell from the Visual C++ team talking about the Secure CRT. For those of you still using C++ this might be interesting... </p>

Pipeline Testing Library - Part 1

As I mentioned on a previous post, I've been working on a helper library to test BizTalk Pipelines and Custom Pipeline Components using NUnit or your unit testing framework of choice. I've uploaded V1.0 of the library, which you can download from here. </p> The library is pretty straightforward to...

Custom Controls in WPF

While reading Chris Sell's and Ian Griffith's Programming Windows Presentation Foundation book, I ran across the following tidbit on chapter 9 on custom controls: "One of the main reasons for writing custom controls in older user interface technologies is to modify the appereance of a control, but as we've seen...

Mort or Elvis

Scott Bellware has written a pretty lengthy piece called "Mort or Elvis? A Question for a Bygone Era" (found via Sam). If you haven't already, go read it. Now. It's an excellent, thought-provoking piece, well worth reading. </p> I find myself agreeing with a lot Scott mentioned. I think he...

Testing Pipeline Components

As many of you know, there are basically two ways to test custom Pipelines and custom Pipeline Components in BizTalk Server: </p> To create them and test them by using them "for real" in biztalk messaging scenarios: i.e. configure ports to use your custom pipelines and feed messages through them.</p>...

TestDriven.NET Tryout

It has been sometime since I had tried TestDriven.NET out (I've been using the NUnit GUI meanwhile). However, I decided to download and try again the latest TestDriven.NET build alongside Visual Studio 2005, and it has worked wonderfully. Thanks to Jamie Cansdale for putting together such an amazing tool. </p>...