Using ConfigurationSection in Orchestrations

Home Page Forums BizTalk 2004 – BizTalk 2010 Using ConfigurationSection in Orchestrations

Viewing 1 reply thread
  • Author
    Posts
    • #17404

      I would like to load up and use specific message configuration information within my orchestration. For this purposes, I wrote custom configuration section handler according to the new .NET 2.0 ConfigurationSection specification. However, this is not serializable. I managed to make it a serializable type, but not quite. The ConfigurationProperty that the ConfigurationSection uses is not serializable. So the whole solution is not working. Any alternative to loading configuration information in orchestrations OR anyway to make .NET 2.0 ConfigurationSection handlers work. Appreciate your help.

    • #17406

      I'm in favor of storing configuration in the SSO database  – http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,6e4b84db-d15f-45e9-b245-08b1eb6c4def.aspx

      • #17407

        Thanks for the quick reply jonflanders. I will check that post. This is limiting in terms of reusability. I thought of reusing my config frameworrk across different systems. .NET ConfigurationSection inrationherently supports serialization. I am not sure how it is doing when ConfigurationProperty is not serializable, where as the [ConfigurationProperty("")] attribute causes the config elements to serialize!! Confused.

        • #17425

          Solved. The issue was I was trying to create custom ConfigurationProperties in "deserialization constructor". If I have an empty constructor, then all works fine.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.