Please Share your Product Ideas with us!

All ideas are welcome. Just because the Idea doesn't make it into the product immediately does not make it a bad idea.

Update DSP site web.config to turn off Compilation Debug & to set a tempDirectory for the IIS Site.

Web.Config Compilation Debug

By default all IIS websites are developed with Compilation Debug set to true (Since IIS 5 or 6).  The default setting (of true) makes overall DSP access slower and increases the threshold to cache the website components.  By setting the Compilation Debug to "false" we improve performance of the DSP front end as well as optimize caching.  Furthermore, I don't know that I have seen a DSP site where we dig into the debug level details for IIS, and when we need it, we can turn it on.

Some websites to reference:

 

Web.Config tempDirectory

This is also a performance based improvement.  This allows us to move the website temp directory to a defined location.  By default the temp directory is in the OS .NET folder structure and not guaranteed to have the correct permissions for the website to operate.  I would like this moved to a defined directory where we apply the appropriate DSP site permissions (IUSR, IIS_IUSRS, LOCAL SERVICE, NETWORK SERVICE).  On cloud systems where ephemeral storage is used it can be repointed to the ephemeral storage drive to further gain performance.

 

Example of changes to be made:

New Web.Config entries shown (two examples)

<system.web>
<compilation debug="false" tempDirectory="Z:\" targetFramework="4.0" />
<authentication mode="Windows" />

<system.web>
<compilation debug="false" tempDirectory="D:\BOA\IISTempDir\" targetFramework="4.0" />
<authentication mode="Windows" />

 

Delivered Web.Config

<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication mode="Windows" />

  • Jake Cohen
  • Oct 13 2017
  • Shipped
  • Dec 29, 2017

    Admin response

    Do you have any stats captured of the same site running with and without these settings to show the amount of impact?

  • Attach files
  • Jake Cohen commented
    November 13, 2019 22:00

    Checking in, any updates on when this is planned to be implemented?

  • Jake Cohen commented
    December 29, 2017 17:48

    Not at hand but I'm happy to work with you to get the stats you want to look at.  Let me know when you want to meet to get this info.

  • Jake Cohen commented
    October 13, 2017 16:29

    I forgot to add, this also reduces the memory footprint of the IIS app pool.