How dotnet/samples works
This repository is a catalog of .NET documentation samples, not one application with a shared runtime. A reader follows a documentation topic to a sample project and runs that project; the samples then demonstrate independent language, runtime, cloud, web, and device scenarios. The graph highlights those capability areas and evidenced sample-level calls. Many projects are represented only by their directory because their source was not sampled; their internal wiring is therefore omitted.
Main entry points: indexers/Program.cs Indexer examples · VotesController.cs Voting API · MorseReceive/Program.cs Morse receiver · DataSamples.cs Paged data store
Components 27
C# language
- Indexer examples
csharp/indexers/Program.cs - Paged data store
csharp/indexers/SampleOne/DataSamples.cs - Weather records
csharp/indexers/SampleFour/HistoricalWeatherData.cs - Measurement model
csharp/indexers/Common/Measurements.cs - Pattern matching
csharp/PatternMatching/GeometricUtilities.cs - LINQ samples
core/linq/csharp - Expression trees
csharp/expression-trees - Nullable types
csharp/NullableIntroduction/NullableIntroduction/Program.cs
Runtime features
- Parallel pipeline
csharp/parallel/ParallelExtensionsExtras/CoordinationDataStructures/Pipeline.cs - Async examples
async/async-and-await/cs - JSON processing
core/json/Program.cs - Diagnostic scenarios
core/diagnostics/DiagnosticScenarios/Controllers/DiagnosticScenarios.cs - Stream interop
core/interop/Streams/Shared/Assembly.cs
Cloud and web
- Azure provisioning
azure/sdk-identity-resources-storage/Program.cs - Dynamic configuration
azure/app-configuration-dynamic-reload - Application Insights
azure/app-insights-aspnet-core-quickstart
Distributed and IoT
- Voting API
orleans/Voting/Controllers/VotesController.cs - Vote grain contract
orleans/Voting/Grains/IVoteGrain.cs - IoT device sample
iot/cheesecave.net/Program.cs - Morse receiver
iot/morse-dotnet/MorseReceive/Program.cs - Morse dictionary
iot/morse-dotnet/MorseCommon/Common.cs
Framework scenarios
- Durable instances
framework/wcf/Extensibility/Instancing/Durable/CS/extensions/StorageManagers.cs - Document approval
framework/windows-workflow-foundation/application/DocumentApprovalProcess/CS/ApprovalManager/UserManager.cs - Background workers
core/workers - COM interop
core/extensions/COMServerDemo
Other components
- Documentation reader
- Sample catalog
Connections 13
- Documentation reader → Sample catalog: chooses topic
README.md - Sample catalog → Indexer examples: provides examples
README.md - Sample catalog → LINQ samples: provides examples
README.md - Sample catalog → Async examples: provides examples
README.md - Sample catalog → Azure provisioning: provides examples
README.md - Sample catalog → Voting API: provides examples
README.md - Sample catalog → IoT device sample: provides examples
README.md - Sample catalog → Durable instances: provides examples
README.md - Indexer examples → Paged data store: creates and accesses
csharp/indexers/Program.cs - Indexer examples → Weather records: creates and accesses
csharp/indexers/Program.cs - Indexer examples → Measurement model: assigns values
csharp/indexers/Program.cs - Voting API → Vote grain contract: calls grain
orleans/Voting/Controllers/VotesController.cs - Morse receiver → Morse dictionary: uses dictionary
iot/morse-dotnet/MorseReceive/Program.cs