[Mono-list] ASP.NET

Chris AItken chris at ion-dreams.com
Tue Jan 24 16:40:27 EST 2006


>Codebehind is a VS thing only. Change it to Src and it should all work.
>  
>
Great stuff, Chris, it works just like you said.

The other thing I noticed is that I can leave the

Codebehind="..."

in just so long as I add

Src="..."

to the declaration.  I guess that applies in VS as well (I shall try it in a
couple of minutes), so to write X-platform code I need to use both
attributes.

Terrific.  Thank you.

No problem Peter, glad it worked for you. 

The Codebehind tag tells VS to precompile the source into an assembly. You
can precompile too, and I think (IIRC) you only need to use the Inherits
tag.
Of course, as you say, you can leave both in, then VS will precompile, and
mono will use the source file.

Chris


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list