AOT with ASP.NET

View: New views
5 Messages — Rating Filter:   Alert me  

AOT with ASP.NET

by aps-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Re: AOT with ASP.NET

by Robert Jordan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Re: AOT with ASP.NET

by aps-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the hint.
Unfortunately I added web.config configuration but shadow copy is
still done and aot keeps on searching inside shadow copy directory.

At 20.02 05/10/2009, you wrote:

>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
>
>_______________________________________________
>Mono-aspnet-list mailing list
>Mono-aspnet-list@...
>http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>--
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da MailScanner, ed e'
>risultato non infetto.


_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Re: AOT with ASP.NET

by Gonzalo Paniagua Javier-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-06 at 10:29 +0200, APS wrote:
> Thanks for the hint.
> Unfortunately I added web.config configuration but shadow copy is
> still done and aot keeps on searching inside shadow copy directory.
[...]
> >
> ><system.web>
> >    <hostingEnvironment shadowCopyBinAssemblies="false" />
[...]

Looks like we don't support this yet. Do you mind entering a bug report
so we don't forget about it? Thanks.

-Gonzalo


_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Parent Message unknown Re: AOT with ASP.NET

by aps-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Done https://bugzilla.novell.com/show_bug.cgi?id=545260
Hope it's ok.

At 06.09 07/10/2009, Gonzalo Paniagua Javier wrote:

>On Tue, 2009-10-06 at 10:29 +0200, APS wrote:
> > Thanks for the hint.
> > Unfortunately I added web.config configuration but shadow copy is
> > still done and aot keeps on searching inside shadow copy directory.
>[...]
> > >
> > ><system.web>
> > >    <hostingEnvironment shadowCopyBinAssemblies="false" />
>[...]
>
>Looks like we don't support this yet. Do you mind entering a bug report
>so we don't forget about it? Thanks.
>
>-Gonzalo
>
>
>_______________________________________________
>Mono-aspnet-list mailing list
>Mono-aspnet-list@...
>http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>--
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da MailScanner, ed e'
>risultato non infetto.


_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list