[Mono-list] Code behind!
Patxi
patxi@eslomas.com
Mon, 11 Aug 2003 11:43:51 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_002F_01C35FFD.DA026320
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Yes,
You can compile code-behind pages in the same way. Just use "--target
library" in mcs, to build a library and not an executable.
Here is an example:
mcs Global.asax.cs Configuration.cs ConfigurationHandler.cs
TestDB.aspx.cs --target library -o bin/web.dll -r System.Data
Hope this helps
--
Dixie
-----Mensaje original-----
De: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] En nombre de Sureshkumar
Srinivasan
Enviado el: lunes, 11 de agosto de 2003 1:12
Para: mono-list@ximian.com
Asunto: [Mono-list] Code behind!
Does the ASP.NET compiler for Linux support Code-behind in web-forms?
Thanks,
Suresh
------=_NextPart_000_002F_01C35FFD.DA026320
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Mensaje</TITLE>
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C35F72.B0A10940" rel=3DFile-List><!--[if gte =
mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; =
mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dpurple =
link=3Dblue>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Yes,</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
can compile code-behind pages in the same way. Just use "--target =
library" in=20
mcs, to build a library and not an executable.</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Here=20
is an example:</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>mcs=20
Global.asax.cs Configuration.cs ConfigurationHandler.cs TestDB.aspx.cs =
--target=20
library -o bin/web.dll -r System.Data</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN><SPAN class=3D234343909-11082003><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hope=20
this helps</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>--</FONT></SPAN></DIV>
<DIV><SPAN class=3D234343909-11082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Dixie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Des dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
size=3D2>-----Mensaje original-----<BR><B>De:</B>=20
mono-list-admin@lists.ximian.com =
[mailto:mono-list-admin@lists.ximian.com]=20
<B>En nombre de </B>Sureshkumar Srinivasan<BR><B>Enviado el:</B> =
lunes, 11 de=20
agosto de 2003 1:12<BR><B>Para:</B> =
mono-list@ximian.com<BR><B>Asunto:</B>=20
[Mono-list] Code behind!<BR><BR></FONT></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does the ASP.NET =
compiler for=20
Linux support Code-behind in web-forms?<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Suresh<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTM=
L>
------=_NextPart_000_002F_01C35FFD.DA026320--