Using a WCF proxy through an ISA proxy server

 When I tried I received the following very helpful System.ServiceModel.ProtocolException with Message=”The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).”And this in turn contained an inner exception of type System.Net.WebException and Message=”The remote server returned an error: (407) Proxy Authentication Required.”.Now I cannot find any way to add the required authentication but it turns out that setting the wsHttpBinding useDefaultWebProxy to false works just fine [:)]Enjoy! 

Using multiple WorkflowRuntime objects in a single AppDomain

For some reason a lot of people seem to think that only a single WorkflowRuntime object can be created in an AppDomain. And it isn’t just the average Joe out there who seems to think so, no even book authors describe this behavior as the Workflow Foundation book I am reading now does so. Just to set the record straight I will shout this out once more: You can have multiple WorkflowRuntime objects in a single .NET AppDomain Now I know where this perception comes from and its the original beta of Workflow Foundation way back before .NET 3.0 was … Continue reading Using multiple WorkflowRuntime objects in a single AppDomain

Working with the ReplicatorActivity and an UntilCondition

The ReplicatorActivity is one of the more interesting Workflow Foundation activities to work with when you have a collection of data and want to iterate over each item. Basically just think of it as a For Each statement in regular code. To demonstrate the behavior I have created a very small workflow that looks like this in the designer: Or in case you prefer the XOML like this:<SequentialWorkflowActivity x:Class=”WorkflowConsoleApplication5.Workflow1″ x:Name=”Workflow1″ xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/workflow”> <ReplicatorActivity x:Name=”replicatorActivity1″ ChildInitialized=”SetupChildData” Initialized=”SetupData” ExecutionType=”Sequence”> <ReplicatorActivity.UntilCondition> <CodeCondition Condition=”RepeatUntill” /> </ReplicatorActivity.UntilCondition> <CodeActivity x:Name=”codeActivity1″ ExecuteCode=”codeActivity1_ExecuteCode” /> </ReplicatorActivity> </SequentialWorkflowActivity> The codebehind file I used looks like this:Public Class Workflow1 Inherits SequentialWorkflowActivity … Continue reading Working with the ReplicatorActivity and an UntilCondition

Who writes a blog post?

The recent release of the .NET 3.5 and Visual Studio 2008 beta Service Pack 1 has started an interesting discussion over on Microsoft Watch. Joe Wilcox writes about how some of these posts seem predated and about seeing some blog post before being published, under embargo, just as previously happened with press releases. he raises an interesting question: are blog posts degraded to just just another marketing outlet and, possibly, not even written by the people under whose name they are published? There may well be some truth in this as blog are an important communication feature. And why would … Continue reading Who writes a blog post?

Book review: Pro WCF: Practical Microsoft SOA Implementation

I recently received a copy of Pro WCF: Practical Microsoft SOA Implementation so I could review it. So did I like the book? Not really [:(] The problem with the book is that it wants to cover far too much and diverse material. Now covering a lot of material in a book isn’t a bad thing per se but in this case it resulted in a book that doesn’t really server a purpose. Basically the book is divided into three parts. The first part is titled Introducing Windows Communication Foundation. In fact quite a large section is not about WCF … Continue reading Book review: Pro WCF: Practical Microsoft SOA Implementation

Samples from my VSTO session in Galway

Attached are the session slides and samples from my Visual Studio Tools for Office session I did in Galway earlier today. Hope you enjoyed the presentation as much as I did [:)] Download them here. www.TheProblemSolver.nlhttp://wiki.WindowsWorkflowFoundation.eu

Samples from my Workflow session in Galway

Attached are the session slides and samples from my Workflow Foundation in a Service Oriented world I did earlier today in Galway, Ireland. Hope you enjoyed the presentation as much as I did [:)] Download them here. www.TheProblemSolver.nlhttp://wiki.WindowsWorkflowFoundation.eu

.NET Events in Nederland

Wat gebeurt er allemaal voor .NET ontwikkelaars in Nederland? Best veel geloof dat maar. En niet alleen de opvallende zaken als een DevDays of een SDC maar er zijn veel meer bijeenkomsten. Alleen hoe weet je wat er allemaal georganiseerd word en door wie? Tot nu toe moest je daar een hele serie websites en blogs voor nalopen, niet echt handig als je het mij vraagt. Daarom heb ik besloten die informatie te verzamelen op een enkele plaats. Zeg maar een one stop shop voor .NET bijeenkomsten die interessant zijn voor Nederlandse .NET ontwikkelaars. EN waar kan je dat dan … Continue reading .NET Events in Nederland