AspireDuckDBExtensions
Classstaticnet10.0
Provides extension methods for registering DuckDB-related services in an
Hosting.IHostApplicationBuilder. namespace Microsoft.Extensions.Hosting;
public static class AspireDuckDBExtensions{ // ...}Methods2
Section titled MethodsAddDuckDBConnection(IHostApplicationBuilder, string, Action<DuckDBConnectionSettings>)extension Registers
Data.DuckDBConnection as scoped in the services provided by the builder. AddKeyedDuckDBConnection(IHostApplicationBuilder, string, Action<DuckDBConnectionSettings>)extension Registers
Data.DuckDBConnection as keyed scoped for the given name in the services provided by the builder.