github/linguist — pull request #877 by emma-burrows (2013-12-30 22:24:05+00:00)
Title: Csharp samples, including ASP.Net MVC view file

My C# repos seem to be incorrectly identified as being mostly JavaScript. The main reason is that Visual Studio includes a bumper bundle of vendor JS files in an ASP.Net MVC application -- something to address in another pull request, maybe -- but is also due to the Razor View files (.cshtml) being ignored. As these are specific to C# and distinct from the aspx files that GitHub identifies as generic ASP, it seems logical to include them in a language count for C#.

I also noticed that there were no C# samples, so I have added a .cs and a .cshtml file to the samples, and ascertained that the tests ran successfully before my changes, failed before I rebuilt the json file, and are now passing locally.