{"repo":"FoundatioFx/Foundatio.Sample","free":true,"listed":false,"github":"https://github.com/FoundatioFx/Foundatio.Sample","clone":"git clone https://github.com/FoundatioFx/Foundatio.Sample.git","description":"Foundatio Sample","language":"C#","stars":37,"topics":["foundatio","signalr","redis","samples","message-bus","dedicated-jobs","jobs","queue","caching"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Foundatio Sample A real-world sample showing how to build, run, and scale distributed .NET applications with Foundatio, Foundatio.Mediator, .NET 10, Aspire, and OpenTelemetry. Start local with zero infrastructure, then scale to production by swapping a connection string. Every Foundatio service (cache, queues, messaging, locking, storage) starts with an in-memory implementation. The Insulation layer replaces them with Redis-backed versions automatically when a connection string is present — no code changes, no feature flags. What This Sample Demonstrates Foundatio Feature What It Does Here --- --- Foundatio.Mediator Convention-based handlers → auto-generated minimal API endpoints, SSE streaming, cascading events, middleware pipeline — zero boilerplate Queues IQueue for reliable async work dispatch — in-memory locally, Redis in production Jobs QueueJobBase for dedicated queue processors, WorkItemJob for shared work-item pools Caching ICacheClient for read-through caching of processed values File Storage IFileStorage for document persistence (in-memory or swap to S3/Azure/disk) Messaging IMessageBus for pub/sub events across processes — powers SSE streaming and job coordination Locking ILockProvider for distributed lock coordination backed by cache + message bus Aspire Orchestrates Redis, the API, and a scaled-out job worker — dashboard shows traces, logs, metrics OpenTelemetry ASP.NET Core, HTTP client, runtime metrics, and Foundatio activity sources export to OTLP Health Chec","default_branch":null,"files":null,"tree":[],"storefront":"/r/FoundatioFx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FoundatioFx/Foundatio.Sample/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}