[Mono-aspnet-list] AOT with ASP.NET

Robert Jordan robertj at gmx.net
Mon Oct 5 14:02:31 EDT 2009


APS wrote:
> Hi,
> 
> trying to achieve better performances from my mono web app I was 
> looking at aot.
> I saw that during loading time it searches for aot files inside 
> temporary cache, as aot compilation must be made manually, how can I 
> retrieve the correct path where to place AOTied dlls?
> Thanks in advance.

"mono --aot" will store the SOs along with the assemblies
in the same directory.

Furthermore, you should disable the shadow copy machinery
because it doesn't look like it supports AOT:

web.config:

<system.web>
   <hostingEnvironment shadowCopyBinAssemblies="false" />

Robert



More information about the Mono-aspnet-list mailing list