I
intrepid_dw
Hello...
We are in the process of evaluating a migration strategy to VS2005 and
ASP.NET 2.0 from .NET 1.1.
In our existing .NET 1.1 applications, we have several controls
(ASCX's) that provide stock content to several websites. We want to
persist that idea into our newer and/or migrated applications, eg build
a control to contain the text (and some small javascript code) in one
place, then put that control in a library, then just pull that control
out on to our pages on the various websites.
What we're seeing, however, leads us to believe that the best we can
really hope for is to create such controls repetitively among each
website that might use them. Master Pages seemed like the next logical
step, but again, our observation leads us to believe they're
constrained to a single site. We want to be able to reuse code across
*multiple* sites.
The notion of having to maintain copies of the same code across
multiple sites seems to defeat the whole purpose of having libraries of
nice, reusable code; if the text on these stock controls has to change,
we have to change it for each website that uses it. Ugh. That doesn't
make any sense to us, so I have to assume I'm just being dense about
the intended process.
What is the proper approach, if one exists?
Thanks,
intrepid
We are in the process of evaluating a migration strategy to VS2005 and
ASP.NET 2.0 from .NET 1.1.
In our existing .NET 1.1 applications, we have several controls
(ASCX's) that provide stock content to several websites. We want to
persist that idea into our newer and/or migrated applications, eg build
a control to contain the text (and some small javascript code) in one
place, then put that control in a library, then just pull that control
out on to our pages on the various websites.
What we're seeing, however, leads us to believe that the best we can
really hope for is to create such controls repetitively among each
website that might use them. Master Pages seemed like the next logical
step, but again, our observation leads us to believe they're
constrained to a single site. We want to be able to reuse code across
*multiple* sites.
The notion of having to maintain copies of the same code across
multiple sites seems to defeat the whole purpose of having libraries of
nice, reusable code; if the text on these stock controls has to change,
we have to change it for each website that uses it. Ugh. That doesn't
make any sense to us, so I have to assume I'm just being dense about
the intended process.
What is the proper approach, if one exists?
Thanks,
intrepid