CommunityToolkit.Aspire.Microsoft.Data.Sqlite 9.5.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Microsoft.Data.Sqlite --version 9.5.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Microsoft.Data.Sqlite -Version 9.5.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.5.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.5.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.5.0
                    
#r "nuget: CommunityToolkit.Aspire.Microsoft.Data.Sqlite, 9.5.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.5.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.5.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Microsoft.Data.Sqlite&version=9.5.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 236 9/26/2025
9.8.0-beta.404 0 10/13/2025
9.8.0-beta.402 123 9/29/2025
9.8.0-beta.401 112 9/29/2025
9.8.0-beta.399 117 9/26/2025
9.8.0-beta.398 117 9/25/2025
9.8.0-beta.397 120 9/25/2025
9.8.0-beta.395 118 9/24/2025
9.8.0-beta.394 121 9/23/2025
9.8.0-beta.393 124 9/23/2025
9.8.0-beta.392 125 9/23/2025
9.8.0-beta.389 243 9/18/2025
9.8.0-beta.388 251 9/16/2025
9.8.0-beta.386 198 9/15/2025
9.8.0-beta.385 200 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 57 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 121 9/2/2025
9.8.0-beta.364 122 9/1/2025
9.7.2 229 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 166 8/28/2025
9.7.2-beta.358 168 8/28/2025
9.7.2-beta.357 171 8/28/2025
9.7.1 217 8/27/2025
9.7.1-beta.355 165 8/27/2025
9.7.1-beta.354 168 8/27/2025
9.7.1-beta.353 171 8/27/2025
9.7.1-beta.352 165 8/27/2025
9.7.1-beta.351 172 8/27/2025
9.7.1-beta.348 131 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 199 8/6/2025
9.7.1-beta.340 182 8/5/2025
9.7.1-beta.339 186 8/5/2025
9.7.0 149 8/1/2025
9.7.0-beta.337 83 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 97 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 120 7/28/2025
9.6.1-beta.326 116 7/28/2025
9.6.0 193 7/10/2025
9.6.0-beta.324 123 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 124 6/23/2025
9.5.1-beta.313 113 6/20/2025
9.5.1-beta.312 129 6/20/2025
9.5.1-beta.311 146 6/18/2025
9.5.1-beta.310 124 6/17/2025
9.5.1-beta.309 134 6/17/2025
9.5.1-beta.308 124 6/17/2025
9.5.1-beta.307 134 6/16/2025
9.5.1-beta.306 267 6/11/2025
9.5.1-beta.305 110 6/7/2025
9.5.1-beta.304 120 6/6/2025
9.5.1-beta.303 143 6/4/2025
9.5.1-beta.302 125 6/4/2025
9.5.1-beta.301 128 6/2/2025
9.5.1-beta.300 131 5/28/2025
9.5.0 307 5/27/2025
9.5.0-beta.299 128 5/27/2025
9.5.0-beta.298 151 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 198 5/16/2025
9.4.1-beta.287 196 5/16/2025
9.4.1-beta.286 191 5/16/2025
9.4.1-beta.285 210 5/14/2025
9.4.1-beta.284 219 5/13/2025
9.4.1-beta.283 224 5/12/2025
9.4.1-beta.282 136 5/7/2025
9.4.1-beta.280 126 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 151 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 138 4/23/2025
9.4.1-beta.271 139 4/23/2025
9.4.1-beta.270 164 4/20/2025
9.4.0 460 4/20/2025
9.4.0-beta.269 146 4/20/2025
9.4.0-beta.268 144 4/20/2025
9.3.1-beta.267 140 4/20/2025
9.3.1-beta.266 69 4/19/2025
9.3.1-beta.265 197 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 155 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 145 4/8/2025
9.3.1-beta.254 136 4/8/2025
9.3.1-beta.253 157 4/1/2025
9.3.1-beta.252 120 3/27/2025
9.3.1-beta.250 116 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 119 3/27/2025
9.3.1-beta.244 465 3/25/2025
9.3.1-beta.242 491 3/24/2025
9.3.1-beta.241 148 3/19/2025
9.3.0 596 3/19/2025
9.3.0-beta.239 138 3/19/2025
9.2.2-beta.237 146 3/19/2025
9.2.2-beta.236 100 3/14/2025
9.2.2-beta.230 140 3/13/2025
9.2.2-beta.229 131 3/13/2025
9.2.2-beta.228 147 3/11/2025
9.2.2-beta.227 166 3/11/2025
9.2.2-beta.226 147 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 158 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 188 3/7/2025
9.2.2-beta.216 199 3/7/2025
9.2.2-beta.215 180 3/7/2025
9.2.2-beta.214 182 3/5/2025
9.2.2-beta.213 179 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 105 3/3/2025
9.2.1 350 3/3/2025
9.2.1-beta.207 108 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 70 2/26/2025
9.2.1-beta.203 69 2/26/2025
9.2.0 150 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 78 2/26/2025
9.1.1-beta.197 438 2/25/2025
9.1.1-beta.196 76 2/25/2025
9.1.1-beta.195 88 2/25/2025
9.1.1-beta.194 69 2/25/2025
9.1.1-beta.193 98 2/25/2025
9.1.1-beta.192 79 2/24/2025
9.1.1-beta.191 84 2/24/2025
9.1.1-beta.190 75 2/19/2025
9.1.1-beta.189 93 2/19/2025
9.1.1-beta.188 81 2/19/2025
9.1.1-beta.187 94 2/19/2025
9.1.1-beta.183 93 2/18/2025
9.1.1-beta.182 90 2/18/2025
9.1.1-beta.181 88 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 101 2/12/2025
9.1.1-beta.176 89 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 79 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 71 1/30/2025
9.1.1-beta.152 67 1/29/2025
9.1.1-beta.150 77 1/29/2025
9.1.1-beta.148 75 1/26/2025
9.1.1-beta.147 90 1/26/2025
9.1.1-beta.146 109 1/23/2025
9.1.1-beta.145 75 1/22/2025
9.1.1-beta.144 82 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 70 1/15/2025
9.1.1-beta.135 53 1/15/2025