CommunityToolkit.Aspire.Microsoft.EntityFrameworkCore.Sqlite 9.8.0-beta.376

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

CommunityToolkit.Aspire.Microsoft.EntityFrameworkCore.Sqlite library

Register a DbContext in the DI container to interact with a SQLite database using Entity Framework Core.

Getting Started

Prerequisites

  • A DbContext
  • A SQLite database

Install the package

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

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

Example usage

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

builder.AddSqliteDbContext<BloggingContext>("sqlite");

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

public class MyService(BloggingContext 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-beta.376 0 9/8/2025
9.8.0-beta.375 34 9/6/2025
9.8.0-beta.373 116 9/5/2025
9.8.0-beta.372 109 9/4/2025
9.8.0-beta.370 110 9/2/2025
9.8.0-beta.364 116 9/1/2025
9.7.2 311 8/29/2025
9.7.2-beta.362 159 8/29/2025
9.7.2-beta.361 164 8/29/2025
9.7.2-beta.360 161 8/29/2025
9.7.2-beta.359 161 8/28/2025
9.7.2-beta.358 158 8/28/2025
9.7.2-beta.357 162 8/28/2025
9.7.1 274 8/27/2025
9.7.1-beta.355 161 8/27/2025
9.7.1-beta.354 166 8/27/2025
9.7.1-beta.353 160 8/27/2025
9.7.1-beta.352 162 8/27/2025
9.7.1-beta.351 162 8/27/2025
9.7.1-beta.348 129 8/14/2025
9.7.1-beta.344 78 8/10/2025
9.7.1-beta.343 193 8/8/2025
9.7.1-beta.342 200 8/7/2025
9.7.1-beta.341 196 8/6/2025
9.7.1-beta.340 186 8/5/2025
9.7.1-beta.339 182 8/5/2025
9.7.0 455 8/1/2025
9.7.0-beta.337 79 8/1/2025
9.7.0-beta.336 91 8/1/2025
9.7.0-beta.335 89 8/1/2025
9.7.0-beta.333 99 7/30/2025
9.6.1-beta.332 96 7/30/2025
9.6.1-beta.331 94 7/30/2025
9.6.1-beta.330 96 7/30/2025
9.6.1-beta.329 95 7/30/2025
9.6.1-beta.328 97 7/29/2025
9.6.1-beta.327 97 7/28/2025
9.6.1-beta.326 95 7/28/2025
9.6.0 1,086 7/10/2025
9.6.0-beta.324 126 7/10/2025
9.5.1-beta.323 118 7/10/2025
9.5.1-beta.322 119 7/10/2025
9.5.1-beta.321 121 7/10/2025
9.5.1-beta.320 122 7/9/2025
9.5.1-beta.319 126 7/8/2025
9.5.1-beta.318 125 7/2/2025
9.5.1-beta.317 119 6/30/2025
9.5.1-beta.315 130 6/26/2025
9.5.1-beta.314 121 6/23/2025
9.5.1-beta.313 122 6/20/2025
9.5.1-beta.312 113 6/20/2025
9.5.1-beta.311 123 6/18/2025
9.5.1-beta.310 121 6/17/2025
9.5.1-beta.309 124 6/17/2025
9.5.1-beta.308 124 6/17/2025
9.5.1-beta.307 126 6/16/2025
9.5.1-beta.306 267 6/11/2025
9.5.1-beta.305 98 6/7/2025
9.5.1-beta.304 119 6/6/2025
9.5.1-beta.303 128 6/4/2025
9.5.1-beta.302 131 6/4/2025
9.5.1-beta.301 125 6/2/2025
9.5.1-beta.300 129 5/28/2025
9.5.0 998 5/27/2025
9.5.0-beta.299 129 5/27/2025
9.5.0-beta.298 134 5/26/2025
9.5.0-beta.297 97 5/24/2025
9.5.0-beta.296 78 5/24/2025
9.5.0-beta.295 59 5/24/2025
9.4.1-beta.291 126 5/19/2025
9.4.1-beta.289 140 5/16/2025
9.4.1-beta.288 191 5/16/2025
9.4.1-beta.287 197 5/16/2025
9.4.1-beta.286 202 5/16/2025
9.4.1-beta.285 213 5/14/2025
9.4.1-beta.284 220 5/13/2025
9.4.1-beta.283 211 5/12/2025
9.4.1-beta.282 138 5/7/2025
9.4.1-beta.280 125 5/2/2025
9.4.1-beta.279 139 5/2/2025
9.4.1-beta.277 497 4/23/2025
9.4.1-beta.276 142 4/23/2025
9.4.1-beta.275 139 4/23/2025
9.4.1-beta.274 143 4/23/2025
9.4.1-beta.273 140 4/23/2025
9.4.1-beta.272 145 4/23/2025
9.4.1-beta.271 133 4/23/2025
9.4.1-beta.270 157 4/20/2025
9.4.0 429 4/20/2025
9.4.0-beta.269 150 4/20/2025
9.4.0-beta.268 135 4/20/2025
9.3.1-beta.267 147 4/20/2025
9.3.1-beta.266 76 4/19/2025
9.3.1-beta.265 177 4/15/2025
9.3.1-beta.264 161 4/15/2025
9.3.1-beta.263 166 4/15/2025
9.3.1-beta.262 171 4/15/2025
9.3.1-beta.260 896 4/10/2025
9.3.1-beta.259 150 4/8/2025
9.3.1-beta.258 147 4/8/2025
9.3.1-beta.257 145 4/8/2025
9.3.1-beta.256 138 4/8/2025
9.3.1-beta.255 148 4/8/2025
9.3.1-beta.254 139 4/8/2025
9.3.1-beta.253 146 4/1/2025
9.3.1-beta.252 117 3/27/2025
9.3.1-beta.250 126 3/27/2025
9.3.1-beta.249 119 3/27/2025
9.3.1-beta.248 130 3/27/2025
9.3.1-beta.247 114 3/27/2025
9.3.1-beta.244 467 3/25/2025
9.3.1-beta.242 467 3/24/2025
9.3.1-beta.241 133 3/19/2025
9.3.0 1,042 3/19/2025
9.3.0-beta.239 128 3/19/2025
9.2.2-beta.237 129 3/19/2025
9.2.2-beta.236 245 3/14/2025
9.2.2-beta.230 151 3/13/2025
9.2.2-beta.229 129 3/13/2025
9.2.2-beta.228 145 3/11/2025
9.2.2-beta.227 154 3/11/2025
9.2.2-beta.226 142 3/11/2025
9.2.2-beta.225 140 3/11/2025
9.2.2-beta.224 146 3/11/2025
9.2.2-beta.223 147 3/10/2025
9.2.2-beta.222 147 3/10/2025
9.2.2-beta.220 150 3/9/2025
9.2.2-beta.218 140 3/9/2025
9.2.2-beta.217 186 3/7/2025
9.2.2-beta.216 181 3/7/2025
9.2.2-beta.215 195 3/7/2025
9.2.2-beta.214 197 3/5/2025
9.2.2-beta.213 172 3/5/2025
9.2.2-beta.212 177 3/5/2025
9.2.2-beta.211 184 3/4/2025
9.2.2-beta.210 189 3/4/2025
9.2.2-beta.208 84 3/3/2025
9.2.1 619 3/3/2025
9.2.1-beta.207 102 3/2/2025
9.2.1-beta.206 76 3/1/2025
9.2.1-beta.205 79 2/27/2025
9.2.1-beta.204 71 2/26/2025
9.2.1-beta.203 76 2/26/2025
9.2.0 409 2/26/2025
9.2.0-beta.202 64 2/26/2025
9.2.0-beta.201 76 2/26/2025
9.2.0-beta.199 68 2/26/2025
9.2.0-beta.198 63 2/26/2025
9.1.1-beta.197 82 2/25/2025
9.1.1-beta.196 73 2/25/2025
9.1.1-beta.195 66 2/25/2025
9.1.1-beta.194 72 2/25/2025
9.1.1-beta.193 71 2/25/2025
9.1.1-beta.192 96 2/24/2025
9.1.1-beta.191 88 2/24/2025
9.1.1-beta.190 75 2/19/2025
9.1.1-beta.189 77 2/19/2025
9.1.1-beta.188 81 2/19/2025
9.1.1-beta.187 96 2/19/2025
9.1.1-beta.183 82 2/18/2025
9.1.1-beta.182 82 2/18/2025
9.1.1-beta.181 89 2/18/2025
9.1.1-beta.180 85 2/17/2025
9.1.1-beta.178 77 2/17/2025
9.1.1-beta.177 85 2/12/2025
9.1.1-beta.176 96 2/11/2025
9.1.1-beta.175 83 2/11/2025
9.1.1-beta.173 80 2/10/2025
9.1.1-beta.169 78 2/6/2025
9.1.1-beta.168 73 2/5/2025
9.1.1-beta.166 76 2/5/2025
9.1.1-beta.165 82 2/5/2025
9.1.1-beta.164 96 2/3/2025
9.1.1-beta.162 92 2/3/2025
9.1.1-beta.155 87 1/30/2025
9.1.1-beta.154 70 1/30/2025
9.1.1-beta.153 67 1/30/2025
9.1.1-beta.152 63 1/29/2025
9.1.1-beta.150 81 1/29/2025
9.1.1-beta.148 72 1/26/2025
9.1.1-beta.147 78 1/26/2025
9.1.1-beta.146 76 1/23/2025
9.1.1-beta.145 77 1/22/2025
9.1.1-beta.144 78 1/22/2025
9.1.1-beta.142 74 1/22/2025
9.1.1-beta.140 77 1/22/2025
9.1.1-beta.139 72 1/21/2025
9.1.1-beta.138 78 1/20/2025
9.1.1-beta.137 80 1/17/2025
9.1.1-beta.136 67 1/15/2025
9.1.1-beta.135 44 1/15/2025