dotnet/samples resource
Sample code referenced by the .NET documentation observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3137
- days_rel: n/a
- days_push: 16
- n_releases_24m: 0
Adoption not part of the score
3738 stars · 5148 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official repository of sample code referenced by the .NET documentation, containing buildable example projects organized by documentation topic. Samples demonstrate application and library scenarios across .NET technologies including C#, F#, and Visual Basic.
Use cases
- learn .NET through runnable example code
- find sample code for a .NET documentation topic
- see how to use a specific .NET feature or toolkit
- get a starting project template for learning C#
- verify how an API behaves with a working example
When to choose
- you are learning .NET or C# and want working code tied to official docs
- you need a minimal buildable example of a .NET feature
- you want samples maintained and CI-validated by Microsoft
When to avoid
- you need a production-ready library or application rather than examples
- you want a single cohesive project instead of many independent samples
- you need samples for a non-.NET language or stack
Facets
learning-resource · maturity active
developer-tools documentation developer-tools tutorials cross-platform cross-platform dotnet windows dotnet csharp fsharp visual-basic sample-code microsoft linux macos
3 sources
- readme: https://github.com/dotnet/samples · fetched 2026-08-28 · ca5713ed53d0
- homepage: https://docs.microsoft.com/samples/browse · fetched 2026-08-29 · 6a8277eace00
- site_page: https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge · fetched 2026-08-29 · c363b2f43d4b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/samples | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem