Unofficial Content
  • This documentation is valid for:

When you change any application-related file on the IIS, the application is reloaded automatically.

The reloading process can take minutes for applications including several objects because by default, when any change is made to a top-level file in a Web site, the whole site is recompiled, i.e. whenever you copy (build) a object into the bin folder, the whole development site will recompile. That make sense only when one of these files changes because other files in the site, such as .aspx and .ascx, which is not the case in GeneXus generated application by default.

You can speed up the reload process by changing some parameters in the web.config file.

Add or change the following line on the web.config file within session <system.web> tag:

<compilation optimizeCompilations="true" tempDirectory="C:\tmp\myapp" />

For GeneXus the change will look like this:

<system.web>
    ...
    <compilation optimizeCompilations="true" tempDirectory="C:\tmp\myapp" />
    ....
</system.web>

Notes

The optimization does not affect the behavior of the application domain closure
If you have a SSD drive, evaluate using the tempDirectory attribute.

or more parameters check compilation Element (ASP.NET Settings Schema)

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant