title: how to change .vs\config\applicationhost.config once and for all?
body: <p>I have an ASP.Net MVC web application. When i initially created the project i specified it as a windows authentication. After some experimentation and development, the requirements shifted away from windows authentication, so i reconfigured the solution/web config etc. to allow anonymous authentication, and to disable windows authentication. However, i seem to have missed something somewhere along the way.</p>
  
  <p>My web application now works great when i publish it, but i am constantly needing to edit the .vs\config\applicationhost.config file. 
  The config file defaults to the following state whenever i open the solution in visual studio: </p>
  
  <pre><code>    &lt;system.webServer&gt;
          &lt;security&gt;
              &lt;authentication&gt;
                  &lt;anonymousAuthentication enabled="false" /&gt;
                  &lt;windowsAuthentication enabled="true" /&gt;
              &lt;/authentication&gt;
          &lt;/security&gt;
      &lt;/system.webServer&gt;
  </code></pre>
  
  <p>These edits are required to get my ctrl+F5 functionality to work, each time i open the project in visual studio 2017.</p>
  
  <p>At this stage i am not exactly sure, whether i should be looking at some setting in visual studio or perhaps IIS Express, so any help would be greatly appreciated!</p>