Speed up the Orchard Visual Studio Development Environment
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
- Programs & Features
- Turns Windows features on or off.
- Internet Information Services > World Wide Web Services > Application Development Features > ASP.NET 4.5
- 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, .
Configure the VS Project
- Open the Orchard Source in Visual Studio.
- Right click Orchard.Web. Choose Properties.
- Go to the Web tab.
- In the servers section, choose IIS Express.
Configure the Access Control
- Open Orchard.Web in the File Explorer.
- Right click. Choose Properties.
- Security > Edit > Add > Advanced > Find Now > IIS_IUSRS > Modify (or Read & Execute) > Apply
This assumes you are using IIS 7.5+