Evaluating Iron scripting languages for use as a test framework

Not so long ago, I was passing through the hallway and someone from my team was giving praises about the XML based scripting language they were using to automate some tests.  This was particularly desirable because the process of compiling test changes, copying binaries to the correct location on the virtual machine, and rerunning the…

0

How to avoid Scary problems when using the Task Parallel Library

Recently our team was close to an important milestone, and were fixing the last remaining bugs before signing off.  There were some intermittent failures that needed to be tracked down before release. In this post I will describe some of the problems that can show up when using Task Parallel Library so hopefully you can…

0

Organizing for virtualization

You may have been wondering what is keeping me so busy that I missed my regular posting schedule.  Among other things, I now have a machine at home that supports virtualization. This gives a lot more possibilities to experiment with software and blog about those experiences. It became clear to me though that with multiple…

0

Refactoring to interfaces and patterns

While refactoring my example code to use the Task Parallel Library, I happened to be reading the book Brownfield Application Development which I found quite interesting.  It gives some good tips on how to slowly improve the maintainability of code bases over time. Inspired by the book, I decided to try some of the techniques…

0

Refactoring the Asynchronous State Machine to use TPL

In a previous post, I gave a possible implementation of an asynchronous state machine using the APM asynchronous pattern. There may be other reasons, but the topic was difficult to present clearly in a blog post because of the complexity and volume of code involved. I’m sure not too many people made it to the…

0

Unity Container speed test – huh?

I was doing a little surfing and came across a post on DI container performance measures by Philip Mateescu. Having just done an intro article on Unity, I was interested in seeing how it placed. I hadn’t thought much about the performance implications of the containers, but it knew could be very useful information to…

0

Check out the Async CTP

Up to this point I’ve done a few posts related to implementing and using the IAsyncResult pattern.  This was a good example problem to show how some tools and techniques can be used.  As you are probably aware, in .Net 4.0 there is a new solution for solving the problem of doing work asynchronously, in…

0

Introduction to Unity Application Block 2.1

In this post I would like to do a simple introduction to Unity Application Block. Unity is a framework that supports dependency injection (DI) in constructors, properties, and method calls.  Unity also supports intercepting method calls which I may cover in a later post. The documentation for Unity is pretty detailed, so it is probably…

7

Comparison of Text templating vs Compiler Extensibility

 In this post, I would like to wrap up a quick tour of compiler extensibility with a few thoughts on how it compares to Text Templates. Text Templates It is easy to get started with text templates and the tools.  In most cases, you probably have a file that looks similar to what you…

0

How to implement IAsyncResult using compiler extensibility

In previous posts I gave an introduction to Boo and the extensibility of the compiler. In this post we are now able to look at how compiler extensibility can be used to improve the creation of asynchronous operations. Initially, I thought it would be straighs’t forward to modify the model created earlier with text templates…

0