[Mono-list] xsp - asp question

Gonzalo Paniagua Javier gonzalo@gnome-db.org
Tue, 11 Jun 2002 16:05:43 +0200

* [ Guenther Roith <groith@tcrz.net>
* Tue, 11 Jun 2002 01:40:09 +0200 ]
> Where is xsp located in MS .NET?
> I've seen some lines of code, that can process aspx files and put out html
> by only using some .net classes, instead of calling something like xsp. Is
> it in the class library, perhaps? System.Web.Hosting?

Yes, you can use the classes in System.Web.Hosting and HttpRuntime, add
some glue and you have an ASP.NET web server. The whole work is done
transparently for you.

xsp is just a part of the work made to convert from an aspx page to

The process, roughly described is as follows:

	* xsp.exe parses the aspx page and generates a C# class.
	* Get a dll compiling the generated class.
	* Create an instance of it and run Page.ProcessRequest on it (it
	is a Page derived class).

By now, our HttpRuntime is not working and we are testing/fixing our
System.Web without using HttpRuntime.

Once our System.Web is usable (or may be before if someone does it :),
we'll finish HttpRuntime support.

- Gonzalo

Gonzalo Paniagua Javier <gonzalo@gnome-db.org>