Try creating a helper class that reads the settings from your config file. You should be able to call that from within a message assignment shape in a construct block with no problems.
There's a thought. I'd just need to tag the helper class as 'Serializable' (yes?), and expose the values themselves instead of the NameValueCollection.
I think, though, that I like moving everything to the beginning of the orchestration rather than creating and deploying another custom dll.
Or perhaps I'm missing something else-- can I create a helper class within a Biztalk project?
There's a thought. I'd just need to tag the helper class as 'Serializable' (yes?), and expose the values themselves instead of the NameValueCollection.
ReplyDeleteI think, though, that I like moving everything to the beginning of the orchestration rather than creating and deploying another custom dll.
Or perhaps I'm missing something else-- can I create a helper class within a Biztalk project?
Yep - you need to mark it as serializable.
ReplyDeleteAnd no create a VB / C# class project separate to your BizTalk project.
The thing is, you only need to create one - and then just reference it in any projects you need it for.