[Mono-list] Short news...
Patrik Torstensson
totte@labs2.com
Wed, 10 Apr 2002 22:14:42 +0200
- Previous message: [Mono-list] [Fwd: Re: System.Drawing (libart, gdkpixbuf)]
- Next message: [Mono-list] Re: [Mono-patches]
mcs/class/System.Windows.Forms/System.Windows.Forms
CaptionButton.cs,NONE,1.1 CharacterCasing.cs,NONE,1.1
CheckState.cs,NONE,1.1 DataGridParentRowsLabelStyle.cs,NONE,1.1
DialogResult.cs,NONE,1.1 DockStyle.cs,NONE,1.1 DragActio
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
This is a multi-part message in MIME format.
------_=_NextPart_001_01C1E0CC.595A4E39
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Or should I say Great News,
This is just a mail to keep all you that doesn't subscribe to the
mono-cvs list updated. Today, I checked in a number of classes from the
System.Web into the CVS storage, what this means is that we support the
following code:
public class HelloWorldHandler : IHttpHandler {
bool IHttpHandler.IsReusable {
get {
return false;
}
}
void IHttpHandler.ProcessRequest(HttpContext context) {
context.Response.Write("Hello World from the HelloWorldHandler
via Mono ASP.Net runtime\r\n");
}
}
class HostTest : MarshalByRefObject {
private HelloWorldHandler _HelloWorldHandler;
public HostTest() {
_HelloWorldHandler =3D new HelloWorldHandler();
HttpRuntime.Handler =3D _HelloWorldHandler;
}
public void TestRequest() {
// Execute one request
SimpleWorkerRequest oReq =3D new
SimpleWorkerRequest("/test.aspx", "none=3D1", Console.Out);
HttpRuntime.ProcessRequest(oReq);
}
};
class ConsoleTest {
static void Main(string[] args) {
// init the app framework
HostTest oHost =3D (HostTest)
ApplicationHost.CreateApplicationHost(typeof(HostTest),"/", "c:\\temp");
oHost.TestRequest();
=20
}
}
And this results in the following output:
Hello World from the HelloWorldHandler via Mono ASP.Net runtime Press
any key to continue
Summary:
35+ classes and a huge amount of work has now resulted in that the basic
framework works, it doesn't support HttpModules or multiple HttpHandlers
but I can now start find bugs and then add the async runtime support.
I haven't been this happy about a simple console output before ;-)
So, the next Mono release will contain a basic ASP.Net runtime support
and please, start testing and playing with the code... I will work on
the basic web server now and that will take us one step closer to
getting a more real enviroment up and running.
Cheers,
Patrik Torstensson
=20
------_=_NextPart_001_01C1E0CC.595A4E39
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5762.3">
<TITLE>Short news...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Verdana">Or should I say Great News,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">This is just a mail to keep all you =
that doesn't subscribe to the mono-cvs list updated. Today, I checked in =
a number of classes from the System.Web into the CVS storage, what this =
means is that we support the following code:</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> public class =
HelloWorldHandler : IHttpHandler {</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> bool =
IHttpHandler.IsReusable {</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> get =
{</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> &n=
bsp; return false;</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
}</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
}</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> void =
IHttpHandler.ProcessRequest(HttpContext context) {</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
context.Response.Write("Hello World from the HelloWorldHandler via =
Mono ASP.Net runtime\r\n");</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
}</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> }</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> class HostTest : =
MarshalByRefObject {</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
private HelloWorldHandler _HelloWorldHandler;</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> public =
HostTest() {</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
_HelloWorldHandler =3D new HelloWorldHandler();</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
HttpRuntime.Handler =3D _HelloWorldHandler;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
}</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> public =
void TestRequest() {</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> // =
Execute one request</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
SimpleWorkerRequest oReq =3D new =
SimpleWorkerRequest("/test.aspx", "none=3D1", =
Console.Out);</FONT>
</P>
<P><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
HttpRuntime.ProcessRequest(oReq);</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
}</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> };</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana"> class ConsoleTest =
{</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
static void Main(string[] args) {</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> // =
init the app framework</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
HostTest oHost =3D (HostTest) =
ApplicationHost.CreateApplicationHost(typeof(HostTest),"/", =
"c:\\temp");</FONT>
</P>
<P><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
oHost.TestRequest();</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Verdana"> =
</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> =
}</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> }</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">And this results in the following =
output:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Hello World from the =
HelloWorldHandler via Mono ASP.Net runtime Press any key to =
continue</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Summary:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">35+ classes and a huge amount of work =
has now resulted in that the basic framework works, it doesn't support =
HttpModules or multiple HttpHandlers but I can now start find bugs and =
then add the async runtime support.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">I haven't been this happy about a =
simple console output before ;-)</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">So, the next Mono release will =
contain a basic ASP.Net runtime support and please, start testing and =
playing with the code... I will work on the basic web server now and =
that will take us one step closer to getting a more real enviroment up =
and running.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Verdana">Cheers,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> Patrik Torstensson</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Verdana"> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1E0CC.595A4E39--
- Previous message: [Mono-list] [Fwd: Re: System.Drawing (libart, gdkpixbuf)]
- Next message: [Mono-list] Re: [Mono-patches]
mcs/class/System.Windows.Forms/System.Windows.Forms
CaptionButton.cs,NONE,1.1 CharacterCasing.cs,NONE,1.1
CheckState.cs,NONE,1.1 DataGridParentRowsLabelStyle.cs,NONE,1.1
DialogResult.cs,NONE,1.1 DockStyle.cs,NONE,1.1 DragActio
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]