Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You will always commit your bindings to <code>MACHINE/WEBROOT/APPHOST</code>.</p> <p>You should go have a look at the schema files in:</p> <blockquote> <p><code>%systemroot%\System32\inetsrv\config\schema</code></p> </blockquote> <p>They will help you identify where settings should belong.</p> <p><strong>Update:</strong></p> <p>Per your comment:</p> <blockquote> <p>So for example, AccessSSLFlags would be mapped to ConfigurationSection.AccessSection.SslFlags - what section will I commit in that case? How do I know which section I need to commit?</p> </blockquote> <p>That all depends. IIS7 supports a mechanism called <a href="http://learn.iis.net/page.aspx/155/an-overview-of-feature-delegation-in-iis-70/" rel="nofollow">Feature Delegation</a>. If a feature is delegated then this means a user can configure that feature in their local <code>web.config</code>. Some features are configured under <code>system.webServer</code>, others <code>system.web</code>.</p> <p>What a user can and can't configure locally in his/her <code>web.config</code> is controlled by entries in two files:</p> <p><code>%systemrooot%\system32\inetsrv\config\administration.config</code><br> <code>%systemrooot%\system32\inetsrv\config\applicationHost.config</code></p> <p>If you go and look at the IIS7 configuration schema in:</p> <blockquote> <p><code>%systemroot%\System32\inetsrv\config\schema\IIS_schema.xml</code></p> </blockquote> <p>What you'll find is that there are two main types of section:</p> <blockquote> <p><code>system.applicationHost/xxxx</code><br> <code>system.webServer/xxxx</code></p> </blockquote> <p>Anything that is configurable under <code>system.applicationHost</code> is generally not considered a user modifiable configuration item. In fact if you open <code>applicationHost.config</code> you will see:</p> <pre><code>&lt;sectionGroup name="system.applicationHost"&gt; &lt;section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt; &lt;/sectionGroup&gt; </code></pre> <p>Notice the <code>allowDefinition="AppHostOnly"</code>? That's basically telling you that these settings can't be configured in <code>web.config</code>.</p> <p>The scope of how feature delegation works is far too wide to cover in an answer so I suggest you read the article linked to above. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload