View compilation in ASP.NET 5 with the RazorPreCompileModule

In MVC versions up to and include version 5, you could compile your Razor views by adding the <MvcBuildViews> attribute in the csproj file. »