-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 21 May 2008 02:54:22 -0700 (PDT) haaroon <[EMAIL PROTECTED]> wrote:
> > Hi, Hi, > I am new to this forum. I am doing porting mono to my Linux embedded system > and my system Spec as follows... > > Hardware: - > CPU = x86 > CPU Speed =500MHZ > RAM =512MB > > Software Version: - > Kernel Version 2.0.31 > Mono 1.2.4 You should consider upgrading your mono to 1.9 > Mod-mono 1.9 > Apache 2.2.8 > > After porting the ASP.Net Page taking minimum 11 sec to load first time. And > second time onwards it’s coming faster. Once I rebooted my system the entire That's how ASP.NET works. On the first request it generates source from all the referenced .as?x files and compiles it on the fly. Further requests don't need that step so they are faster. > compiled library is flushed by the system and I have to recompile the > ASP.Net pages once again. Is there any way to hard code the library or is > there any way to improve the speed of my system performance? You can compile your code-behind to an assembly and store the assembly in the bin/ subdirectory of your website instead of using CodeFile inside the .as?x files and code in the App_Code/ subdirectory of your web site. This will make the first startup time slightly faster. There is no support for preserving the assemblies compiled from the generated sources across application restart/server reboot. marek -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIPDi5q3909GIf5uoRAp2MAJ9xme90Aqi38JC6z8lMukC+0DYmCwCfV5k4 GuqBRlMS0VNOdilRUv/G7/A= =kaq0 -----END PGP SIGNATURE----- _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
