Documentation

Browse the published guides, examples and reference pages for C# and .NET Code Examples. Each guide has a readable web page; the Markdown sources remain available on GitHub.

🔎 Choose a sample guide

Use this index to find the relevant framework, dependencies and limitations before running a sample. Start with the repository quick start for a console-only example.

Guide What to inspect first
Durable Functions overview Shared storage/local settings and function chaining
Durable DemoOne HTTP starter, single activity and serialized output
Durable DemoTwo Three activities and the existing final-response defect
Middleware overview Isolated versus in-process hosting
.NET 6 middleware Different worker runtime settings; seekable body assumption
.NET 8 middleware Middleware registration order and exception coverage
Keyed services Key registration and log-only notification implementations
MediatR / CQRS Layer boundaries, mixed package generations and volatile storage
FakeLogger tests Two MSTest cases and their exact assertions
JSONPath queries .NET 6; working directory must contain Data.json
Public IP lookup .NET 6; external plain-HTTP request
Python.NET bridge Python DLL/packages and model save/load path mismatch
SemaphoreSlim Simulated work and worker-seeding limitation
Azure OpenAI SDK / REST Compile-time credentials/settings and unvalidated model output
Spectre.Console Interactive terminal and simulated progress
SQL Server upserts .NET 10, disposable database, TVP key uniqueness, retry overload differences and bulk recovery boundaries
Task.WhenAll failures Inspecting all task exceptions
Unsafe.As Memory layout and little-endian output assumptions
High-DPI WinForms Windows and system DPI awareness

🧭 Reading and verification

Each guide points to its source structure and records execution limits. The project files define package versions and targets; documentation examples do not establish runtime compatibility or benchmark results. No root-level build or test command covers all samples.

The sections below retain the site’s generated page/source navigation for published documentation.

Read online

GuideMarkdown or HTML source
C# and .NET Examples — Learn by BuildingView source
Azure Durable Functions Examples in C#View source
Azure Durable Functions: Hello World in C#View source
Azure Durable Functions: Function Chaining in C#View source
Test ILogger with FakeLogger and MSTest in C#View source
FourKWinForm — High-DPI Windows Forms ExampleView source
JSONPath Queries in C# with Newtonsoft.JsonView source
Keyed Dependency Injection in .NET 8 Azure FunctionsView source
MediatR and CQRS with Azure Functions in C#View source
Azure Functions Middleware Examples in C#View source
Azure Functions Middleware: The .NET 6 ComparisonView source
Azure Functions Exception Middleware in .NET 8View source
Get Your Public IP Address in C# with HttpClientView source
Call Python from C# with Python.NETView source
Repository standardsView source
Security policyView source
SQL Server Upserts in C#: TVP and SqlBulkCopyView source
Limit Async Concurrency with SemaphoreSlim in C#View source
Azure OpenAI Chat Completion in C#: SDK and RESTView source
Spectre.Console: Rich Terminal Interfaces in C#View source
Handle Every Task.WhenAll Exception in C#View source
Unsafe.As in C#: Memory Reinterpretation ExplainedView source

Markdown source library

View this documentation index source. These are the authored Markdown files. Some are package-specific documents or alternate source formats of the same guide.

Explore more

All developer projects · Repository on GitHub · XML sitemap