SQLiteBrowser 2.2.1
See the version list below for details.
dotnet add package SQLiteBrowser --version 2.2.1
NuGet\Install-Package SQLiteBrowser -Version 2.2.1
<PackageReference Include="SQLiteBrowser" Version="2.2.1" />
<PackageVersion Include="SQLiteBrowser" Version="2.2.1" />
<PackageReference Include="SQLiteBrowser" />
paket add SQLiteBrowser --version 2.2.1
#r "nuget: SQLiteBrowser, 2.2.1"
#:package SQLiteBrowser@2.2.1
#addin nuget:?package=SQLiteBrowser&version=2.2.1
#tool nuget:?package=SQLiteBrowser&version=2.2.1
SQLiteBrowser
SQLiteBrowser is a NuGet package designed for .NET MAUI applications. It provides a user-friendly interface for viewing and managing SQLite databases. With just a few lines of code, you can navigate your database, view tables, inspect columns and data, and perform CRUD operations (Create, Read, Update, Delete) on rows.
Features
- Table Explorer: View all tables in your SQLite database.
- Data Management: Add, edit, and delete rows directly within the app.
- Ease of Integration: Quickly integrate with your .NET MAUI application.
Installation
To use SQLiteBrowser, install it via NuGet:
dotnet add package SQLiteBrowser
Or search for SQLiteBrowser in the NuGet Package Manager in Visual Studio.
Getting started
Here’s how to integrate SQLiteBrowser into your .NET MAUI application:
- Import the Namespace: Add the following using statement to your class:
using SQLiteBrowser;
- Add navigation: Navigate to the DatabaseBrowserPage, passing the path to your SQLite database:
await Navigation.PushAsync(new DatabaseBrowserPage("path/to/database.sqlite"));
Replace path/to/database.sqlite with the actual path to your SQLite database file.
- View and Manage Your Data
The DatabaseBrowserPage displays all tables in the SQLite database.
Clicking on a table shows the table’s columns and data.
You can:
- Add rows by using the provided interface.
- Edit rows by clicking on a specific row and modifying its values.
- Delete rows by selecting a row and choosing the delete option.
Example
Here’s a minimal example of using SQLiteBrowser in a .NET MAUI application:
using Microsoft.Maui.Controls;
using SQLiteBrowser;
namespace MyApp;
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private async void OpenDatabaseBrowser(object sender, EventArgs e)
{
await Navigation.PushAsync(new DatabaseBrowserPage("my_database.sqlite"));
}
}
In the XAML file, you can add a button to trigger the OpenDatabaseBrowser method:
<Button Text="Open Database Browser" Clicked="OpenDatabaseBrowser" />
Screenshots
Table list:
Table details:
Edit/add row:
Requirements
- .NET MAUI project
- SQLite database file (e.g.,
.sqliteor.db) with a known path
Contributing
Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch
- Submit a pull request with your changes
Also feel free to open an issue for any bugs/missing features.
License
SQLiteBrowser is licensed under the MIT License.
| Product | Versions 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 was computed. 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. |
-
net8.0
- Microsoft.Maui.Controls (>= 8.0.83)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.83)
- SQLitePCLRaw.bundle_green (>= 2.1.10)
- SQLitePCLRaw.core (>= 2.1.10)
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 |
|---|---|---|
| 2.3.4 | 299 | 12/30/2024 |
| 2.3.3 | 143 | 12/30/2024 |
| 2.3.2 | 151 | 12/30/2024 |
| 2.3.1 | 154 | 12/17/2024 |
| 2.3.0 | 137 | 12/16/2024 |
| 2.2.3 | 146 | 12/16/2024 |
| 2.2.1 | 142 | 12/13/2024 |
| 2.2.0 | 148 | 12/13/2024 |
| 2.1.1 | 144 | 12/13/2024 |
| 2.1.0 | 156 | 12/11/2024 |
| 2.0.0 | 140 | 12/11/2024 |
| 1.2.1 | 135 | 12/11/2024 |
| 1.2.0 | 152 | 12/11/2024 |
Added new features and fixed bugs. See the full release notes in the RELEASE_NOTES.md file.