thehardwarestore.ai

where AI agents shop for the right tools

── 99250 repos indexed ── | filtered by tag: dotnet
AvaloniaUI/Avalonia ★ 31633 2840 APPLICATION

Avalonia is a mature, cross-platform UI framework for .NET, enabling developers to build desktop, mobile, and web applications with a single codebase. It provides a rich set of controls, a powerful styling system, data binding, animations, and platform-specific backends (Windows, Linux, macOS, Android, iOS, Browser). The architecture is modular: core libraries (Avalonia.Base, Avalonia.Controls) define the property system, layout, input, and rendering, while platform backends implement windowing, graphics (Skia, Vulkan, OpenGL), and accessibility. The framework includes a XAML compiler, source generators, and extensive testing infrastructure. It is actively maintained with a large community and is used in production applications.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
Tyrrrz/CliWrap ★ 5005 287 APPLICATION

CliWrap is a .NET library that provides an airtight, fluent abstraction over System.Diagnostics.Process for interacting with command-line interfaces. It offers immutable command configuration, flexible piping of standard input/output/error streams via PipeSource and PipeTarget abstractions, and multiple execution models including buffered execution, pull-based IAsyncEnumerable event streams, and push-based IObservable event streams. The library handles deadlock prevention, graceful/forceful cancellation with process kill and interrupt signals, and supports cross-platform credential management and resource policies. Its architecture is centered around composable pipe operators and a strict separation of concerns, making it a production-grade tool for any CLI automation in .NET. The codebase is exceptionally well-crafted, with comprehensive unit tests, benchmarks, and a clean public API surface that follows modern .NET conventions.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dotnet/docs ★ 4758 6075 DATA_RESEARCH

This repository serves as the primary source for .NET documentation (learn.microsoft.com/dotnet). It contains conceptual guides, API references, and runnable code samples demonstrating .NET language features, frameworks, and best practices. The repository is not a single application but a curated collection of educational materials organized by technology domain (e.g., C#, ASP.NET Core, Orleans, AI). Code samples illustrate patterns like dependency injection, logging, serialization, and data access, often with minimal, self-contained examples. Maintenance is active via GitHub Actions workflows for linting, dependency updates, and version sweeping, ensuring content stays current with .NET releases.

RATING: 9.8/10 REPRO: 7.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
xunit/xunit ★ 4601 844 APPLICATION

xUnit.net v3 is a mature, open-source unit testing framework for .NET (C#, F#, VB). It provides a comprehensive test execution pipeline: test discovery via attributes (Fact, Theory, InlineData, etc.), execution through a hierarchy of runners (assembly, collection, class, method, test case), and result reporting via message sinks and multiple output formats (XML, HTML, JUnit, TRX, Markdown). The architecture is modular, with separate projects for the core framework (xunit.v3.core), runner infrastructure (xunit.v3.runner.common), console runner (xunit.v3.runner.console), MSBuild integration, Microsoft Testing Platform adapter, and an assertion library (xunit.v3.assert). A key innovation is dual support for reflection-based execution and Native AOT via Roslyn source generators, which produce code-gen test assemblies for ahead-of-time compilation scenarios. The framework integrates with CI systems (TeamCity, AppVeyor, Azure DevOps) and supports parallelization, test ordering, fixture lifecycle management, and dynamic skipping. External dependencies include the .NET runtime, Roslyn (for source generators), and optionally Microsoft Testing Platform. The codebase is highly engineered with extensive test coverage, clean abstractions (e.g., message bus, context objects, exception aggregator), and a strong emphasis on extensibility through custom attributes, reporters, and result writers.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
dotnet/aspnetcore ★ 38464 12948 APPLICATION

This is the official ASP.NET Core framework repository, a cross-platform, high-performance framework for building modern cloud-based internet-connected applications. It is a massive monorepo containing the source code for MVC, Razor Pages, Blazor (including server-side, WebAssembly, and AI components), SignalR, gRPC, authentication/authorization, data protection, caching, hosting, and multiple server implementations (Kestrel, IIS, HttpSys). The architecture is modular, with many NuGet packages that can be used independently. Key entry points include WebApplication.CreateBuilder, UseStartup, MapControllers, MapBlazorHub, and MapHub. The framework relies on the .NET runtime and the ASP.NET Core shared framework, with optional dependencies on Redis, SQL Server, and other services. The codebase is actively maintained by Microsoft with extensive testing, performance benchmarks, and CI/CD pipelines. It demonstrates high craftsmanship in areas such as object pooling, custom synchronization contexts, form mapping with collection adapters, and rich text AST for AI chat. While there are some deprecated APIs and internal duplication, the overall architecture is well-structured and professionally engineered.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
grpc/grpc-dotnet ★ 4485 834 APPLICATION

This repository is the official gRPC implementation for .NET (grpc-dotnet), providing a comprehensive set of libraries for building gRPC services and clients on ASP.NET Core. It includes server-side integration via `Grpc.AspNetCore.Server` with full support for unary, server-streaming, client-streaming, and duplex streaming calls, as well as client-side libraries (`Grpc.Net.Client`, `Grpc.Net.ClientFactory`) that leverage `HttpClient` and DI. The codebase also covers gRPC-Web (both server middleware and client handler), health checks, server reflection, load balancing, retry/hedging policies, compression, interceptors, and a CLI tool (`dotnet-grpc`) for managing protobuf references. The architecture is modular, with clear separation of concerns: core abstractions in `Grpc.Core.Api`, shared utilities in `Grpc.Net.Common`, and platform-specific implementations. Extensive unit and functional tests, performance benchmarks, and interop test assets ensure correctness and performance across .NET versions and platforms.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 8 reusable components found
jstedfast/MimeKit ★ 2001 390 APPLICATION

MimeKit is a mature, high-performance .NET library for creating, parsing, and manipulating MIME messages (email). It provides comprehensive support for all standard MIME structures (multipart, message/rfc822, content-transfer encodings), internationalized headers (RFC 2047/2231), and email security features including S/MIME, OpenPGP, DKIM, and ARC signing/verification. The library also includes a full HTML5 tokenizer, TNEF (Outlook Transport Neutral Encapsulation Format) reader, text format converters (HTML, flowed, plain), and a stream filter pipeline for encoding/decoding and line-ending normalization. The codebase is well-architected with clean abstractions (visitor pattern, filter chain, encoder/decoder interfaces), extensive unit tests, and benchmarks demonstrating 25x–75x faster parsing than competing .NET MIME libraries. It is distributed as NuGet packages (MimeKit, MimeKitLite) and is a .NET Foundation project. The repository also includes sample applications for Windows Forms, iOS, and Android, and a DKIM verifier sample.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
reactivemarbles/DynamicData ★ 1902 193 APPLICATION

DynamicData is a mature, production-grade .NET library that brings the power of Reactive Extensions (Rx) to in-memory collections. It provides observable caches (`SourceCache<TObject,TKey>`) and lists (`SourceList<T>`) that emit incremental change sets (`IChangeSet`), along with 60+ LINQ-style operators for filtering, sorting, grouping, joining, paging, virtualizing, transforming, and aggregating dynamic data. The library is architected around a pipeline of operators that compose via `IObservable<IChangeSet<...>>`, enabling reactive, real-time data processing and UI binding. It features lock-free concurrency primitives (`SharedDeliveryQueue`), performance-optimized internal data structures (`ChangeAwareCache`, `EnumerableIList`), and extensive support for both synchronous and asynchronous transformations. The codebase demonstrates high craftsmanship with careful attention to allocation minimization, thread safety, and API consistency. It is the foundational library for ReactiveUI and many WPF/MAUI applications.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
icsharpcode/ILSpy ★ 26539 3750 APPLICATION

ILSpy is a production-grade .NET assembly browser and decompiler, serving as the open-source successor to SharpDevelop's decompiler. It is architected as a hybrid monolith with a clear plugin system (MEF), separating the core decompilation engine (`ICSharpCode.Decompiler`) from the cross-platform GUI (`ILSpy`, built on Avalonia) and the command-line interface (`ICSharpCode.ILSpyCmd`). The core engine implements a full .NET type system, an intermediate language (IL) with a comprehensive transform pipeline, and a C#/VB syntax tree generator, enabling it to faithfully reconstruct high-level source code from compiled bytecode. The primary data flow begins with loading binary assemblies (PE, ELF, bundles) through a registry of file loaders. The `ILReader` parses bytecode into IL instructions, which undergo a series of transforms (control flow analysis, pattern matching, type inference) before being built into a C# AST. This AST is then processed by output visitors to produce formatted source code, debug information, or project files. The GUI provides a dockable workspace, syntax-highlighted editor, metadata table viewers, analyzers for code navigation (find usages, overrides), and a search engine. The codebase exhibits high craftsmanship, particularly in its utility libraries and AST pattern matching. Self-contained, extractable components include a generic Union-Find data structure (`UnionFind.cs`), an immutable interval-based map for 64-bit keys (`LongSet.cs`/`LongDict.cs`), a declarative AST pattern matching DSL (`Pattern.cs`), and thread-safe lazy initialization utilities (`LazyInit.cs`). These components solve non-trivial problems (efficient range queries, backtracking tree matching) and are isolated from the rest of the codebase. The project is actively maintained, with recent commits, extensive CI/CD pipelines (CodeQL, Scorecard, Dependabot), and a large test suite covering decompilation correctness and UI behavior. Technical drift is low; the codebase targets modern .NET versions and has successfully migrated from WPF to Avalonia. While the sheer size introduces complexity, the architecture is sound, making it a strong reference for decompiler design, .NET internals, and cross-platform desktop application architecture.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
pulumi/pulumi ★ 25781 1448 APPLICATION

This repository is the Pulumi Infrastructure as Code (IaC) platform. It provides a CLI (`pulumi`) and multi-language SDKs (TypeScript, Python, Go, .NET, Java, YAML) that allow users to define cloud infrastructure using general-purpose programming languages. The architecture is a monorepo containing a core engine (`pkg/engine`) that orchestrates resource lifecycle management, deployment steps, and state operations. Language plugins (`pulumi-language-nodejs`, `pulumi-language-python`, `pulumi-language-go`) host user programs and communicate with the engine via gRPC. Code generators (`pkg/codegen`) produce SDKs from provider schemas, enabling a pluggable provider model. The CLI entry point is `pkg/cmd/pulumi/main.go`, dispatching to subcommands for stack management, deployment operations (up, preview, destroy, refresh), policy-as-code, config, secrets, and ESC (Environments, Secrets, Config). External dependencies include cloud provider APIs (AWS, Azure, GCP, Kubernetes) accessed through plugins, and state backends (local filesystem, S3, Azure Blob, GCS, PostgreSQL, or Pulumi Cloud). The system uses protobuf for serialization and gRPC for inter-process communication between engine, language hosts, and providers.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
litedb-org/LiteDB ★ 9483 1326 APPLICATION

LiteDB is an embedded NoSQL document database library for .NET. In production it is not a server but an in-process database engine that persists BSON documents to a single file with ACID transactions, WAL/checkpointing, MVCC snapshot isolation, B-tree and vector indexes, optional AES-256 encryption, and multi-process shared-file coordination. The public API is built around `LiteDatabase`, `LiteCollection<T>`, and `LiteRepository`, with `BsonMapper` for POCO mapping and both LINQ and SQL-like `Execute` query paths. Internally, `LiteEngine` implements page-based storage, crash recovery, compaction/rebuild, system collections, and an aggressive query optimizer that rewrites predicates, selects indexes, and supports vector similarity search. The repository also ships a CLI shell, a repro runner, stress tools, and a substantial fuzzing harness used to prove durability and recovery correctness under injected faults and power loss. The architecture is a layered monolith: a client/API layer (`LiteDatabase`, mapper, SQL parser, LINQ expression translation), a query execution layer with index selection and predicate optimization, and a storage layer with buffered page cache, WAL recovery, transaction registry, and shared-mutex coordination. Write flows go from POCO through `BsonMapper` into `BsonDocument`, into transaction snapshots and the WAL, then onto data/index pages; reads flow from index seeks/scans through BSON expression evaluation into materialized documents. The core library has no third-party runtime dependencies, relying only on the .NET base class library; supplementary tools add BenchmarkDotNet, Spectre.Console, and Gemini embedding APIs. The code is actively maintained, with a very large regression suite keyed to GitHub issues, continuous fuzzing, and compatibility tooling across file format versions.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
reactiveui/ReactiveUI ★ 8548 1151 APPLICATION

ReactiveUI is a production-grade, cross-platform MVVM (Model-View-ViewModel) framework for the .NET ecosystem. Its architecture is centered around reactive primitives (ReactiveObject, ReactiveProperty, IObservable) that form the backbone of its view model layer. The framework employs a fluent builder pattern (RxAppBuilder) for application initialization, a custom dependency injection system ('Splat'), and extensive source code generation to provide a type-safe, AOT-compatible binding and view resolution system. It abstracts platform-specific UI toolkits (WPF, WinUI, MAUI, WinForms, AndroidX, iOS/macOS UIKit, Blazor) behind a consistent set of interfaces (IViewFor<T>, IRoutableViewModel, IActivatableViewModel). The codebase demonstrates strong engineering practices, including a sophisticated reactive command pattern (ReactiveCommand), a typed message bus (MessageBus), a state persistence lifecycle (SuspensionHost), and a collection change-set streaming mechanism (ReactiveChangeSet). A significant portion of the code is dedicated to ensuring Ahead-of-Time (AOT) compilation safety, avoiding reflection where possible through generic view resolution and explicit registration, which is a non-trivial and well-executed design constraint. The repository includes extensive unit tests, platform-specific integration tests, and performance benchmarks. While the framework is actively maintained (evidenced by recent commits, low open issue count, and zero Dependabot alerts), its ambitious scope introduces inherent complexity. The reliance on a custom DI framework, conditional compilation flags (REACTIVE_SHIM), and the maintenance burden of supporting eight distinct UI platforms are notable architectural trade-offs. Despite this, the core abstractions are cleanly separated, highly reusable, and represent a high standard of craftsmanship in the .NET reactive programming space.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
sebastienros/jint ★ 4712 605 APPLICATION

Jint is a high-performance JavaScript interpreter for .NET, implementing the full ECMAScript specification (ES2025+) with extensive Web API support (Fetch, Streams, Crypto, Encoding, Workers, etc.) and a headless browser automation layer. The core engine provides a rich embedding API with CLR interop, module loading, execution constraints, and debugging via the Chrome DevTools Protocol. The architecture is modular: the engine itself is a library (Jint), with separate packages for DevTools debugging (Jint.DevTools), browser automation (Jint.Browser), and source generators for efficient interop (Jint.SourceGenerators). The codebase is exceptionally well-tested with thousands of unit tests, Web Platform Tests (WPT), and Test262 conformance tests, plus a comprehensive benchmark suite. It is used in production by projects like RavenDB, EventStore, and OrchardCore as an embedded scripting engine.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
servicetitan/Stl.Fusion ★ 1887 105 APPLICATION

Stl.Fusion is a high-performance .NET framework for building real-time, distributed, and stateful applications. It implements a Distributed REAactive Memoization (DREAM) pattern, where computed values automatically track their dependencies and invalidate when those dependencies change. This enables transparent caching, automatic UI updates, and efficient client-server state synchronization without manual cache management. The framework is architected as a layered set of libraries: Stl (base utilities), Stl.Interception (AOP proxy generation), Stl.CommandR (CQRS command pipeline), Stl.Rpc (full-duplex RPC with WebSocket transport), Stl.Fusion (core compute engine with states and operations), Stl.Fusion.Server (ASP.NET Core integration), Stl.Fusion.Blazor (Blazor components), and Stl.Fusion.EntityFramework (EF Core integration with operation log change tracking). It also includes Redis integration for pub/sub and caching, and a Roslyn source generator for proxy types. The framework is designed for Blazor Server and WebAssembly, microservices, and any .NET application requiring real-time reactivity. It provides extensive test coverage, performance benchmarks showing orders-of-magnitude improvements over traditional caching, and sample applications (TodoApp, HelloCart) demonstrating end-to-end usage.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
autofac/Autofac ★ 4658 846 APPLICATION

Autofac is a mature, production-grade Inversion of Control (IoC) container for .NET, providing dependency injection (DI) capabilities. The core library manages object lifetimes, service resolution, and dependency graphs through a fluent registration API and a pipeline-based resolution engine. It supports a wide range of features including constructor and property injection, decorators, open generics, assembly scanning, metadata, keyed services, and advanced lifetime scopes (singleton, per-scope, per-dependency, per-owned). The architecture is built around extensible middleware phases (scope selection, decoration, sharing, activation) and registration sources that dynamically provide services. Autofac is designed for high performance and AOT/trimming compatibility, with extensive benchmarks and a dedicated AOT verification workflow. It is a library, not an application; it is consumed by other .NET projects to manage their dependency injection needs.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dotnet/docfx ★ 4449 890 APPLICATION

DocFX is a .NET-based documentation generator that creates static HTML websites from Markdown, YAML metadata, .NET API comments, and REST API specifications. It features a modular architecture with a plugin system for extensibility, processing pipelines for different document types (conceptual, managed reference, REST API), and a template engine for customizable output. The system processes input files through metadata extraction, template application, and post-processing to generate documentation sites. Key components include a command-line interface (docfx.exe), build orchestration, schema-driven document validation, cross-reference resolution, and resource handling. The tool supports multiple templates (default, modern, statictoc) and output formats including HTML and PDF via Playwright rendering.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found

This repository contains a sophisticated COBOL modernization toolkit that uses AI agents to analyze, extract business logic from, and convert legacy COBOL code to modern Java (Quarkus) or C# (.NET) applications. The system features an agent-based architecture with specialized agents for structural analysis, business logic extraction, dependency mapping, and code conversion. It includes a web portal for monitoring migration progress, visualizing dependency graphs, and interacting with AI assistants. The toolkit handles large COBOL files through intelligent semantic chunking that preserves code context across chunks, and uses a hybrid persistence approach (SQLite for metadata, Neo4j for graph visualization) to store migration artifacts. Key innovations include a three-tier complexity reasoning system that dynamically adjusts AI effort based on code complexity, semantic unit-aware chunking, and cross-chunk consistency mechanisms for type mappings and signatures.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
SeleniumHQ/selenium ★ 34521 8717 APPLICATION

Selenium is a cross-browser automation framework that provides a unified interface to control web browsers programmatically. It implements the W3C WebDriver specification and the newer WebDriver BiDi protocol, enabling browser automation for testing, scraping, and RPA. The repository is a monorepo containing client libraries in Java, Python, Ruby, JavaScript, .NET, and Rust, along with the Selenium Grid server for distributed test execution and the Selenium Manager for automatic driver discovery. The architecture consists of three main layers: (1) language-specific client bindings that expose a consistent API (WebDriver, WebElement, etc.) and translate commands into HTTP requests or WebSocket messages; (2) the Selenium Grid, a distributed system of routers, distributors, nodes, and session maps that manage browser sessions across multiple machines; and (3) protocol implementations including the classic REST-based WebDriver protocol, the bidirectional BiDi protocol over WebSockets, and the Chrome DevTools Protocol (CDP) for advanced browser introspection. The system relies on external browser drivers (chromedriver, geckodriver, etc.) and communicates with browsers via HTTP and WebSocket. Key entry points include the language-specific WebDriver constructors (e.g., webdriver.Chrome(), new ChromeDriver()), the Grid server startup scripts, and the Selenium Manager CLI. Data flows involve capability negotiation, command serialization, HTTP/WebSocket transport, and response deserialization. The project depends on browser binaries, driver executables, and third-party libraries for HTTP, WebSocket, JSON, and protocol handling.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 6 reusable components found
reactiveui/refit ★ 9561 787 APPLICATION

Refit is a .NET library that automatically generates type-safe HTTP API clients from C# interfaces decorated with attributes like [Get], [Post], [Header], [Body], and [Query]. It operates via two parallel request-building paths: a Roslyn source generator that emits inline request construction at compile time (trim/AOT-safe), and a reflection-based fallback for unsupported shapes. The library integrates deeply with Microsoft.Extensions.DependencyInjection and IHttpClientFactory, providing extension methods like AddRefitClient<T> and AddKeyedRefitClient for managed HTTP client lifecycles. It supports multiple serializers (System.Text.Json, Newtonsoft.Json, XML), content compression (gzip, Brotli, Zstandard), streaming responses (IAsyncEnumerable, JSON Lines, SSE), multipart form data, and per-request timeouts and authorization via DelegatingHandler pipelines. The architecture is modular: the core Refit package provides attributes, serialization interfaces, and the runtime GeneratedRequestRunner; Refit.HttpClientFactory adds DI integration; Refit.Newtonsoft.Json and Refit.Xml provide alternative serializers; Refit.Reflection offers the runtime request builder; and Refit.Testing supplies StubHttp and Reply for unit testing without a live server. The source generator (InterfaceStubGeneratorV2) is an incremental generator that parses interfaces and emits partial classes into the consumer assembly, using value-equatable models (ImmutableEquatableArray) for caching. The reflection path caches parsed method metadata and builds requests via delegates, ensuring parity with generated code. Key entry points include RestService.For<T>() for creating clients, AddRefitClient<T>() for DI registration, and RefitSettings for central configuration. External dependencies are minimal: System.Text.Json (built-in), Microsoft.Extensions.Http, and optionally Newtonsoft.Json or System.Xml. The library is extensively tested with unit tests, integration tests, snapshot-based generator tests, and benchmarks measuring allocation and throughput. It targets .NET 8/9/10/11 and .NET Framework 4.6.2+, with polyfills for missing BCL types.

RATING: 9.3/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
Fody/Fody ★ 4541 463 APPLICATION

Fody is a .NET build-time IL weaving engine that integrates with MSBuild. It allows developers to write plugins ('weavers') that manipulate compiled assemblies during the build process, enabling cross-cutting concerns like null guards, logging, property change notification, and more without runtime overhead. The core engine is the WeavingTask MSBuild task, which orchestrates loading weaver assemblies into an isolated assembly load context (using AppDomain on .NET Framework, AssemblyLoadContext on .NET Core), executing them against the target module via Mono.Cecil, and writing the modified assembly. The architecture is modular: FodyTasks contains the MSBuild integration, FodyIsolated contains the weaver execution logic, FodyHelpers provides the base class (BaseModuleWeaver) and testing utilities for weaver authors, and FodyCommon provides shared types. Integration tests validate end-to-end behavior with real weavers (SampleWeaver, NullGuard, Virtuosity). The codebase shows high craftsmanship with rigorous error handling, caching, and backward compatibility support, making it a foundational tool in the .NET AOP ecosystem.

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