Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite integration #364

Closed
aaronpowell opened this issue Jan 2, 2025 · 0 comments · Fixed by #372
Closed

SQLite integration #364

aaronpowell opened this issue Jan 2, 2025 · 0 comments · Fixed by #372
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed integration A new .NET Aspire integration

Comments

@aaronpowell
Copy link
Member

.NET Aspire issue link

dotnet/aspire#798

Overview

SQLite has support in EF to use it as a DB option, running off a database file stored on disk and no need for a server.

I think that we could create not just client integrations (as proposed in dotnet/aspire#798) but also a hosting integration.

The hosting integration could:

  • Define a temp location for the db file to live
  • Provide commands for deleting and backing up the db
  • Provide the connection string to the client integration

Usage example

// hosting
var sqlite = builder.AddSqlite("sqlite");

builder.AddProject<Projects.MyWebApp>("web").WithReference(sqlite);

Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item

@aaronpowell aaronpowell added good first issue Good for newcomers help wanted Extra attention is needed integration A new .NET Aspire integration labels Jan 2, 2025
@aaronpowell aaronpowell self-assigned this Jan 5, 2025
@aaronpowell aaronpowell mentioned this issue Jan 8, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed integration A new .NET Aspire integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant