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)

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

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


Delivered Web.Config

<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
    13 Nov, 2019 10:00pm

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

  • Jake Cohen commented
    29 Dec, 2017 05:48pm

    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
    13 Oct, 2017 04:29pm

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