title: How to create a button for downloading pdf file that is Present in solution explorer?
body: <p>I am trying to create a button in my view page of my ASP.NET CORE.</p>
  
  <p>When user clicks that button a pdf file that is present in the solution(sln)
  should download to the user.</p>
  
  <pre><code> I tried a href="location" inside button
  
   &lt;a href="location" target="blank"&gt;download&lt;/a&gt;
  </code></pre>
  
  <p>Its not working.</p>
  
  <p>Is there any other way?</p>
  
  <p>Please help me with that.</p>
  
  <p>Thanks in advance.</p>