ASNA WingsRPG™ Reference Manual

Optimizing the Speed of a Wings Site

The following is a short list of measures you can take to improve the speed of Wings pages, including tips for Compilation and Design Time and for Runtime.

Compilation and Design Time Optimization

  1. Ensure a fast connection from the build machine to the database server to speed up external file description access.
  2. Exceed recommendations for RAM, CPU count, and use Solid State Drives when possible, the more the better.
  3. Use a 64 bit machine and OS.
  4. If using Virtual Machines, provide pass-through disk I/O (configurable from within the Virtual Machine program).
  5. For development environments,
    1. Set VS options to NOT build the web site when starting up debugger

    2. Don't build the website as part of the solution build.

    3. Break application into multiple logic assemblies and multiple View folders.
    4. Keep the size of the assemblies small.
    5. Break up the application into multiple solutions, include only those Views and Projects being worked on in each solution, other necessary programs/classes can be added as assembly references
    6. Use the Visual Studio configuration manager to build only the projects being worked on.
    7. Do not add references from the website to the logic assemblies to those projects included in the solution, instead have the output of the logic projects 'drop' the assembly directly to the 'Assembly Logic' folder under Bin.

Runtime Optimization

  1. Set DdsFile property: PopUpWindows to false. This will avoid what may be the most time-consuming job for the browser, to save the all the HTML into a long string and encode it using Base64. Warning - if this property is set to false, the Window records will not show the correct 'background' HTML.
  2. Set on LR at the end of the programs to release memory and help free up space in the session (This could have the reverse effect).
  3. Disable the idle time out setting in the application pool.
  4. Use IIS 8.0 Application Initialization.
  5. Open files when required not in the constructor.
  6. Set Debug=FALSE in web.config (may be able to use 'web config transformation files').
  7. Optimize your ASP.NET Website and Web Server. While many resources can be found online to help with this effort, we recommend the advice of Dean Hume ( and his book Fast ASP.NET Webpages (© 2013). It contains a wealth of up to date information on optimizing site speed, and we make use of it internally.

Related Topics