Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Speed up the Orchard Visual Studio Development Environment

Tags: orchard-cms, orchard-harvest

Tip

  • Use IIS not IIS Express! This is a tip from Piotr Szmyd. Thank you!
  • Then run from Visual Studio with Ctrl F5 instead of F5 (i.e. do not debug).
  • Attach to process for debugging instead.

Here are the steps to using IIS instead of IIS Express…

Enable IIS

  1. Programs & Features
  2. Turns Windows features on or off.
    1. Internet Information Services > World Wide Web Services > Application Development Features > ASP.NET 4.5
    2. This might indeed be the ONLY feature that you need, because it will turn on all its dependencies.

Here is a screen shot of all the features that ASP.NET 4.5 turns on as dependencies (ignore Hyper-V and Internet Explorer 11, .

Capture

Configure the VS Project

  1. Open the Orchard Source in Visual Studio.
  2. Right click Orchard.Web. Choose Properties.
  3. Go to the Web tab.
  4. In the servers section, choose IIS Express.

image

Configure the Access Control

  1. Open Orchard.Web in the File Explorer.
  2. Right click. Choose Properties.
  3. Security > Edit > Add > Advanced > Find Now > IIS_IUSRS > Modify (or Read & Execute) > Apply

This assumes you are using IIS 7.5+

image