[Mono-devel-list] Code Behind + XSP
Nigel Benns
nigel_benns at rogers.com
Mon Jan 24 11:14:54 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
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
Does this mean that the only classes you can link to are the corlib and
System.Web* assemblies?
Also, I noticed that the System.Web.Compilation isn't in Mono doc, at
least not on the website (and I'm not at home to check there)
I'll check out XSP and see how this is done, but I need other Dll's from
the GAC, so if that isn't going to work for me, I'll have to take another
route I guess.
More information about the Mono-devel-list
mailing list