Michael Stephenson

keeping your feet on premise while your heads in the cloud
posts - 358 , comments - 473 , trackbacks - 11

My Links


View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn





BizTalk Solution Analyser
For a while I’ve been working on an idea and whitepaper around analyzing source code to measure the size and complexity. There are some tools around which can do this but my differentiator is that I was interested in BizTalk projects and wanted to look at how these could be measured. Note however this can be easily used for non-BizTalk projects too. The aim is to be able to understand the size and complexity of a solution and to allow some real metrics to contribute to your understanding of the Total ......

Posted On Saturday, December 10, 2011 5:18 AM | Comments (2) |

MsBuild & Windows Services
I've been revisiting a POC I did a while back that involved some custom Windows Service development. It reminded me that it's a little bit of a pain managing the clean and deployment of your Windows Services as part of your MsBuild script and I just wanted to make a few notes on this as a reminder to myself and potentially help others. The below will describe what I do. Cleaning up Typically this is the section that causes some hassle. The aim is to undeploy and delete any previous instances of the ......

Posted On Sunday, August 23, 2009 7:12 AM | Comments (3) |

Configuration Manager - New Release
Ive just released a new version of the configuration manager tool which I used in the BizTalk Light and Easy viewing video. This tool is used to help you manage the different settings needed for binding and configuration files across different environments and allows you to connect this with your build process. The tool is available on codeplex at: http://configsettingstool.c... The light and easy video is at: http://blogs.breezetraining... ......

Posted On Friday, August 14, 2009 5:35 PM | Comments (0) |

Solution file version issue when migrating your Build Script to BizTalk 2009
Ive just been working on upgrading the build generator to support BizTalk 2009 projects. While doing this one of the things i wish to do is to change the compile step to use MsBuild rather than dev env. I found a little issue which others who use MsBuild may come across when migrating custom scripts. Previously for BizTalk 2006R2 scripts I used to use the below command: <Exec Command='"$(DevEnvPath)" $(SolutionName) /Build $(ConfigurationName)' /> This would compile the whole solution using ......

Posted On Saturday, July 4, 2009 6:20 PM | Comments (1) |

Reconfigure BizTalk with MsBuild
The other day I was having an issue with our build server so I decided to write a script to reconfigure BizTalk on our build or development servers. My plan was to run this regularly on a scheduled basis to ensure our build servers were kept clean. I thought id write a little about this as it may be useful to others. Note the script is aimed at a single machine hosting BizTalk 2006 R2 and SQL Server. Before I started I exported the configuration of our BizTalk Group to a file and then amended the ......

Posted On Wednesday, February 4, 2009 11:55 PM | Comments (1) |

Dynamic BizTalk Versioning Strategy with Cruise Control
Article Source: http://geekswithblogs.net/m... Versioning is one of the more difficult aspects of a BizTalk project mainly because of the ability to deploy side by side versions of the components within a BizTalk application and the fact that often a BizTalk project would require long running processes making it more difficult to do deployments. There are a couple of useful resources available on this area: In his article Versioning and Re-Deploying BizTalk Server 2006 Applications Richard ......

Posted On Thursday, December 18, 2008 4:03 PM | Comments (1) |

I hate days like this
Had one of those days yesterday and today, you know what its like when you find a bug/problem and you dont really get a chance to properly look at it when your doing a million things at once. It is so often that the cause of the problem is really obvious but you just cant see the wood for the trees. This is a reminder for myself as much as anything. I was writing an msbuild task to wrap cruise controls ICruiseManager so I can get the latest build label of a project that has been built. The problem ......

Posted On Tuesday, August 12, 2008 7:38 PM | Comments (0) |

BizTalk Documenter in my build
From previous posts you may have read how I integrated the Microsoft BizTalk documenter into my MsBuild process. In general this has been working fine, but every now and again I kept getting a build failure when trying to generate the documentation as follows: System.IO.DirectoryNotFound... Could not find a part of the path 'C:\Documents and Settings\<UserAccount>... Settings\Temp\BTS2K4Doc\App... If you get this it seems to be caused ......

Posted On Tuesday, August 5, 2008 12:17 AM | Comments (0) |

MsBuild Task for consuming WCF Services
Article Source: http://geekswithblogs.net/m... Recently at the UK SOA/BPM User Group Yossi Dahan and I chatted briefly about using MsBuild and BizTalk, more specifically Yossi mentioned that he wished it was possible to regenerate the schemas for consuming a service automatically. Following this discussion and a few other things I had a blast at seeing how difficult this would be to do. I think there is a lot of value in having this approach as it fits well with a contract based development ......

Posted On Tuesday, July 29, 2008 1:16 AM | Comments (2) |

BizTalk MsBuild Generator
I created this tool ages ago and have been using it on projects for a while. Ive eventually got around to cleaning it up and doing some documentation for it so I have now made it available on CodePlex. Basically the tool allows you to generate an MsBuild script which will let you do all of the build and deployment actions to compile and deploy your BizTalk solution. It also produces a script which is well structured and easy to extend. If you want to know more check out: http://www.codeplex.com/Biz... ......

Posted On Saturday, February 16, 2008 1:40 AM | Comments (5) |

MsBuild Task for WCF Service Publishing for BizTalk
A number of months ago I did a couple of posts about how we integrated the Soap and WSE web service publishing wizards into our build process as MsBuild tasks. These posts are located at the following url's: Soap Adapter: http://geekswithblogs.net/m... WSE 2 Adapter: http://geekswithblogs.net/m... Now that BizTalk 2006 R2 is around I want to have the same approach for the WCF Publishing Wizard. Before I get into ......

Posted On Sunday, February 3, 2008 6:12 PM | Comments (0) |

Integrating the BizTalk Orchestration Profiler into your MsBuild Process
I have been wanting to include the BizTalk orchestration profiler into our build process for a while and have eventually got around to doing it. Like some of the other recent posts ive produced a simple example demonstrating this. I will begin by discussing the example on how to use the task and then follow this with some comments on the task itself. Using the BizTalk Orchestration Profiler MsBuild Task The idea of the BizTalk Orchestration Profiler Task is that when my build script has ran the BizUnit ......

Posted On Tuesday, January 29, 2008 9:22 PM | Comments (3) |

Configuring Binding Files for BizTalk
Problem In all BizTalk projects you come across the old problem of configuration and how to manage the environmental settings when taking your solution from development to other environments. The common scenario is, I work with my binding file and get my solution build and tested etc and then I take it to the testing environments or production and I need to have a new binding file or I need to manually change the settings for ports etc. Obviously any manual steps are usually error prone so this never ......

Posted On Sunday, January 27, 2008 5:31 PM | Comments (1) |

Where have the microsoft sdc msbuild tasks gone?
I was looking for the Microsoft Enterprise Solutions Build Framework or Microsoft.Sdc build tasks as it is sometimes known. if you google it most of the links point to gotdotnet. I did a search on codeplex and initially didnt find it because i was looking for the wrong name. Eventually i found it, and if anyone needs it it is located at http://www.codeplex.com/sdc... Hope this helps Mike ......

Posted On Friday, January 25, 2008 11:10 PM | Comments (0) |

Generating the C# to call BizUnit Tests
I'm not sure about anyone else but when I come across something that is boring and repetitive I usually get around to doing some tool that minimizes the amount of time I spend doing it. In this case the task that is boring me is writing the repetitive C# code to call BizUnit to make it run your tests. I'm sure there are lots of different ways you could do this but one day when I was stuck waiting for a while at the airport I got bored and decided to do something to stop me having to do this. Aim ......

Posted On Saturday, January 19, 2008 11:05 PM | Comments (3) |

Problem resuming an orchestration with WMI
Problem I recently had to make a change to one of out orchestrations on a BizTalk project. The change was that we needed to in a certain case suspend the long running orchestration and raise an event which would be handled by MOM. This would cause an alert to an administrator who would check out what we think could be a potential error condition. When the administrator had checked everything was ok he/she would use the instance id to find the orchestration via the group hub and resume it. This is ......

Posted On Tuesday, January 15, 2008 12:44 AM | Comments (0) |

BizTalk 2006 Documenter MsBuild Task
I have eventually got around to wiring up the BizTalk Documenter to our build process today. I did have an issue which is already logged on the codeplex site for the Documenter about problems when tracking is enabled on ports. I have worked around this problem by getting the source code for the documenter and building a local version of it with a fix until the next release where hopefully this will have been resolved. If you want more info about this please refer to: http://www.codeplex.com/Biz... ......

Posted On Monday, November 19, 2007 8:06 PM | Comments (0) |

Dont make the silly mistake i did with virtual directory in ms build and web service publishing
Problem Scenario I was encountering what appeared to be strange behaviour with the build script and running of tests in one of my BizTalk solutions. In the build script i create 3 virtual directories, 1 which hosts the web services i will publish from BizTalk and 2 which will host stubs of external applications. The build script will delete them if they already exist and then recreate them from scratch. The build will then generate the web services which are to be published by BizTalk, and finally ......

Posted On Thursday, June 14, 2007 6:06 PM | Comments (1) |

Calling MsTest from MsBuild with multiple test containers
Learnt something new with MsTest today… in the scripts I have for our projects we run the tests using MsTest from the command line as follows: <Exec Command='"$(VS80COMNTOOLS).... /testcontainer:Acme\Group\B... /runconfig:localtestrun.tes... /> <Exec Command='"$(VS80COMNTOOLS).... /testcontainer:Acme\Group\B... ......

Posted On Friday, April 27, 2007 10:13 AM | Comments (22) |

BizTalk & Continuous Integration - Ensure builds dont conflict
Problem We currently have a number of BizTalk Applications under development, each has its own Solution. As we begin integrating them with Continuous Integration there will be a potential issue. Imagine the scenario where Application A and Application B both have check-ins performed at a similar time triggering the automated build for both projects. As both Applications depend on BizTalk if the build process does something to BizTalk it might cause the build of the other to fail. An example of this ......

Posted On Tuesday, April 24, 2007 3:58 PM | Comments (3) |

BizTalk Web Service Publishing - WSE 2.0 Adapter
Following on from my previous blog this will discuss the same topic in the context of the WSE 2 adapter. Problem Again i wanted to be regenerating the web services published by the WSE 2 adapter as part of my automated build. I wanted to use the same technique where possible, i.e manually publish the first time or when ever there was a significant change. I would then include the description file for the web services in my solution and then regenerate them using the custom msbuild task. My aim was ......

Posted On Saturday, September 16, 2006 7:20 PM | Comments (0) |

Powered by: