BizTalk Server Orchestration - How to add a class in BT project

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2005 > How to add a class in BT project





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to add a class in BT project
Ben Jiang

2005-11-16, 8:48 pm

Hi,
I would like to add a class in my BT2004 project but it seems it is no way
to do so.
The reason to do this is I prefer to use VB or C# code in my class and
called by my Orchestration shapes. I just wonder why this is not possible as
I understand that when deploying BT project assembly it also installs into
GAC on the biztalk server box.
This drive me mad as I have to create another dot net class project for this
purpose(The worst thing is that you have to register this supportting class
assembly in the GAC! DLL hell comes back again!)

Can anyone tell me this is why???

Cheers
Ben Jiang


Tomas Restrepo \(MVP\)

2005-11-16, 8:48 pm

Ben,

> I would like to add a class in my BT2004 project but it seems it is no way
> to do so.


There isn't, indeed.

> The reason to do this is I prefer to use VB or C# code in my class and
> called by my Orchestration shapes.


That's a pretty correct way to do it, but you need to use a class library
project for that and put it in it's own assembly.

> I just wonder why this is not possible as
> I understand that when deploying BT project assembly it also installs into
> GAC on the biztalk server box.
> This drive me mad as I have to create another dot net class project for
> this
> purpose(The worst thing is that you have to register this supportting
> class
> assembly in the GAC! DLL hell comes back again!)


the GAC will only lead to dll hell if you don't have a sound versioning
policy for your assemblies. It shouldn't cause you any pain, really, if done
right.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com