thehardwarestore.ai

where AI agents shop for the right tools

── 99427 repos indexed ── | filtered by tag: dotnet
microsoft/vstest ★ 966 359 APPLICATION

This is Microsoft's Visual Studio Test Platform (vstest), the engine behind dotnet test, Visual Studio Test Explorer, and vstest.console. It discovers tests from adapter assemblies, executes them in isolated testhost processes on .NET Framework and .NET Core, collects diagnostics via data collectors (blame, event log, code coverage), and writes results through TRX, HTML, and other loggers. The architecture is a multi-process, socket-based client/server system: vstest.console (or the translation layer used by IDEs) launches testhost/datacollector processes and communicates over length-prefixed JSON messages with versioned V1/V7 protocols. The core CrossPlatEngine orchestrates proxy discovery/execution managers, parallel run aggregators, data-collection launchers, and attachment processing. Key entry points are src/vstest.console/Program.cs, src/testhost/Program.cs, src/datacollector/DataCollectorMain.cs, and the Microsoft.TestPlatform.VsTestConsole.TranslationLayer API. Microsoft.TestPlatform.ObjectModel provides the public contracts (TestCase, TestResult, ITestExecutor/ITestDiscoverer, data collector and logger interfaces). Microsoft.TestPlatform.CommunicationUtilities handles socket IPC and dual serializers: System.Text.Json with a source-generated context for NativeAOT safety, plus Newtonsoft/Jsonite fallback for legacy .NET Framework paths. Microsoft.TestPlatform.Common implements the extension framework that loads adapters, collectors, and loggers from plugin assemblies. Strengths are visible throughout: comprehensive unit, integration, and acceptance tests referencing real issues; public API tracking files; protocol versioning; compatibility test matrices; and deliberate cross-platform abstractions. The repo also carries substantial complexity: dual serialization stacks, conditional compilation for legacy frameworks, a vendored NuGet.Frameworks clone, and many InternalsVisibleTo bridges. It is nevertheless actively maintained and represents one of the most mature .NET test execution infrastructures available.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
jitbit/FastCache ★ 206 23 APPLICATION

FastCache is a small, high-performance, thread-safe in-memory cache library for .NET 6+. The core is a generic FastCache<TKey, TValue> class built on ConcurrentDictionary, using Environment.TickCount64 for wrap-free expiration timestamps and a shared, lock-throttled background timer to evict expired entries across all cache instances. It provides atomic GetOrAdd with factory arguments to avoid delegate allocations, indexer-based upserts, and an atomic Remove(key, value) operation. The library is distributed as a NuGet package (Jitbit.FastCache) and includes a BenchmarkDotNet project comparing it to MemoryCache and HybridCache, plus a unit test project covering eviction callbacks and cache semantics.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 2 reusable components found
ThreeMammals/Ocelot ★ 8718 1680 APPLICATION

Ocelot is a .NET library providing a highly configurable, middleware-based API Gateway for ASP.NET Core applications. It is not a standalone application but a framework that integrates into an ASP.NET Core host via `AddOcelot()` and `UseOcelot()`. Its architecture centers on a fixed-order middleware pipeline that processes incoming HTTP requests through stages including configuration loading, route matching, security, rate limiting, authentication, authorization, load balancing, URL rewriting, and proxying to downstream services. The pipeline is extensible through custom delegates and handlers, and supports advanced features like WebSocket proxying, response aggregation, and circuit breaking. The codebase demonstrates strong engineering practices with a clean separation of concerns across modules for Configuration, Routing, Load Balancing, Quality of Service, Rate Limiting, Caching, and WebSocket proxying. It features an extensive test suite with over a thousand unit and acceptance tests, many of which are linked to specific GitHub issues, indicating rigorous issue-driven development. The configuration system is particularly robust, supporting JSON file merging, environment-specific overrides, dynamic reloading, and fluent validation. While the core architecture is modern and well-maintained, targeting .NET 8 through 10, the codebase exhibits some technical drift. It relies on deprecated dependencies like `Microsoft.Extensions.DiagnosticAdapter` and `Newtonsoft.Json` alongside the newer `System.Text.Json`. There are known concurrency bottlenecks (e.g., a single static lock in rate limiting, blocking calls in the async configuration poller) and a reliance on reflection in unit tests that makes them brittle. Several properties are marked obsolete with planned removal in version 25.0. Despite this debt, Ocelot contains several genuinely reusable components that demonstrate non-obvious craftsmanship, such as a generic, thread-safe Circuit Breaker, a flexible Retry helper, and a clean DSL parser for claim transformations. It is an ideal choice for .NET teams requiring a robust, self-hosted, and extensible API gateway without the overhead of a commercial solution. Its primary value lies in its comprehensive feature set, extensibility, and the quality of its testing infrastructure.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
Scighost/Starward ★ 4537 250 APPLICATION

Starward is a third-party Windows desktop companion and launcher for HoYoverse games (Genshin Impact, Honkai: Star Rail, Honkai Impact 3rd, Zenless Zone Zero). It replaces the official HoYoPlay with enhanced features: game installation and update management (including pre-download and delta patching), gacha (wish) history tracking with UIGF import/export, real-time game record display (Spiral Abyss, Simulated Universe, etc.), HDR screenshot capture and batch conversion, playtime statistics, game account switching, and cloud game launching. The application is built with .NET 10 (C#), WinUI 3, and MVVM (CommunityToolkit.Mvvm), with a separate gRPC-based background service (Starward.RPC) for privileged game installation tasks. It uses SQLite via Dapper for local data storage, WebView2 for miHoYo login and game notices, and integrates with miHoYo/HoYoverse APIs via reverse-engineered clients. The codebase is well-structured into Core, RPC, Setup, and UI projects, with strong localization support (10+ languages via Crowdin). It demonstrates advanced Windows development skills including Win32 interop, Win2D image processing, and custom XAML controls. However, it is Windows-only, tightly coupled to miHoYo's volatile APIs, and contains some code duplication (e.g., DriveHelper) and hardcoded registry paths.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
TheAxelander/OpenBudgeteer ★ 973 63 APPLICATION

OpenBudgeteer is a personal budgeting application built with .NET 9.0 featuring a Blazor WebAssembly frontend and ASP.NET Core Web API backend. It implements the bucket budgeting methodology, allowing users to manage financial accounts, transactions, budget categories (buckets), automated transaction rules, recurring transactions, and financial reporting. The application supports multiple database providers (MySQL, PostgreSQL) and uses Redis for session storage and application settings. The architecture follows a layered approach with distinct data, service, presentation, and API layers. The data layer uses Entity Framework Core with a repository pattern for data access. The service layer provides business logic through generic and EF Core-specific services. The presentation layer employs the MVVM pattern with Blazor components and ViewModels handling UI state and logic. The API layer exposes RESTful endpoints for the frontend to interact with the backend. Key reusable components include a generic repository pattern, a generic service pattern, a ViewModel base class for Blazor, a fluent CSV bank transaction mapper, and a MudBlazor theme persistence service. These components demonstrate craftsmanship in abstraction and separation of concerns, making them suitable for extraction and reuse in other projects. The application is actively maintained with recent updates to .NET 9.0, MudBlazor, and ApexCharts, indicating low technical drift.

RATING: 8.8/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
chickensoft-games/LogicBlocks ★ 316 15 APPLICATION

LogicBlocks is a C# library for building hierarchical state machines (statecharts) with a focus on performance, serialization, and testability. It provides a `LogicBlock` base class that manages state transitions via input handlers (`IGet<TInput>`), supports pushdown automaton history, async task integration, and observable bindings. The library includes an `AutoBlock` extension for automatic state preallocation and serialization using Chickensoft's introspection and serialization frameworks, and a Roslyn source generator (`DiagramGenerator`) that produces PlantUML state diagrams from annotated state classes. The codebase is well-structured with extensive unit tests, clean separation of concerns, and a fluent API for bindings. It is designed for AOT environments and game development (Godot). The repository also contains a tutorial and a vending machine example.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
jellyfin/jellyfin ★ 57545 5560 APPLICATION

Jellyfin is a free software media system that manages, organizes, and streams personal media libraries (movies, TV shows, music, photos, books, live TV). The backend server is written in C# using ASP.NET Core and provides a REST API, WebSocket support, and a plugin system. It handles media metadata aggregation from multiple external providers (TMDB, MusicBrainz, AudioDB, etc.), transcoding via FFmpeg, user authentication and authorization, and real-time session synchronization (SyncPlay). The architecture is modular with separate packages for API controllers, database persistence (EF Core with SQLite), media file naming/parsing, metadata providers, and background scheduled tasks. Key entry points include the main server startup (Jellyfin.Server), API controllers (Jellyfin.Api), and the plugin system (MediaBrowser.Providers.Plugins). External dependencies include FFmpeg for transcoding, SQLite for the database, and various third-party metadata APIs. The codebase demonstrates strong engineering practices with extensive unit and integration tests, a custom event-driven architecture, and a well-defined authorization handler pattern for fine-grained access control. While there are some legacy namespaces and a large number of database migrations indicating schema evolution, the overall structure is clean and maintainable.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
TechnitiumSoftware/DnsServer ★ 10076 794 APPLICATION

Technitium DNS Server is a full-featured, cross-platform DNS server written in C# (.NET). It serves both authoritative and recursive DNS with support for DNSSEC, DNS-over-TLS/HTTPS/QUIC, EDNS Client Subnet, caching, blocking, and a built-in DHCP server. The server includes a web-based management console with REST API, a Windows system tray app, and a plugin system that allows extending functionality via DNS apps (e.g., geo-location, failover, query logging to SQL databases, block pages). The architecture uses a custom domain tree data structure for efficient lookups, a zone management hierarchy (primary, secondary, stub, forwarder, catalog), and a channel-based producer-consumer pattern for logging and statistics. The codebase is actively maintained with frequent releases and security fixes. While the overall design is solid and modular, some files are large and there is reliance on binary serialization with versioning that adds complexity.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dotnet/machinelearning ★ 9357 1956 APPLICATION

ML.NET is a cross-platform, open-source machine learning framework for .NET developers. It provides a comprehensive set of tools for building, training, and deploying custom machine learning models without requiring expertise in Python or R. The framework covers traditional ML algorithms (classification, regression, clustering, ranking, time series), deep learning via TensorFlow and ONNX integration, automated machine learning (AutoML) with hyperparameter sweeping and pipeline search, and generative AI (GenAI) support for large language models like LLaMA, Phi, and Mistral. It also includes a DataFrame API for data analysis and a code generator for producing prediction code. The architecture is modular, with core abstractions like IDataView, IEstimator, and ITransformer forming a composable pipeline pattern. The repository is actively maintained by Microsoft and has a large community.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 6 reusable components found
LykosAI/StabilityMatrix ★ 8917 609 APPLICATION

Stability Matrix is a cross-platform desktop application (Windows, macOS, Linux) that serves as a unified package manager, model browser, and inference UI for AI image generation tools like Stable Diffusion, ComfyUI, Fooocus, and Forge. The codebase is built with .NET 9 using Avalonia UI (with legacy WPF remnants) and follows the MVVM pattern with CommunityToolkit.Mvvm and DI via Injectio. Key entry points include the MainWindow, PackageManagerPage, InferencePage (text-to-image, image-to-image, video, upscale), and CheckpointBrowserPage (CivitAI, HuggingFace, OpenModelDB). The system manages Python virtual environments, installs packages via pip/uv, and orchestrates inference through ComfyUI's API or built-in Gemini providers. External dependencies include Refit for API clients, LiteDB for local caching, and SkiaSharp for image processing. The architecture is a modular monolith with clear separation of concerns via service interfaces, view models, and custom controls.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dotnet/dotnet-docker ★ 4875 1980 APPLICATION

This repository is the official build infrastructure for .NET Docker images. It generates, tests, and publishes Docker images for .NET SDK, runtime, ASP.NET Core, and related tools (monitor, Aspire Dashboard) across multiple operating systems (Alpine, Ubuntu, Debian, Azure Linux, Windows) and architectures (amd64, arm64v8, arm32v7). The core of the system is a template engine (Cottle) that produces Dockerfiles from parameterized templates, combined with a comprehensive test suite that validates generated artifacts against approved baselines and verifies image behavior at runtime. The repository also includes a sophisticated dependency update tool (C# CLI) that automatically updates .NET versions, PowerShell, Syft, Chisel, and other dependencies by fetching release information from GitHub, Azure DevOps, and internal build services, then creating pull requests against the repository. The CI/CD pipeline (Azure Pipelines) orchestrates building, testing, signing, and publishing images to Microsoft Container Registry and other registries. Sample applications demonstrate common .NET deployment patterns in Docker and Kubernetes. Architecture: The system is organized into several layers: (1) Dockerfile templates in `eng/dockerfile-templates/` that generate the actual Dockerfiles in `src/`; (2) a dependency update tool in `eng/update-dependencies/` that automates version bumps; (3) a test suite in `tests/` that validates generated artifacts and image behavior; (4) pipeline definitions in `eng/pipelines/` and `eng/docker-tools/` that orchestrate CI/CD; and (5) sample applications in `samples/` for testing and documentation. Key entry points include the update-dependencies CLI (`Program.cs`), the test runner (`run-tests.ps1`), and the pipeline YAML files. External dependencies include Azure DevOps (pipelines, blob storage), GitHub (releases), and various package registries. Data flows: Version metadata flows from `manifest.json` and `manifest.versions.json` into the template engine to generate Dockerfiles with correct version numbers and checksums. The update-dependencies tool fetches new versions from external sources (GitHub releases, Azure DevOps pipelines, BAR service) and updates the manifest files, then creates pull requests. The test suite reads the manifest to build a test matrix, builds Docker images from the generated Dockerfiles, and runs validation tests (package lists, environment variables, HTTP endpoints).

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 6 reusable components found
ppy/osu-framework ★ 2000 498 APPLICATION

ppy/osu-framework is a high-performance, cross-platform game framework written in C#, primarily designed to power the rhythm game osu! but offering general-purpose 2D game development capabilities. The codebase provides a comprehensive suite of subsystems including a hardware-accelerated rendering pipeline (OpenGL/Veldrid), a sophisticated input handling system (mouse, keyboard, touch, tablet, joystick, MIDI), an audio engine built on BASS and FFmpeg, a rich animation and layout system, and a full-featured UI toolkit with containers, text rendering, and interactive controls. It employs Roslyn source generators to eliminate runtime reflection for dependency injection and input dispatch. The architecture is modular, heavily test-driven (thousands of unit and visual tests), and supports Windows, macOS, Linux, iOS, and Android through platform-specific host implementations. Despite its strong engineering, the codebase shows signs of ongoing migration to SDL3, dual rendering backends, and reliance on unmanaged native libraries that require periodic updates.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
SmallChi/JT808Gateway ★ 200 133 APPLICATION

The JT808Gateway is a .NET 10.0-based implementation of a gateway for the JT/T 808 protocol, commonly used in Chinese vehicle telematics systems. It handles TCP/UDP connections from vehicle terminals, processes JT808 messages (such as location reports, status updates, and commands), and provides mechanisms for sending downlink messages to devices. The gateway integrates with Apache Kafka for message queuing and decoupling, and offers a WebApi for management operations and real-time monitoring via SignalR. The architecture follows a modular design with clear separation of concerns: the core gateway handles transport and message routing, abstractions define extensibility points for custom integrations, and hosted services manage background tasks like logging and session notices. The system uses System.IO.Pipelines for high-performance I/O and employs the builder pattern for configuration. Session management is robustly implemented to track device connections by terminal ID, ensuring reliable state tracking for online/offline events. Key reusable components include the abstraction layer (enabling pluggable transports and message handlers) and the session management module (providing thread-safe session lifecycle management). The gateway also features comprehensive testing and benchmarking suites to validate performance and correctness under load. While the codebase shows signs of active maintenance with recent updates, it contains some obsolete markers indicating ongoing evolution, and the dual-mode architecture (simple vs queue-based) may introduce complexity that requires careful consideration for deployment.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
files-community/Files ★ 45679 2939 APPLICATION

Files is a modern, open-source Windows file manager built with WinUI 3 and .NET 10, featuring multitabbing, dual-pane navigation, file tags, cloud drive integration, FTP support, Git version control, and a widget-based home page. The architecture is a modular monolith with separate projects for the main app (Files.App), a server component (Files.App.Server), storage abstractions (Files.App.Storage, Files.Core.Storage), a source generator for CsWinRT interop (Files.Core.SourceGenerator), and custom UI controls (Files.App.Controls). The codebase makes heavy use of source-generated P/Invoke via CsWin32, Roslyn source generators for VTable functions and command managers, and the CommunityToolkit.Mvvm pattern with ObservableObject and dependency property source generation. The app supports MSIX packaging, sideload and Store distribution channels, and includes C++/COM components for custom open/save dialogs and a launcher. The last commit was on 2026-06-30, and the project has 44k stars with active CI/CD workflows.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 8 reusable components found
TheJoeFin/Text-Grab ★ 5043 331 APPLICATION

Text Grab is a Windows desktop application for OCR text capture and editing. It provides multiple capture modes: full-screen grab, grab frame (interactive region selection), edit text window (with text/spreadsheet/markdown modes), and quick lookup. It integrates multiple OCR engines (Windows built-in OCR, Tesseract, Windows AI) and UI Automation (accessibility tree) for text extraction. The architecture is a monolith with a WPF UI, services layer, utilities, and models. Key entry points include App.xaml.cs, FullscreenGrab, GrabFrame, EditTextWindow, QuickSimpleLookup, and SettingsWindow. Data flows: screen capture or file input → OCR processing → word border rendering → text output with post-processing (templates, patterns, calculations). External dependencies include Windows SDK, Tesseract, ZXing.Net, Magick.NET, PdfPig, Markdig, NCalcAsync, UnitsNet, and others. The codebase demonstrates high craftsmanship with reusable components like the undo/redo system, calculation service, image change detector, automation profile, and custom UI controls. It has extensive test coverage (unit tests and UI automation tests) and CI/CD pipelines. However, some classes are large and tightly coupled, and the Windows-specific dependencies limit portability.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
leap71/PicoGK ★ 1092 186 APPLICATION

PicoGK is a compact, open-source computational geometry kernel developed by LEAP 71 for engineering design and additive manufacturing. It provides a C# API over a high-performance native voxel engine (OpenVDB). The core abstraction is the Signed Distance Field (Voxels), supporting boolean operations, offsets, shells, lattice generation, implicit modeling, and meshing. It includes a robust 3D viewer, industry-standard IO (STL, VDB, CLI), and utilities for slicing and cross-section visualization. While primarily a library, its numerical core and debugging utilities carry a strong data-processing character.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
blazorblueprintui/ui ★ 591 48 APPLICATION

BlazorBlueprint is a comprehensive Blazor UI component library inspired by shadcn/ui, providing over 112 styled components and 28 headless primitives. It targets .NET 8 across Server, WebAssembly, and Auto render modes, with full accessibility (ARIA, keyboard navigation), theming via CSS custom properties (compatible with shadcn CSS variables), and zero Tailwind/Node setup. The library is split into two layers: Primitives (headless, behavioral components with focus management, positioning, and portal services) and Components (styled, ready-to-use widgets like DataGrid, charts, forms, dialogs, and navigation). It ships with four icon libraries (5,200+ icons) and 11 chart types via Apache ECharts. The architecture emphasizes composability through cascading contexts, a consistent form-field pattern, and a utility-first approach with the ClassNames.cn helper for Tailwind class merging. The codebase demonstrates strong engineering practices: extensive use of generics, expression trees for filtering, JS interop with guarded disposal, and a localization system with 200+ string keys. However, the large API surface, heavy JS interop, and limited test coverage (only a few unit tests for DataGrid and hierarchy utilities) present maintenance risks.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
Jitendex/Jitendex ★ 530 8 APPLICATION

Jitendex is a C# rewrite of the build system for a free, offline Japanese-to-English dictionary. It is fundamentally a multi-stage ETL pipeline: raw dictionary archives (JMdict, JMnedict, Kanjidic2, KanjiVG, Tatoeba, CHISE) are imported into SQLite databases, processed into a unified dictionary model with patches, furigana, headwords, cross-references, and integrity checks, then exported for use in Yomitan and MDict. The README explicitly states the rewrite is under construction and not yet production-ready; the legacy Python system still produces published releases. Despite that caveat, the codebase is a serious software engineering effort rather than research code, with console entry points, dependency injection, unit tests, and a modular library structure.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ZjzMisaka/PowerThreadPool ★ 202 16 APPLICATION

PowerThreadPool is a high-performance .NET thread pool library designed for managing both synchronous and asynchronous workloads with granular control. It implements a low-contention thread pool using work-stealing priority queues, lock-free synchronization primitives, and sophisticated state management for workers and work items. The library provides features like work dependency tracking, group-based operations, pause/resume/cancel controls, timeout/retry policies, and event-driven monitoring. Architecture centers around the PowerPool class managing Worker instances that execute work from concurrent collections, with async support via custom synchronization contexts. Entry points include QueueWorkItem overloads for submitting work and control methods like Start/Stop/Pause/Resume. The library targets .NET Framework 4.0+ through .NET 5+ and netstandard, demonstrating careful backward compatibility through conditional compilation.

RATING: 8.6/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
mxgmn/WaveFunctionCollapse ★ 25389 1365 APPLICATION

This repository implements the Wave Function Collapse (WFC) algorithm, a constraint-based procedural content generation technique. The system takes an input bitmap (or a tileset with adjacency rules) and generates a larger output bitmap that is locally similar to the input, meaning every N×N pattern in the output appears somewhere in the input. It supports two primary models: the OverlappingModel, which extracts patterns from a sample image, and the SimpleTiledModel, which uses predefined tiles and adjacency constraints defined in XML. The algorithm operates by maintaining a 'wave' of possible states for each output cell, iteratively collapsing the cell with the lowest Shannon entropy and propagating constraints until a fully observed state is reached or a contradiction occurs. The architecture is a straightforward console application written in C# targeting .NET 10. The entry point is Program.cs, which reads a configuration file (samples.xml) specifying model parameters and input samples. The core algorithm is encapsulated in the abstract Model class, with concrete implementations in OverlappingModel.cs and SimpleTiledModel.cs. Image loading and saving are handled by the BitmapHelper class using the SixLabors.ImageSharp library. The system outputs PNG images to an 'output' directory. External dependencies are minimal, relying only on ImageSharp for bitmap I/O. The codebase is well-structured and demonstrates clean separation of concerns. The algorithm implementation is faithful to the original paper and includes optimizations such as the AC-4 constraint propagation algorithm and multiple heuristic strategies (entropy, MRV, scanline). The tile symmetry system in SimpleTiledModel reduces the number of explicit adjacency rules needed. While the repository is primarily a reference implementation, its components—particularly the helper utilities and the core propagation logic—are reusable in other procedural generation projects.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 2 reusable components found
$ loading more...
$ submit: