title: MVC Core - What is the difference between UseIIS and UseIISIntegration
body: <p>Looking at the codes, they have the same comments, suggesting that they do the same thing:</p>
  
  <pre><code>/// &lt;summary&gt;
  /// Configures the port and base path the server should listen on when 
  /// running behind AspNetCoreModule. The app will also be configured 
  /// to capture startup errors.
  /// &lt;/summary&gt;
  </code></pre>
  
  <p><code>UseIIS</code> is in <code>Microsoft.AspNetCore.Server.IIS</code> package, while <code>UseIISIntegration</code> is in <code>Microsoft.AspNetCore.Server.IISIntegration</code>. </p>
  
  <p>What is the difference between the two? When do you need to use one versus the other? (or maybe both?)</p>
  
  <p><strong>UPDATE:</strong> There is a similar question on github, But there is no helpful answer there: <a href="https://github.com/aspnet/AspNetCore/issues/6197" rel="noreferrer">https://github.com/aspnet/AspNetCore/issues/6197</a></p>