title: Where to place the IIS module dll file?
body: <p>I have created an IIS module with a class implementing <code>IHttpModule</code>. In my localhost, I just copy its dll to the <code>bin</code> folder of the testing web app project, and then add the module in <code>web.config</code>.</p>
  
  <pre><code>&lt;modules runAllManagedModulesForAllRequests="true"&gt;
    &lt;remove name="AppendOutput" /&gt;
    &lt;add name="AppendOutput" type="AppendOutput.AppendOutputModule" /&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p>Now I need to deploy the dll to my IIS server, where other web apps can use the module also. What is the shared or common folder to place that dll? And how should I revise the add module line to point to the correct path?</p>
  
  <pre><code>  &lt;add name="AppendOutput" type="AppendOutput.AppendOutputModule" /&gt;
  </code></pre>
  
  <p>I was reading <a href="https://msdn.microsoft.com/en-us/library/ms227673.aspx" rel="nofollow noreferrer">Walkthrough: Creating and Registering a Custom HTTP Module</a>, but it appears it does not tell us how to deal with the dll deployment.</p>
  
  <p>Another tech net article on <a href="https://technet.microsoft.com/en-us/library/cc754939" rel="nofollow noreferrer">Add a Managed Module (IIS 7)</a> tells about how to add Managed Module. But the there is nothing in my <strong>Type</strong> drop down list.</p>
  
  <p><a href="https://i.stack.imgur.com/5VOHQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5VOHQ.png" alt="add managed module"></a></p>