I'm surprised I'm just now noticing this. Jon Galloway hooked up the apparently unused System.Web.Handler.BatchHandler to an httpHandler and was able to precompile all his .ASPX pages. This could be useful during deployment to catch any goofs in ASPX code. Certainly not something you want on in production lest you be DoS'ed with compilation, but a helpful thing regardless.
To set this up at the machine level, add the following line to the <httpHandlers> section of %windir%\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config:<add verb="*" path="precompile.axd" type="System.Web.Handlers.BatchHandler"/>To set this up at the application level, add the you'll need to create an httpHandlers section like so: [JonGalloway]<configuration> <system.web> <httpHandlers> <add verb="*" path="precompile.axd" type="System.Web.Handlers.BatchHandler"/> </httpHandlers> </system.web></configuration>
To set this up at the machine level, add the following line to the <httpHandlers> section of %windir%\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config:
<add verb="*" path="precompile.axd" type="System.Web.Handlers.BatchHandler"/>
To set this up at the application level, add the you'll need to create an httpHandlers section like so: [JonGalloway]
<configuration> <system.web> <httpHandlers> <add verb="*" path="precompile.axd" type="System.Web.Handlers.BatchHandler"/> </httpHandlers> </system.web></configuration>
Now playing: Stevie Wonder - As
Ads by The Lounge