[Mono-list] Does mono support Codebehind in ASP .net?
Sat, 7 Feb 2004 13:13:34 -0500
As I mentioned before I have not been able to get it to work, so I cannot
test it for you
1st, you need to inherit from System.Web.UI.Page
And you need to compile to a library target,
With the .net c# compiler in windows, the commandline I sometimes use to
compile codebehind looks something like:
csc /t:library /out:bin\WebForm2.dll /r:System.dll /r:System.Web.dll
here is code for a page that works:
Computer Systems Engineering
[mailto:email@example.com] On Behalf Of Golo Haas
Sent: Saturday, February 07, 2004 1:04 PM
To: Luke Stephenson; firstname.lastname@example.org
Subject: Re: [Mono-list] Does mono support Codebehind in ASP .net?
So, finally I found the error ... PageLoad has to have - of course - the
right signature ... "object sender, EventArgs e" was missing ... so, the
very last question for me ...
When I try to compile the file, I get the message, that there is no
entry point defined ... of course not, it's not an exe. How do I tell
the compiler to compile for ASP .net?
Thanks in advance,
Microsoft Community Leader
Mono-list maillist - Monoemail@example.com