8/5/2020 Admin

How to get your Blazor GitHub project to properly show C#


In GitHub, many Blazor projects will display the language as JavaScript when it should be C#.

Here is how to fix that.

According to Bradley Wells a dd this line to your .gitattributes file:

*.razor linguist-language=C#


uploads\BlogPostImages\BlazorGithub.png

An error has occurred. This application may no longer respond until reloaded. Reload 🗙