[Mono-devel-list] ASPX and ASCX pre-compiler

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Mar 13 07:08:27 EST 2003


El jue, 13 de 03 de 2003 a las 05:58, Juan Carlos Aguilar escribió:
> I’m looking for a pre-compiler for aspx and ascx files.. By
> pre-compiler I mean, a way to compile those files to assemblies before
> being uploaded to the web server.  Is this doable with the XSP
> parser?  Any guidelines in how to do this would be appreciated.

It is doable, but not intended. Under MS, if you want to make dlls, you
create your user controls / page derived classes, compile them into a
dll and put that dll in the 'bin' directory.

If you just want the pages to be compiled once you upload them, just hit
them with your browser (wget comes in handy for this).

Btw, the generated source code is in /tmp or your $TEMP directory. You
can play with mod_mono/xsp + those files.

-Gonzalo





More information about the Mono-devel-list mailing list