is there any way to do this?

  • Thread starter Thread starter Will
  • Start date Start date
W

Will

I am wondering if there is any way to include a namespace
or use a class I've written in a code-behind page, without:

compiling into an assembly file (.dll)
OR
placing all of the namespace/class code in the code-behind
page as well.
 
I don't think I understand the question but from what you're asking I'd say
no.
You must import your assembly to use the code therein.

One thing it sounds like you're looking for is the factory pattern which'll
let you decide at runtime which implementation of your interface you want to
use, however, you still need the namespae of the interface imported.

-fs
 
Back
Top