This project is read-only.

Partial Classes || Configurable

Feb 2, 2009 at 4:02 PM
First off, great tool!  The problem for me is that the connection string needs to be configurable at run time, so that I can move my compiled assemblies to multiple environments without a regen / recompile step.  Generating a partial class that leaves the implementation of "GetEventStream" up to the developer would work well.  Just something to consider.  I hate the idea of having to modify the source code of your utility every time a newer version is released.  Thanks again for a great tool.
Oct 29, 2009 at 6:36 AM

Thanks!  You're right -- those connection strings should be properties on the generated class to make them easy to override at runtime.  Then you could use the environment settings tools from the Deployment Framework for BizTalk to easily manage those connection strings and set them at runtime.

Tom

Feb 16, 2010 at 10:52 PM

In version 2.0, the connection strings can easily overridden at runtime and if you really need to customize the code, the entire XSLT can be overridden via the command-line.

Tom