J
Joe
We are working on a project that requires 3rd parties (ie, consultants) to
use our ASP.net webforms in a very reusable manner. The big catch is that
we are not allowed to give them source. There are a group of screens that
they all need to use in other applications, but need the ability to
customize some of the simpler behavior.
Some of the problems we are having include:
- they of course want to to be able to jump into and out of the "common"
pages. That is, they want to load our reusable pages, and then when the
user is done with the page, jump back into a specific page in their
applications.
- They want to do simple customizations of the page - like include a
different logo, maybe include or exclude certain controls, etc. We are
still thinking this part through.
- It seems that with precompilation, we get a separate assembly for each
page, and the name of the generated dll seems to be somewhat random. We
havent figured out how to map the dll name to which page it is.
The first thought that occurred to us is to use some form of form
inheritance. If memory serves, Windows Forms allow some cool form
inheritance features. Does Web Forms allow the same kind of functionality?
Does anyone have any best practices for how to do this? Please keep in mind
that we are only allowed to ship the assemblies, and not source code to the
clients.
Thanks for any info,
joe
use our ASP.net webforms in a very reusable manner. The big catch is that
we are not allowed to give them source. There are a group of screens that
they all need to use in other applications, but need the ability to
customize some of the simpler behavior.
Some of the problems we are having include:
- they of course want to to be able to jump into and out of the "common"
pages. That is, they want to load our reusable pages, and then when the
user is done with the page, jump back into a specific page in their
applications.
- They want to do simple customizations of the page - like include a
different logo, maybe include or exclude certain controls, etc. We are
still thinking this part through.
- It seems that with precompilation, we get a separate assembly for each
page, and the name of the generated dll seems to be somewhat random. We
havent figured out how to map the dll name to which page it is.
The first thought that occurred to us is to use some form of form
inheritance. If memory serves, Windows Forms allow some cool form
inheritance features. Does Web Forms allow the same kind of functionality?
Does anyone have any best practices for how to do this? Please keep in mind
that we are only allowed to ship the assemblies, and not source code to the
clients.
Thanks for any info,
joe