D
Dominic
Here's the situation:
I have 2 web projects for the same client, a WWW-Public web project
and an Admin project. Both projects are on the same server and I
found myself loading the exact same dataset in each project. Rather
than duplicate server resources I created a 3rd project which has the
common DataSet and certain modules that manipulate the DataSet. My
test cases were run within the 3rd project where all worked fine. Now
I'm in the quandry where I can't use that 3rd project dataset in the
other 2 projects. Caching/Application Variables seem to be out of the
question unless someone knows a way for a project to reference its own
httpcontext over the actual requesting context from the other
project(s). I can't seem to get any type of a global variable on the
3rd project to work as only the project that created the dataset can
see/use it, thus requiring an instance per project which is what I'm
tring to avoid. Any ideas?
quick rant:
Microsoft's answer for cross-project issues always seems to be 'by
design for security' which is annoying. As a .Net programmer it's
soooo tempting to want to easily share compilable controls/forms
between projects. Not even offering it is a huge limitation on an
otherwise powerful platform. I understand the security concern but
would it have been so hard to offer it allowed if only explicitly?
Dominic
I have 2 web projects for the same client, a WWW-Public web project
and an Admin project. Both projects are on the same server and I
found myself loading the exact same dataset in each project. Rather
than duplicate server resources I created a 3rd project which has the
common DataSet and certain modules that manipulate the DataSet. My
test cases were run within the 3rd project where all worked fine. Now
I'm in the quandry where I can't use that 3rd project dataset in the
other 2 projects. Caching/Application Variables seem to be out of the
question unless someone knows a way for a project to reference its own
httpcontext over the actual requesting context from the other
project(s). I can't seem to get any type of a global variable on the
3rd project to work as only the project that created the dataset can
see/use it, thus requiring an instance per project which is what I'm
tring to avoid. Any ideas?
quick rant:
Microsoft's answer for cross-project issues always seems to be 'by
design for security' which is annoying. As a .Net programmer it's
soooo tempting to want to easily share compilable controls/forms
between projects. Not even offering it is a huge limitation on an
otherwise powerful platform. I understand the security concern but
would it have been so hard to offer it allowed if only explicitly?
Dominic