CommunityToolkit.Aspire.Microsoft.Data.Sqlite 9.6.0

Prefix Reserved
dotnet add package CommunityToolkit.Aspire.Microsoft.Data.Sqlite --version 9.6.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Microsoft.Data.Sqlite -Version 9.6.0
                    
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="CommunityToolkit.Aspire.Microsoft.Data.Sqlite" Version="9.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Microsoft.Data.Sqlite" Version="9.6.0" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Microsoft.Data.Sqlite" />
                    
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 CommunityToolkit.Aspire.Microsoft.Data.Sqlite --version 9.6.0
                    
#r "nuget: CommunityToolkit.Aspire.Microsoft.Data.Sqlite, 9.6.0"
                    
#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 CommunityToolkit.Aspire.Microsoft.Data.Sqlite@9.6.0
                    
#: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=CommunityToolkit.Aspire.Microsoft.Data.Sqlite&version=9.6.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Microsoft.Data.Sqlite&version=9.6.0
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Microsoft.Data.Sqlite library

Register a SqliteConnection in the DI container to interact with a SQLite database using ADO.NET.

Getting Started

Prerequisites

  • A SQLite database

Install the package

Install the .NET Aspire EF Core Sqlite library using the following command:

dotnet add package CommunityToolkit.Aspire.Microsoft.Data.Sqlite

Example usage

In the Program.cs file of your project, call the AddSqliteConnection extension method to register the SqliteConnection implementation in the DI container. This method takes the connection name as a parameter:

builder.AddSqliteConnection("sqlite");

Then, in your service, inject SqliteConnection and use it to interact with the database:

public class MyService(SqliteConnection context)
{
    // ...
}

Additional documentation

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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
9.6.0 142 7/10/2025
9.6.0-beta.324 107 7/10/2025
9.5.1-beta.323 108 7/10/2025
9.5.1-beta.322 106 7/10/2025
9.5.1-beta.321 109 7/10/2025
9.5.1-beta.320 114 7/9/2025
9.5.1-beta.319 112 7/8/2025
9.5.1-beta.318 111 7/2/2025
9.5.1-beta.317 104 6/30/2025
9.5.1-beta.315 111 6/26/2025
9.5.1-beta.314 111 6/23/2025
9.5.1-beta.313 101 6/20/2025
9.5.1-beta.312 110 6/20/2025
9.5.1-beta.311 123 6/18/2025
9.5.1-beta.310 112 6/17/2025
9.5.1-beta.309 115 6/17/2025
9.5.1-beta.308 113 6/17/2025
9.5.1-beta.307 115 6/16/2025
9.5.1-beta.306 256 6/11/2025
9.5.1-beta.305 96 6/7/2025
9.5.1-beta.304 99 6/6/2025
9.5.1-beta.303 123 6/4/2025
9.5.1-beta.302 113 6/4/2025
9.5.1-beta.301 118 6/2/2025
9.5.1-beta.300 120 5/28/2025
9.5.0 251 5/27/2025
9.5.0-beta.299 118 5/27/2025
9.5.0-beta.298 128 5/26/2025
9.5.0-beta.297 74 5/24/2025
9.5.0-beta.296 74 5/24/2025
9.5.0-beta.295 46 5/24/2025
9.4.1-beta.291 123 5/19/2025
9.4.1-beta.289 130 5/16/2025
9.4.1-beta.288 186 5/16/2025
9.4.1-beta.287 181 5/16/2025
9.4.1-beta.286 177 5/16/2025
9.4.1-beta.285 196 5/14/2025
9.4.1-beta.284 206 5/13/2025
9.4.1-beta.283 212 5/12/2025
9.4.1-beta.282 124 5/7/2025
9.4.1-beta.280 111 5/2/2025
9.4.1-beta.279 115 5/2/2025
9.4.1-beta.277 133 4/23/2025
9.4.1-beta.276 132 4/23/2025
9.4.1-beta.275 130 4/23/2025
9.4.1-beta.274 134 4/23/2025
9.4.1-beta.273 129 4/23/2025
9.4.1-beta.272 127 4/23/2025
9.4.1-beta.271 126 4/23/2025
9.4.1-beta.270 136 4/20/2025
9.4.0 339 4/20/2025
9.4.0-beta.269 133 4/20/2025
9.4.0-beta.268 132 4/20/2025
9.3.1-beta.267 127 4/20/2025
9.3.1-beta.266 54 4/19/2025
9.3.1-beta.265 175 4/15/2025
9.3.1-beta.264 162 4/15/2025
9.3.1-beta.263 159 4/15/2025
9.3.1-beta.262 167 4/15/2025
9.3.1-beta.260 135 4/10/2025
9.3.1-beta.259 134 4/8/2025
9.3.1-beta.258 136 4/8/2025
9.3.1-beta.257 129 4/8/2025
9.3.1-beta.256 132 4/8/2025
9.3.1-beta.255 131 4/8/2025
9.3.1-beta.254 126 4/8/2025
9.3.1-beta.253 137 4/1/2025
9.3.1-beta.252 109 3/27/2025
9.3.1-beta.250 104 3/27/2025
9.3.1-beta.249 106 3/27/2025
9.3.1-beta.248 117 3/27/2025
9.3.1-beta.247 106 3/27/2025
9.3.1-beta.244 453 3/25/2025
9.3.1-beta.242 459 3/24/2025
9.3.1-beta.241 131 3/19/2025
9.3.0 551 3/19/2025
9.3.0-beta.239 124 3/19/2025
9.2.2-beta.237 124 3/19/2025
9.2.2-beta.236 89 3/14/2025
9.2.2-beta.230 127 3/13/2025
9.2.2-beta.229 119 3/13/2025
9.2.2-beta.228 135 3/11/2025
9.2.2-beta.227 143 3/11/2025
9.2.2-beta.226 137 3/11/2025
9.2.2-beta.225 133 3/11/2025
9.2.2-beta.224 141 3/11/2025
9.2.2-beta.223 146 3/10/2025
9.2.2-beta.222 140 3/10/2025
9.2.2-beta.220 141 3/9/2025
9.2.2-beta.218 129 3/9/2025
9.2.2-beta.217 176 3/7/2025
9.2.2-beta.216 175 3/7/2025
9.2.2-beta.215 170 3/7/2025
9.2.2-beta.214 172 3/5/2025
9.2.2-beta.213 167 3/5/2025
9.2.2-beta.212 168 3/5/2025
9.2.2-beta.211 180 3/4/2025
9.2.2-beta.210 176 3/4/2025
9.2.2-beta.208 81 3/3/2025
9.2.1 318 3/3/2025
9.2.1-beta.207 86 3/2/2025
9.2.1-beta.206 68 3/1/2025
9.2.1-beta.205 68 2/27/2025
9.2.1-beta.204 60 2/26/2025
9.2.1-beta.203 60 2/26/2025
9.2.0 114 2/26/2025
9.2.0-beta.202 56 2/26/2025
9.2.0-beta.201 69 2/26/2025
9.2.0-beta.199 65 2/26/2025
9.2.0-beta.198 67 2/26/2025
9.1.1-beta.197 417 2/25/2025
9.1.1-beta.196 64 2/25/2025
9.1.1-beta.195 68 2/25/2025
9.1.1-beta.194 59 2/25/2025
9.1.1-beta.193 81 2/25/2025
9.1.1-beta.192 67 2/24/2025
9.1.1-beta.191 75 2/24/2025
9.1.1-beta.190 65 2/19/2025
9.1.1-beta.189 69 2/19/2025
9.1.1-beta.188 71 2/19/2025
9.1.1-beta.187 76 2/19/2025
9.1.1-beta.183 80 2/18/2025
9.1.1-beta.182 80 2/18/2025
9.1.1-beta.181 78 2/18/2025
9.1.1-beta.180 70 2/17/2025
9.1.1-beta.178 78 2/17/2025
9.1.1-beta.177 78 2/12/2025
9.1.1-beta.176 79 2/11/2025
9.1.1-beta.175 73 2/11/2025
9.1.1-beta.173 76 2/10/2025
9.1.1-beta.169 63 2/6/2025
9.1.1-beta.168 64 2/5/2025
9.1.1-beta.166 66 2/5/2025
9.1.1-beta.165 65 2/5/2025
9.1.1-beta.164 78 2/3/2025
9.1.1-beta.162 69 2/3/2025
9.1.1-beta.155 65 1/30/2025
9.1.1-beta.154 66 1/30/2025
9.1.1-beta.153 60 1/30/2025
9.1.1-beta.152 56 1/29/2025
9.1.1-beta.150 67 1/29/2025
9.1.1-beta.148 64 1/26/2025
9.1.1-beta.147 69 1/26/2025
9.1.1-beta.146 76 1/23/2025
9.1.1-beta.145 65 1/22/2025
9.1.1-beta.144 62 1/22/2025
9.1.1-beta.142 69 1/22/2025
9.1.1-beta.140 64 1/22/2025
9.1.1-beta.139 69 1/21/2025
9.1.1-beta.138 70 1/20/2025
9.1.1-beta.137 58 1/17/2025
9.1.1-beta.136 58 1/15/2025
9.1.1-beta.135 42 1/15/2025