As of 2026-07-31 (commit cd4daf17ece5), dotnet/aspnetcore contains 967,078 total lines: 654,710 code, 193,859 comments, 118,509 blank, across 9,568 files in 36 languages (top: C# 75.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving dotnet/aspnetcore to commit cd4daf17ece5, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 67.7% of all lines, comments represent 20.0%, and the repository averages 68 code lines per file. C# accounts for 75.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 6475 | 733578 | 496705 | 140915 | 95958 |
| JSON | 302 | 26710 | 26700 | 0 | 10 |
| C++ | 97 | 34733 | 25884 | 3643 | 5206 |
| TypeScript | 152 | 24426 | 17258 | 3455 | 3713 |
| MSBuild | 508 | 20825 | 17227 | 1344 | 2254 |
| Razor | 464 | 15352 | 13307 | 523 | 1522 |
| C Header | 131 | 16302 | 10390 | 3383 | 2529 |
| .NET Resource | 85 | 14169 | 9151 | 5017 | 1 |
| JavaScript | 121 | 7572 | 6503 | 496 | 573 |
| PowerShell | 93 | 8038 | 6130 | 1005 | 903 |
| CSS | 63 | 6555 | 5670 | 160 | 725 |
| Shell | 94 | 6259 | 4646 | 700 | 913 |
Top language (C# 75.9%). Generated at .
dotnet/aspnetcore has 967,078 total lines, including 654,710 code lines, 193,859 comment lines, and 118,509 blank lines.
OctoCounts resolved the public GitHub repository to commit cd4daf17ece5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit cd4daf17ece5 on 2026-07-31T05:46:20.233685533+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: