CommunityToolkit.Aspire.Microsoft.Data.Sqlite 9.8.0

Prefix Reserved
dotnet add package CommunityToolkit.Aspire.Microsoft.Data.Sqlite --version 9.8.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Microsoft.Data.Sqlite -Version 9.8.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.8.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.8.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.8.0
                    
#r "nuget: CommunityToolkit.Aspire.Microsoft.Data.Sqlite, 9.8.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.8.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.8.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Microsoft.Data.Sqlite&version=9.8.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.8.0 108 9/26/2025
9.8.0-beta.399 104 9/26/2025
9.8.0-beta.398 106 9/25/2025
9.8.0-beta.397 108 9/25/2025
9.8.0-beta.395 108 9/24/2025
9.8.0-beta.394 110 9/23/2025
9.8.0-beta.393 113 9/23/2025
9.8.0-beta.392 115 9/23/2025
9.8.0-beta.389 242 9/18/2025
9.8.0-beta.388 250 9/16/2025
9.8.0-beta.386 197 9/15/2025
9.8.0-beta.385 199 9/15/2025
9.8.0-beta.384 45 9/13/2025
9.8.0-beta.376 124 9/8/2025
9.8.0-beta.375 56 9/6/2025
9.8.0-beta.373 132 9/5/2025
9.8.0-beta.372 133 9/4/2025
9.8.0-beta.370 120 9/2/2025
9.8.0-beta.364 122 9/1/2025
9.7.2 216 8/29/2025
9.7.2-beta.362 165 8/29/2025
9.7.2-beta.361 164 8/29/2025
9.7.2-beta.360 165 8/29/2025
9.7.2-beta.359 165 8/28/2025
9.7.2-beta.358 167 8/28/2025
9.7.2-beta.357 170 8/28/2025
9.7.1 195 8/27/2025
9.7.1-beta.355 164 8/27/2025
9.7.1-beta.354 167 8/27/2025
9.7.1-beta.353 170 8/27/2025
9.7.1-beta.352 164 8/27/2025
9.7.1-beta.351 171 8/27/2025
9.7.1-beta.348 130 8/14/2025
9.7.1-beta.344 74 8/10/2025
9.7.1-beta.343 196 8/8/2025
9.7.1-beta.342 205 8/7/2025
9.7.1-beta.341 198 8/6/2025
9.7.1-beta.340 182 8/5/2025
9.7.1-beta.339 186 8/5/2025
9.7.0 128 8/1/2025
9.7.0-beta.337 81 8/1/2025
9.7.0-beta.336 90 8/1/2025
9.7.0-beta.335 92 8/1/2025
9.7.0-beta.333 102 7/30/2025
9.6.1-beta.332 101 7/30/2025
9.6.1-beta.331 96 7/30/2025
9.6.1-beta.330 97 7/30/2025
9.6.1-beta.329 96 7/30/2025
9.6.1-beta.328 112 7/29/2025
9.6.1-beta.327 119 7/28/2025
9.6.1-beta.326 116 7/28/2025
9.6.0 171 7/10/2025
9.6.0-beta.324 122 7/10/2025
9.5.1-beta.323 122 7/10/2025
9.5.1-beta.322 121 7/10/2025
9.5.1-beta.321 124 7/10/2025
9.5.1-beta.320 127 7/9/2025
9.5.1-beta.319 125 7/8/2025
9.5.1-beta.318 124 7/2/2025
9.5.1-beta.317 119 6/30/2025
9.5.1-beta.315 124 6/26/2025
9.5.1-beta.314 123 6/23/2025
9.5.1-beta.313 113 6/20/2025
9.5.1-beta.312 126 6/20/2025
9.5.1-beta.311 144 6/18/2025
9.5.1-beta.310 123 6/17/2025
9.5.1-beta.309 133 6/17/2025
9.5.1-beta.308 124 6/17/2025
9.5.1-beta.307 131 6/16/2025
9.5.1-beta.306 266 6/11/2025
9.5.1-beta.305 109 6/7/2025
9.5.1-beta.304 114 6/6/2025
9.5.1-beta.303 140 6/4/2025
9.5.1-beta.302 123 6/4/2025
9.5.1-beta.301 128 6/2/2025
9.5.1-beta.300 131 5/28/2025
9.5.0 280 5/27/2025
9.5.0-beta.299 128 5/27/2025
9.5.0-beta.298 146 5/26/2025
9.5.0-beta.297 83 5/24/2025
9.5.0-beta.296 86 5/24/2025
9.5.0-beta.295 57 5/24/2025
9.4.1-beta.291 134 5/19/2025
9.4.1-beta.289 141 5/16/2025
9.4.1-beta.288 197 5/16/2025
9.4.1-beta.287 194 5/16/2025
9.4.1-beta.286 190 5/16/2025
9.4.1-beta.285 209 5/14/2025
9.4.1-beta.284 217 5/13/2025
9.4.1-beta.283 223 5/12/2025
9.4.1-beta.282 136 5/7/2025
9.4.1-beta.280 123 5/2/2025
9.4.1-beta.279 128 5/2/2025
9.4.1-beta.277 145 4/23/2025
9.4.1-beta.276 143 4/23/2025
9.4.1-beta.275 150 4/23/2025
9.4.1-beta.274 146 4/23/2025
9.4.1-beta.273 138 4/23/2025
9.4.1-beta.272 137 4/23/2025
9.4.1-beta.271 139 4/23/2025
9.4.1-beta.270 157 4/20/2025
9.4.0 433 4/20/2025
9.4.0-beta.269 146 4/20/2025
9.4.0-beta.268 143 4/20/2025
9.3.1-beta.267 139 4/20/2025
9.3.1-beta.266 69 4/19/2025
9.3.1-beta.265 193 4/15/2025
9.3.1-beta.264 174 4/15/2025
9.3.1-beta.263 171 4/15/2025
9.3.1-beta.262 178 4/15/2025
9.3.1-beta.260 147 4/10/2025
9.3.1-beta.259 151 4/8/2025
9.3.1-beta.258 148 4/8/2025
9.3.1-beta.257 141 4/8/2025
9.3.1-beta.256 143 4/8/2025
9.3.1-beta.255 143 4/8/2025
9.3.1-beta.254 136 4/8/2025
9.3.1-beta.253 155 4/1/2025
9.3.1-beta.252 120 3/27/2025
9.3.1-beta.250 115 3/27/2025
9.3.1-beta.249 116 3/27/2025
9.3.1-beta.248 128 3/27/2025
9.3.1-beta.247 117 3/27/2025
9.3.1-beta.244 465 3/25/2025
9.3.1-beta.242 484 3/24/2025
9.3.1-beta.241 147 3/19/2025
9.3.0 575 3/19/2025
9.3.0-beta.239 136 3/19/2025
9.2.2-beta.237 143 3/19/2025
9.2.2-beta.236 100 3/14/2025
9.2.2-beta.230 139 3/13/2025
9.2.2-beta.229 130 3/13/2025
9.2.2-beta.228 146 3/11/2025
9.2.2-beta.227 163 3/11/2025
9.2.2-beta.226 146 3/11/2025
9.2.2-beta.225 142 3/11/2025
9.2.2-beta.224 150 3/11/2025
9.2.2-beta.223 157 3/10/2025
9.2.2-beta.222 152 3/10/2025
9.2.2-beta.220 151 3/9/2025
9.2.2-beta.218 141 3/9/2025
9.2.2-beta.217 186 3/7/2025
9.2.2-beta.216 193 3/7/2025
9.2.2-beta.215 179 3/7/2025
9.2.2-beta.214 182 3/5/2025
9.2.2-beta.213 177 3/5/2025
9.2.2-beta.212 177 3/5/2025
9.2.2-beta.211 190 3/4/2025
9.2.2-beta.210 187 3/4/2025
9.2.2-beta.208 98 3/3/2025
9.2.1 328 3/3/2025
9.2.1-beta.207 104 3/2/2025
9.2.1-beta.206 77 3/1/2025
9.2.1-beta.205 79 2/27/2025
9.2.1-beta.204 69 2/26/2025
9.2.1-beta.203 69 2/26/2025
9.2.0 128 2/26/2025
9.2.0-beta.202 65 2/26/2025
9.2.0-beta.201 78 2/26/2025
9.2.0-beta.199 77 2/26/2025
9.2.0-beta.198 77 2/26/2025
9.1.1-beta.197 435 2/25/2025
9.1.1-beta.196 75 2/25/2025
9.1.1-beta.195 84 2/25/2025
9.1.1-beta.194 69 2/25/2025
9.1.1-beta.193 95 2/25/2025
9.1.1-beta.192 78 2/24/2025
9.1.1-beta.191 84 2/24/2025
9.1.1-beta.190 74 2/19/2025
9.1.1-beta.189 89 2/19/2025
9.1.1-beta.188 81 2/19/2025
9.1.1-beta.187 90 2/19/2025
9.1.1-beta.183 92 2/18/2025
9.1.1-beta.182 90 2/18/2025
9.1.1-beta.181 87 2/18/2025
9.1.1-beta.180 80 2/17/2025
9.1.1-beta.178 89 2/17/2025
9.1.1-beta.177 94 2/12/2025
9.1.1-beta.176 88 2/11/2025
9.1.1-beta.175 83 2/11/2025
9.1.1-beta.173 85 2/10/2025
9.1.1-beta.169 72 2/6/2025
9.1.1-beta.168 73 2/5/2025
9.1.1-beta.166 75 2/5/2025
9.1.1-beta.165 75 2/5/2025
9.1.1-beta.164 86 2/3/2025
9.1.1-beta.162 78 2/3/2025
9.1.1-beta.155 74 1/30/2025
9.1.1-beta.154 77 1/30/2025
9.1.1-beta.153 70 1/30/2025
9.1.1-beta.152 65 1/29/2025
9.1.1-beta.150 77 1/29/2025
9.1.1-beta.148 73 1/26/2025
9.1.1-beta.147 86 1/26/2025
9.1.1-beta.146 101 1/23/2025
9.1.1-beta.145 75 1/22/2025
9.1.1-beta.144 79 1/22/2025
9.1.1-beta.142 78 1/22/2025
9.1.1-beta.140 74 1/22/2025
9.1.1-beta.139 79 1/21/2025
9.1.1-beta.138 80 1/20/2025
9.1.1-beta.137 69 1/17/2025
9.1.1-beta.136 69 1/15/2025
9.1.1-beta.135 52 1/15/2025