title: Reading a file in MVC 6
body: <p>I want to access my <code>create.sql</code> file in the main folder of my server. It contains queries to set up my database. I have a problem to access this file at all.</p>
  
  <p>1) I cannot really get there through <code>Configuration</code>. I can only use <code>AddJsonFile</code>, <code>AddXmlFile</code>, and <code>AddIniFile</code>. And I guess this is not the best idea to put a big sql file into any of those.</p>
  
  <p>2) <a href="https://github.com/aspnet/Mvc">Mvc source on github</a> seems to be missing <code>MapPath</code>. So no possibility of using <code>Server.MapPath("~/create.sql")</code>.</p>
  
  <p>How to achieve this then?</p>