title: Easy way to write data to local json file?
body: <p>I'm using ASP.NET 5 (vNext) for a project right now but I've been having some issues with writing data to a local file. I've simply got som JSON data I want to put in an existing file in the public wwwroot folder. The JSON serialization etc. is no problem I just need some advice about available methods of writing to local files from an ASP.NET 5 MVC6 controller.</p>
  
  <p>I'm using beta 7 right now and I've had no luck using streamwriter or File. All examples/suggestions will be much appreciated. </p>