Microsoft.Data.Sqlite 8.0.18

Microsoft.Data.Sqlite is a lightweight ADO.NET provider for SQLite. The EF Core provider for SQLite is built on top of this library. However, it can also be used independently or with other data access libraries.

Installation

The latest stable version is available on NuGet.

dotnet add package Microsoft.Data.Sqlite

Use the --version option to specify a preview version to install.

Basic usage

This library implements the common ADO.NET abstractions for connections, commands, data readers, and so on. For more information, see Microsoft.Data.Sqlite on Microsoft Docs.

using var connection = new SqliteConnection("Data Source=Blogs.db");
connection.Open();

using var command = connection.CreateCommand();
command.CommandText = "SELECT Url FROM Blogs";

using var reader = command.ExecuteReader();
while (reader.Read())
{
    var url = reader.GetString(0);
}

Getting support

If you have a specific question about using these projects, we encourage you to ask it on Stack Overflow. If you encounter a bug or would like to request a feature, submit an issue. For more details, see getting support.

Showing the top 20 packages that depend on Microsoft.Data.Sqlite.

Packages Downloads
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
46
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
33
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
28
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
27
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
27
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
26
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
25
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
24
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
24
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
23
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
23
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
23

.NET Standard 2.0

Version Downloads Last updated
10.0.0-preview.5.25277.114 13 06/09/2025
10.0.0-preview.4.25258.110 12 05/19/2025
10.0.0-preview.3.25171.6 19 04/12/2025
10.0.0-preview.2.25163.8 16 03/19/2025
10.0.0-preview.1.25081.1 15 02/26/2025
9.0.7 5 07/11/2025
9.0.6 7 06/13/2025
9.0.5 11 05/19/2025
9.0.4 15 04/11/2025
9.0.3 20 03/14/2025
9.0.2 21 02/12/2025
9.0.1 19 01/20/2025
9.0.0 23 11/18/2024
9.0.0-rc.2.24474.1 24 10/10/2024
9.0.0-rc.1.24451.1 20 09/19/2024
9.0.0-preview.7.24405.3 23 08/22/2024
9.0.0-preview.6.24327.4 21 07/17/2024
9.0.0-preview.5.24306.3 27 06/14/2024
9.0.0-preview.4.24267.1 28 05/23/2024
9.0.0-preview.3.24172.4 25 04/14/2024
9.0.0-preview.2.24128.4 30 03/20/2024
9.0.0-preview.1.24081.2 28 02/16/2024
8.0.18 5 07/11/2025
8.0.17 8 06/14/2025
8.0.16 11 05/17/2025
8.0.15 14 04/11/2025
8.0.14 17 03/15/2025
8.0.13 23 02/12/2025
8.0.12 18 01/25/2025
8.0.11 28 11/13/2024
8.0.10 23 10/10/2024
8.0.8 22 08/21/2024
8.0.7 27 07/16/2024
8.0.6 26 05/29/2024
8.0.5 39 05/20/2024
8.0.4 34 04/11/2024
8.0.3 35 03/19/2024
8.0.2 27 02/16/2024
8.0.1 25 01/13/2024
8.0.0 28 12/16/2023
8.0.0-rc.2.23480.1 24 12/16/2023
8.0.0-rc.1.23419.6 29 12/16/2023
8.0.0-preview.7.23375.4 27 12/18/2023
8.0.0-preview.6.23329.4 24 02/16/2024
8.0.0-preview.5.23280.1 25 02/11/2024
8.0.0-preview.4.23259.3 30 08/26/2023
8.0.0-preview.3.23174.2 28 08/26/2023
8.0.0-preview.2.23128.3 24 02/16/2024
8.0.0-preview.1.23111.4 29 08/31/2023
7.0.20 29 05/29/2024
7.0.19 41 05/20/2024
7.0.18 34 04/11/2024
7.0.17 31 03/19/2024
7.0.16 28 02/16/2024
7.0.15 30 01/13/2024
7.0.14 32 12/16/2023
7.0.13 28 01/13/2024
7.0.12 32 12/22/2023
7.0.11 28 12/16/2023
7.0.10 33 12/16/2023
7.0.9 26 01/22/2024
7.0.8 29 01/13/2024
7.0.7 26 12/22/2023
7.0.5 35 06/13/2023
7.0.4 35 12/07/2023
7.0.3 25 02/16/2024
7.0.2 26 02/16/2024
7.0.1 33 06/13/2023
7.0.0 31 06/13/2023
7.0.0-rc.2.22472.11 28 08/26/2023
7.0.0-rc.1.22426.7 39 03/29/2023
7.0.0-preview.7.22376.2 30 08/27/2023
7.0.0-preview.6.22329.4 24 08/29/2023
7.0.0-preview.5.22302.2 26 08/27/2023
7.0.0-preview.4.22229.2 27 08/30/2023
7.0.0-preview.3.22175.1 31 08/29/2023
7.0.0-preview.2.22153.1 29 08/25/2023
7.0.0-preview.1.22076.6 37 08/31/2023
6.0.36 18 11/19/2024
6.0.35 25 10/10/2024
6.0.33 29 08/21/2024
6.0.32 28 07/16/2024
6.0.31 35 05/29/2024
6.0.30 45 05/20/2024
6.0.29 39 04/11/2024
6.0.28 32 03/19/2024
6.0.27 33 02/16/2024
6.0.26 30 01/13/2024
6.0.25 33 12/16/2023
6.0.24 39 12/16/2023
6.0.23 41 12/16/2023
6.0.22 25 12/16/2023
6.0.21 31 12/22/2023
6.0.20 27 12/16/2023
6.0.19 38 12/16/2023
6.0.18 31 02/16/2024
6.0.16 73 07/13/2023
6.0.15 31 12/07/2023
6.0.14 32 08/31/2023
6.0.13 45 03/24/2023
6.0.12 30 02/16/2024
6.0.11 70 03/28/2023
6.0.10 30 08/25/2023
6.0.9 31 06/14/2023
6.0.8 35 06/14/2023
6.0.7 39 06/14/2023
6.0.6 30 06/14/2023
6.0.5 49 06/13/2023
6.0.4 59 06/13/2023
6.0.3 34 02/16/2024
6.0.2 31 06/14/2023
6.0.1 29 06/14/2023
6.0.0 31 02/16/2024
6.0.0-rc.2.21480.5 25 08/31/2023
6.0.0-rc.1.21452.10 65 04/27/2023
6.0.0-preview.7.21378.4 30 05/17/2023
6.0.0-preview.6.21352.1 33 08/24/2023
6.0.0-preview.5.21301.9 27 08/30/2023
6.0.0-preview.4.21253.1 34 08/28/2023
6.0.0-preview.3.21201.2 56 04/20/2023
6.0.0-preview.2.21154.2 26 08/25/2023
6.0.0-preview.1.21102.2 25 09/01/2023
5.0.17 29 08/24/2023
5.0.16 34 08/25/2023
5.0.15 34 02/16/2024
5.0.14 31 08/31/2023
5.0.13 43 08/27/2023
5.0.12 70 03/22/2023
5.0.11 67 05/06/2022
5.0.10 33 08/30/2023
5.0.9 73 03/29/2023
5.0.8 32 06/13/2023
5.0.7 37 06/13/2023
5.0.6 30 06/13/2023
5.0.5 27 02/16/2024
5.0.4 27 06/13/2023
5.0.3 37 06/14/2023
5.0.2 76 03/27/2023
5.0.1 33 06/13/2023
5.0.0 44 06/13/2023
5.0.0-rc.2.20475.6 29 08/28/2023
5.0.0-rc.1.20451.13 30 08/28/2023
5.0.0-preview.8.20407.4 31 08/31/2023
5.0.0-preview.7.20365.15 27 08/26/2023
5.0.0-preview.6.20312.4 24 08/31/2023
5.0.0-preview.5.20278.2 31 08/27/2023
5.0.0-preview.4.20220.10 32 08/29/2023
5.0.0-preview.3.20181.2 27 08/29/2023
5.0.0-preview.2.20159.4 26 08/25/2023
5.0.0-preview.2.20120.8 23 08/26/2023
3.1.32 32 11/05/2023
3.1.31 54 07/13/2023
3.1.30 29 05/17/2023
3.1.29 30 08/25/2023
3.1.28 57 03/22/2023
3.1.27 26 08/27/2023
3.1.26 45 08/29/2023
3.1.25 30 08/30/2023
3.1.24 31 08/28/2023
3.1.23 32 08/25/2023
3.1.22 28 08/27/2023
3.1.21 32 08/30/2023
3.1.20 57 03/25/2023
3.1.19 30 08/27/2023
3.1.18 26 08/28/2023
3.1.17 27 08/25/2023
3.1.16 55 08/02/2023
3.1.15 61 03/24/2023
3.1.14 83 03/28/2023
3.1.13 34 08/30/2023
3.1.12 38 08/31/2023
3.1.11 32 08/28/2023
3.1.10 37 03/23/2023
3.1.9 36 06/13/2023
3.1.8 66 03/22/2023
3.1.7 32 06/13/2023
3.1.6 41 06/13/2023
3.1.5 27 06/13/2023
3.1.4 28 02/16/2024
3.1.3 29 06/14/2023
3.1.2 33 06/14/2023
3.1.1 29 06/13/2023
3.1.0 24 06/13/2023
3.1.0-preview3.19554.8 25 02/16/2024
3.1.0-preview2.19525.5 29 08/25/2023
3.1.0-preview1.19506.2 49 03/23/2023
3.0.3 67 03/28/2023
3.0.2 28 06/13/2023
3.0.1 39 06/13/2023
3.0.0 31 02/16/2024
3.0.0-rc1.19456.14 28 02/16/2024
3.0.0-preview9.19423.6 44 08/30/2023
3.0.0-preview8.19405.11 33 08/24/2023
3.0.0-preview7.19362.6 26 08/26/2023
3.0.0-preview6.19304.10 27 08/29/2023
3.0.0-preview5.19227.1 42 08/30/2023
3.0.0-preview4.19216.3 26 08/25/2023
3.0.0-preview3.19153.1 30 08/28/2023
3.0.0-preview.19074.3 26 08/31/2023
3.0.0-preview.18572.1 31 08/30/2023
2.3.0 18 01/24/2025
2.2.6 39 02/14/2024
2.2.4 34 06/13/2023
2.2.3 26 06/13/2023
2.2.2 26 06/13/2023
2.2.1 28 06/13/2023
2.2.0 30 02/16/2024
2.2.0-preview3-35497 30 09/01/2023
2.2.0-preview2-35157 32 08/31/2023
2.2.0-preview1-35029 25 08/30/2023
2.1.14 35 08/31/2023
2.1.11 82 03/22/2023
2.1.8 28 06/13/2023
2.1.0 27 02/16/2024
2.1.0-rc1-final 44 02/16/2024
2.1.0-preview2-final 30 06/13/2023
2.1.0-preview1-final 26 06/11/2023
2.0.1 56 11/29/2019
2.0.0 38 06/13/2023
2.0.0-preview2-final 34 06/12/2023
2.0.0-preview1-final 28 06/11/2023
1.1.1 25 06/13/2023
1.1.0 31 06/13/2023
1.1.0-preview1-final 35 05/18/2023
1.0.1 55 11/25/2019
1.0.0 29 06/14/2023
1.0.0-rc2-final 26 02/16/2024
1.0.0-rc1-final 49 03/24/2023
1.0.0-beta8 30 08/29/2023
1.0.0-beta7 30 08/26/2023
1.0.0-beta6 27 08/25/2023
1.0.0-beta1 36 04/04/2023