ASP.NET compilation generates tons of DLLs

  • Thread starter Thread starter Bogdan Nedelcu
  • Start date Start date
B

Bogdan Nedelcu

Hello,

I have a asp.net project with some aspx and a lot of ascx. The IIS memory
grows as it compile each item. I saw in the temporary files that for each
aspx, ascx there are arount 4 files generated, one of them being a DLL.

Is there a way to precompile everything in one single DLL. The loading time
would be shorter, etc.

I saw that in 2.0 there is the aspnet_compile.exe. Is there such a feature
in 1.1 that would generate a single DLL.

Regards,
Bogdan
 
Unfortunatly, you can't precompile an ASPX in .NET Framework 1.x. It's a
ASP.NET 2.0 feature.
However compile time is spend just for the first use of your ASPX.
It's not really a problem if you browse yourself each page just after
deployment.
And for temporary files, it doesn't matter if you have enough room on your
server !

Lionel.
 
Back
Top