# dotnet/aspnetcore SLOC report

> 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.

## Repository size insights

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# | 6,475 | 733,578 | 496,705 | 140,915 | 95,958 |
| JSON | 302 | 26,710 | 26,700 | 0 | 10 |
| C++ | 97 | 34,733 | 25,884 | 3,643 | 5,206 |
| TypeScript | 152 | 24,426 | 17,258 | 3,455 | 3,713 |
| MSBuild | 508 | 20,825 | 17,227 | 1,344 | 2,254 |
| Razor | 464 | 15,352 | 13,307 | 523 | 1,522 |
| C Header | 131 | 16,302 | 10,390 | 3,383 | 2,529 |
| .NET Resource | 85 | 14,169 | 9,151 | 5,017 | 1 |
| JavaScript | 121 | 7,572 | 6,503 | 496 | 573 |
| PowerShell | 93 | 8,038 | 6,130 | 1,005 | 903 |
| CSS | 63 | 6,555 | 5,670 | 160 | 725 |
| Shell | 94 | 6,259 | 4,646 | 700 | 913 |

Top language (C# 75.9%). Generated at 2026-07-31T05:46:20.233685533+00:00. Canonical report: https://octocounts.com/github/dotnet/aspnetcore

## Report FAQ

### How many lines of code does dotnet/aspnetcore have?

dotnet/aspnetcore has 967,078 total lines, including 654,710 code lines, 193,859 comment lines, and 118,509 blank lines.

### How was the dotnet/aspnetcore line count measured?

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.

### What commit was counted for dotnet/aspnetcore?

This OctoCounts report was generated from main at commit cd4daf17ece5 on 2026-07-31T05:46:20.233685533+00:00.

## Similar repository reports

- [dotnet/AspNetCore.Docs](https://octocounts.com/github/dotnet/AspNetCore.Docs) — C#, 654,692 code lines
- [GOWone/MicroCTSystem](https://octocounts.com/github/GOWone/MicroCTSystem) — C#, 631,123 code lines
- [microsoft/PowerToys](https://octocounts.com/github/microsoft/PowerToys) — C#, 691,437 code lines
- [PowerShell/PowerShell](https://octocounts.com/github/PowerShell/PowerShell) — C#, 556,222 code lines
- [SmartlyDressedGames/U3-SDK](https://octocounts.com/github/SmartlyDressedGames/U3-SDK) — C#, 342,837 code lines
- [iamcheyan/Zircon](https://octocounts.com/github/iamcheyan/Zircon) — C#, 335,013 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
