CIS-CAT hardening - ASP.Net configuration recommendations

Set the deployment method to retail:

  1. Open the machine.config file located at: %windir%\Microsoft.NET\Framework\<framework_version>\CONFIG.
  2. Add the line <deployment retail="true" /> within the <system.web> section.
  3. Remove all the attribute references to ASP.NET tracing by deleting the trace and trace enable attributes.
  4. If the system is 64-bit, do the same for the machine.config located at: %windir%\Microsoft.NET\Framework64\<framework_version>\CONFIG.