OneWayBinding

After writing my last post, I realized that an even better way to do this is to actually formalize the binding as a custom binding: public class OneWayBinding : CustomBinding { public OneWayBinding(Binding baseBinding) : base(baseBinding) { } public override BindingElementCollection CreateBindingElements() { BindingElementCollection bec = base.CreateBindingElements(); bec.Insert(0, new OneWayBindingElement());...

IOutputChannel over IRequestChannel

Udi Dahan ranted a bit about the WCF transport channel model and it's extensive use of generics. More to the point, Udi was running into some trouble trying to simply send a message, one way, over an arbitrary transport channel that could either be one way or not. The problem...

Current Desktop

Hammilton Verissimo (Hammett) was showing off his desktop this morning and asked about what other people's desktop look like. Here's mine: I usually keep around opened Firefox, Vim, Outlook (minimized) and either Foobar 2000 or iTunes (not running right now), and the Virtual Machine I'm working on at the time (usually...

WCF and BizTalk Messaging

Jesus Rodriguez started an interesting discussion here about the differences between WCF Behaviors and BizTalk Server Pipelines, focused on what the right use cases for each one are when developing solutions on BizTalk Server 2006 R2 and the WCF adapters included in it. I think this is a really interesting...

BizTalk and elementFormDefault

Yossi Dahan commented here on being surprised by the implications of the elementFormDefault option in XSD schemas, and particularly in relation to BizTalk. I don't find the behavior surprising myself anymore, as I already was familiar with the implications of elementFormDefault. In reality, this is something that I don't particularly...

ValidateRegEx and Regex Escaping

I recently ran into a problem with Castle's [ValidateRegEx(...)] validation attribute and Monorail, where if you used a regular expression that contained '\' characters to escape symbols, they would be incorrectly rendered in the corresponding client-side Javascript expression. I posted about the issue in the Castle forums, alongside one possible...

Validation In Monorail

I've been building a small application the last few days using Castle, including both Monorail and ActiveRecord, which I had not used before. It's been a very pleasant experience overall, as I dig a bit deeper into some of the features in Castle I had not used before. At the...

PipelineTesting 1.1 Released

I'm please to announce the release of Version 1.1 of my PipelineTesting library for BizTalk Server 2006. PipelineTesting can be used with your favorite unit testing framework to create automated, repeatable tests for the following BizTalk artifacts: Custom Pipeline Components Custom Pipelines XML and Flat File Schemas Version 1.1 adds the following...

Two Things About VPC

Virtual PC 2007 is a great improvement over VPC 2004, since it fixes a number of bugs that caused problems, and overall, it has been working very nicely for me since RTM. However, two issues drive me nuts: Whenever the Clipboard sharing between the host OS and the guest OS...

When Failure is faster than Success...

Yesterday morning I was going through some client/server code I had written, mostly some custom serialization/deserialization code. The code itself was working fine; I had decent set of unit tests for it. Instead, I was focusing on doing some integration testing as well as taking some measurements of how performance...