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

Juan Carlos Aguilar jca at hotmail.com
Fri Mar 14 14:26:55 EST 2003


I’m looking at something like the JSP compiler from BEA does, using the
“precompile” option, more info here:
http://e-docs.bea.com/wls/docs81/jsp/reference.html#57794 , MS doesn’t
support this.  The problem is that we have a site with a lot of traffic,
so the requests get queued, sometimes we start getting server too busy
errors while the pages are getting compiled. I know we could hit the
pages before going live, but to do that we need to buy more hardware or
update at night which is not feasible (way too expensive).  If XSP could
do this, it would have a good edge against the MS implementation, see
this thread in asp.net forums:
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1
<http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=92981>
&PostID=92981, our first hit takes about 20 seconds to compile the page.
 
Juan Carlos Aguilar
 
 
> 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030314/7b991c8d/attachment.html 


More information about the Mono-devel-list mailing list