[Mono-devel-list] Code Behind + XSP

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Jan 20 15:09:43 EST 2005


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.

If you use 'Inherits', the type is looked up in the assemblies in bin
directory.

> 
> Could someone (Gonzalo?) point me out the files that handle this in CVS.

The code is mostly in mcs/class/System.Web/System.Web.UI and
System.Web.Compilation.

-Gonzalo





More information about the Mono-devel-list mailing list