Foundgine.Providers 2.2.1

dotnet add package Foundgine.Providers --version 2.2.1
                    
NuGet\Install-Package Foundgine.Providers -Version 2.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Foundgine.Providers" Version="2.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Foundgine.Providers" Version="2.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Foundgine.Providers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Foundgine.Providers --version 2.2.1
                    
#r "nuget: Foundgine.Providers, 2.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Foundgine.Providers@2.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Foundgine.Providers&version=2.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Foundgine.Providers&version=2.2.1
                    
Install as a Cake Tool

Foundgine.Providers

Purpose

Foundgine.Providers contains concrete integrations that connect Foundgine's provider-independent semantic plans to application infrastructure. It is the package to use when your application needs actual storage, model/tool, MCP, or related provider implementations.

What this package provides

The v2 package consolidates the provider surface into one package, including the relevant implementations under areas such as:

  • Storage: SQL, in-memory, Elasticsearch and PostgreSQL/vector integrations.
  • Model/AI provider integrations.
  • MCP/tool provider integrations.
  • AOT-friendly metadata support.
  • The Foundgine.Providers.Aot.Generator Roslyn source generator as a build-time analyzer.

Foundgine.Providers depends only on Foundgine.Core and Foundgine.Runtime. Hot Chocolate GraphQL translation and secure query/mutation execution both live in Foundgine.Extensions, not here — add that package separately if your application uses GraphQL.

The exact provider implementation you use determines which external infrastructure and configuration your application needs. Note that installing this package brings in every provider's dependencies (including Npgsql, Pgvector, Microsoft.Extensions.AI and ModelContextProtocol) regardless of which provider(s) you actually use, since they currently ship as one package.

AOT generator behavior

The AOT generator is intentionally not a separate NuGet package and is not a runtime dependency. It is packaged under the NuGet analyzer path and is invoked by the consuming project's build when applicable:

NuGet install
    ↓
Foundgine.Providers
    ├── runtime provider assemblies
    └── analyzers/dotnet/cs/Foundgine.Providers.Aot.Generator.dll
                 ↓
          consumer build
                 ↓
          generated C#
                 ↓
          compiled application

The generator does not run continuously at application runtime and should not be deployed as an application runtime assembly. dotnet publish may invoke it during compilation, but the deployed application contains the compiled generated result, not the generator itself.

What is expected from the consumer

Install this package when you need one or more concrete providers. Configure the provider-specific dependencies (for example a database connection or external service), compose your semantic model and authorization policy, and register Foundgine.Runtime. The package does not automatically know your domain, database schema, credentials, tenancy rules or business authorization policy.

For AOT generation, no separate generator installation or package reference is required when Foundgine.Providers is referenced normally.

Install

dotnet add package Foundgine.Providers --version 2.0.3

Typical application stack

Foundgine.Core defines the semantic contracts → Foundgine.Runtime controls execution → Foundgine.Providers connects the plan to concrete infrastructure. Add Foundgine.Extensions only when the application needs its optional framework integrations such as Hot Chocolate.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.1 84 9/14/2026
2.2.0 99 9/13/2026

2.0.0: v2 package restructuring. Consolidates the former Foundgine.AI, Foundgine.MCP, Foundgine.Sql, Foundgine.InMemory, Foundgine.Elasticsearch, and Foundgine.Postgres.Vector packages.