Neil Thompson

BizTalk | .NET | SQL |

  Home  |   Contact  |   Syndication    |   Login
  15 Posts | 20 Stories | 45 Comments | 55 Trackbacks

News

Article Categories

Archives

Post Categories

Fav BizTalk Blogs

Please remember that when you use the expression shape in BTS 2004 you are NOT programming in C#, rather, you are programming in xLang/s.  Do whatever you have to in order to remember this,  if you don't like calling it Xlang, call it X#, or C# 'lite'.  (I recommend calling it X#, with the understanding that it is not yet X# but is a solid prototype)  If you are really that particular just call it X flat  :)

Limitations/Rules to Remember

  1. Don't bother trying to use Arrays or other index based objects in orchestrations,  my suggestion is that you code indexed based operations in a separate .NET class and call it from the orchestration.
  2. Don't try to implement control of flow statements in expression shapes, use the provided shapes from the toolkit instead.
  3. Don't try to implement the using/imports behaviour, just use the fully qualified names of the classes you want to access.
  4. Don't try to implement events or delegates.
  5. Don't try to call orchestrations via remoting, expose them as an xml webservice or use the call orchestration shape.
  6. The nice little operators don't generally work ++,--, +=, -= .... etc.

 

posted on Tuesday, June 14, 2005 9:59 AM

Feedback

# re: When is C# NOT C# ? 6/14/2005 10:07 AM nsthompson
You CAN fiddle with the indexing properties in orchestrations, but I still suggest avoiding it where possible.

You could try something like the following:


keyIndex = orderedList.IndexOfKey(fragmentNeeded);

fragmentLocation =
System.Convert.ToString(orderedList.GetByIndex(keyIndex));

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: