nuget.org

Provides extension methods and resource definitions for the Aspire AppHost to support creating and running SQLite databases.

The integration also provides support for running SQLite Web to interact with the SQLite database.

By default, the Sqlite resource will create a new SQLite database in a temporary location. You can also specify a path to an existing SQLite database file.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Sqlite

Example usage

Then, in the Program.cs file of AppHost, define an Sqlite resource, then call AddSqlite:

var sqlite = builder.AddSqlite("sqlite")
    .WithSqliteWeb();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/sqlite

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 is compatible.  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. 

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CommunityToolkit.Aspire.Hosting.Sqlite:

Package Downloads
Toothless.Aspire.Hosting.OpenFga.Sqlite

Aspire hosting integration for OpenFGA

1.3K
PortExtensionsAspire

Adding determinate ports for resources

91

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on CommunityToolkit.Aspire.Hosting.Sqlite:

Repository Stars
jasontaylordev/CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core

20.5K
bitfoundation/bitplatform

Build all of your apps using what you already know and love ❤️

1.4K
rstropek/Samples 338
Azure-Samples/interview-coach-agent-framework

Interview coach application using Microsoft Agent Framework | https://aka.ms/agentframework/interviewcoach

160

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
13.5.0 58 8/25/2026
13.5.0-beta.731 42 8/24/2026
13.5.0-beta.730 52 8/21/2026
13.4.1-beta.706 204 8/6/2026
13.4.1-beta.704 53 8/5/2026
13.4.1-beta.701 55 8/4/2026
13.4.1-beta.700 62 8/2/2026
13.4.1-beta.696 56 8/1/2026
13.4.1-beta.687 66 7/27/2026
13.4.1-beta.686 120 7/16/2026
13.4.1-beta.685 71 7/9/2026
13.4.1-beta.683 61 7/9/2026
13.4.1-beta.680 62 7/7/2026
13.4.1-beta.676 60 7/7/2026
13.4.1-beta.675 62 7/6/2026
13.4.1-beta.674 62 7/6/2026
13.4.0 7,099 6/2/2026
13.4.0-beta.671 58 7/3/2026
13.4.0-beta.654 77 6/18/2026
13.4.0-beta.651 71 6/17/2026

Loading failed

Read the original on nuget.org ↗