Sostanzialmente questa parte (questa in 24.0)
- Code: Select all
<?xml version="1.0"?>
<configuration>
<system.web>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="c#" debug="true" targetFramework="4.0">
</compilation>
Che in 21.5 si arricchisce di altre linee
- Code: Select all
<compilation defaultLanguage="c#" debug="true">
<compilers>
</compilers>
<assemblies>
</assemblies>
</compilation>
Questo sembra causare un utilizzo di RAM e CPU fuori dal normale.
Ah questo debug è attivo su TUTTE le applicazioni in produzione, non solo quella col problema segnalato, ne abbiamo varie con diverse versioni da 21.0 a 24.0
E tutte sono pubblicate con "abilita debug" a false.
C'è qualcosa che posso fare per disattivare il debug? A parte una copia del web.config sulla custom che poi devo costantemente ricordarmi di mantenere allineata se cambio qualche endpoint