[Mono-devel-list] Code Behind + XSP

Andrew agomez at wke.es
Thu Feb 17 06:15:41 EST 2005


Gonzalo Paniagua Javier escribió:
> 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.

No??? Sorry Gonzalo, perhaps I (or you) am misunderstanding the matter, 
but I am developing a Web App with VS.NET+IIS and my bin files are not 
in C:\inetpub\wwwroot\bin, they are in C:\inetpub\wwwroot\myapp\bin. 
However, XSP requires me to have all the DLL files in one bin folder for 
the whole set of web applications.

Did I clarify anything? Thanks in advance.

-- 
	Regards,

		Andrew



More information about the Mono-devel-list mailing list