title: Read textfile (stored in Project) to string in ASP MVC (DNX CORE)
body: <p>I have a DNX class library project in my ASP.NET MVC Project under DNX Core. In this class library I want to implement classic HTMLHelper Functions that return a string after some HTML manipulations. (No TagHelper at the moment.)</p>
  
  <p>In the sense of a simple template approach I would like to first read a HTML template from a txt or html file that is stored within the project (just to make formatting, etc. more simple) to a string variable, do some string manipulations and then return the string.</p>
  
  <p>I started to develop a traditional System.IO approach but recognized that it is not part of DNX Core so far. I wonder if there is a better way to access a Textfile stored within the project and read it as a string. IHostingEnvironment for instance?</p>
  
  <p>Happy for any suggestions.</p>
  
  <p>Regards</p>
  
  <p>Marco</p>