How to configure ASP.NET Core 1.0 to use Local IIS instead of IIS Express? : <p>How can I setup a <strong>.Net Core 1.0</strong> project to use <strong>Local IIS</strong> instead of <strong>IIS Express</strong> when debugging?</p>

<p>I have tried modifying <strong>launchSettings.json</strong> file in various ways. For example, replacing all occurrences of <strong>IIS Express</strong> with <strong>Local IIS</strong> and updating the <strong>applicationUrl</strong> and <strong>launchUrl</strong> to use my custom localhost <a href="http://sample.local">http://sample.local</a> (I have updated the host file and configured IIS manager already) but not happy. </p>

<p>Default settings of <strong>Properties/launchSettings.json</strong> file:</p>

<pre><code>{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:38601/",
      "sslPort": 0
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    },
    "SampleApp": {
      "commandName": "Project",
      "launchBrowser": true,
      "launchUrl": "http://localhost:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
  }
}
</code></pre>
