I was wondering if there is any way to create/modify an orchestration by code instead of drawing the boxes.
I know that everything gets converted to c# code(or something very similar) in the .odx file. So is there a way to modify that code and have biztalk generate those drawings instead?
Since my experience is much more in C/C#, the code approach is much more natural to me than drawing approach.
BTW, I am NOT talking about writing custom pipelines or other external classes to be called from the orchestration, I already know how to do this. I really want to code the orchestration itself by code.
While in theory this is possible I think I would rather gouge my own eyes out than try to write an orchestration by hand. The odx file is in two parts, the xml defines the shapes and layout and the xlangs code defines the types and functions describing the shapes. This a similar concept to the old “code behind” in aspx 1.1.
These two things are useless without each other, so the XML by itself will layout all the shapes but will not compile, and the code by itself cannot compile either (although to be honest I have never tried this).
If you are looking for a more standardised language to describe business processes you could look at BPEL, which is supported by BizTalk, but then again I have never worked with this so could not comment further.