title: User.Identity.Name return empty in Visual Studio
body: <p>I am facing the problem where <strong>User.Identity.Name</strong> coming back empty ONLY on my local Visual Studio Environment. When the site is published on IIS, it works all fine and gets the correct user. </p>
  
  <p>I searched for the problem online but it looks like most of the solution suggested are suggested for IIS environment and asking to change the config file. My config file looks as following:</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.6" /&gt;
      &lt;httpRuntime targetFramework="4.6" /&gt;
      &lt;customErrors mode="Off" /&gt;
      &lt;authentication mode="Windows" /&gt;
      &lt;!--&lt;authorization&gt;
        &lt;allow roles="IS APPS" /&gt;
        &lt;deny users="?" /&gt;
      &lt;/authorization&gt;--&gt;
  
    &lt;/system.web&gt;
  </code></pre>
  
  <p>I had to comment out the part where it does  <strong></strong> because if I turn it on, I run into 401.2 HTTpError</p>