Asp.Net vNext and static files

If you start working with Asp.Net vNext Empty project and need static files, don’t forget:

  • Add reference Microsoft.AspNet.StaticFiles to project.json file into dependencies section
  • Append code provided below to Startup.cs: