[Mono-devel-list] Code Behind + XSP
Gonzalo Paniagua Javier
gonzalo at ximian.com
Fri Jan 21 15:55:02 EST 2005
On Fri, 2005-01-21 at 09:20 +0100, Andrew wrote:
> Gonzalo Paniagua Javier escribió:
> > On Thu, 2005-01-20 at 14:19 -0500, Nigel Benns wrote:
> >
> >>How is code behind handled by XSP when you just include the source
> >
> > file?
> >
> > The 'CodeBehind' attribute is completely ignored. That attribute is
> > intended to be used by VS.NET.
> >
> > If you use the 'Src' attribute, the file is compiled into a dll and then
> > the code generated for the page/control/whatever is compiled and
> > references the previous dll.
>
> Do you mean that 'Src' is equivalent to 'CodeBehind' in Mono?
No. I didn't say that. I said it's used by VS.NET. Try changing a .cs
file listed in a codebehind attribute and deployed to IIS: the file will
not be recompiled
> Why not using the same nomenclature?
>
> > If you use 'Inherits', the type is looked up in the assemblies in bin
> > directory.
> >
>
> Is already implemented the feature of seeking first inside the bin
> directory of the folder in which the ASPX is being called (instead of
> the "general" bin directory)?
Is this a feature in MS/IIS? No.
-Gonzalo
More information about the Mono-devel-list
mailing list