Microsoft.EntityFrameworkCore.InMemory 8.0.33

Microsoft.EntityFrameworkCore.InMemory is the EF Core database provider package for the built-in in-memory database.

This database provider allows Entity Framework Core to be used with an in-memory database. While it has become common to use the in-memory database for testing, this is discouraged. For more information on how to test EF Core applications, see Testing EF Core Applications.

Usage

Call the UseInMemoryDatabase method to choose the SQL Server/Azure SQL database provider for your DbContext. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
    optionsBuilder.UseInMemoryDatabase("MyDatabase");
}

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Additional documentation

See Microsoft SQL Server EF Core Database Provider for more information about the features of this database provider.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

Showing the top 20 packages that depend on Microsoft.EntityFrameworkCore.InMemory.

Packages Downloads
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
16
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
14
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
14

.NET 8.0

Version Downloads Last updated
11.0.0-rc.3.26522.148 0 10/25/2026
11.0.0-rc.2.26504.105 0 10/13/2026
11.0.0-rc.1.26425.128 1 9/9/2026
11.0.0-preview.7.26381.103 3 8/12/2026
11.0.0-preview.6.26359.118 4 7/20/2026
11.0.0-preview.5.26302.115 5 6/15/2026
11.0.0-preview.4.26230.115 5 5/20/2026
11.0.0-preview.3.26207.106 6 4/17/2026
11.0.0-preview.2.26159.112 6 3/14/2026
11.0.0-preview.1.26104.118 7 2/11/2026
10.0.14 0 10/25/2026
10.0.13 0 10/13/2026
10.0.12 1 9/9/2026
10.0.11 3 8/12/2026
10.0.10 4 7/20/2026
10.0.9 5 6/15/2026
10.0.8 2 5/20/2026
10.0.7 6 4/26/2026
10.0.6 6 4/17/2026
10.0.5 7 3/14/2026
10.0.4 7 3/14/2026
10.0.3 7 2/11/2026
10.0.2 8 1/28/2026
10.0.1 8 12/11/2025
10.0.0 9 12/12/2025
10.0.0-rc.2.25502.107 10 11/9/2025
10.0.0-rc.1.25451.107 11 9/20/2025
10.0.0-preview.7.25380.108 10 8/19/2025
10.0.0-preview.6.25358.103 10 7/30/2025
10.0.0-preview.5.25277.114 11 6/26/2025
10.0.0-preview.4.25258.110 12 6/26/2025
10.0.0-preview.3.25171.6 12 5/25/2025
10.0.0-preview.2.25163.8 11 5/25/2025
10.0.0-preview.1.25081.1 15 2/27/2025
9.0.22 0 10/25/2026
9.0.21 0 10/13/2026
9.0.20 1 9/9/2026
9.0.19 3 8/12/2026
9.0.18 4 7/20/2026
9.0.17 5 6/15/2026
9.0.16 5 5/20/2026
9.0.15 6 4/21/2026
9.0.14 7 3/14/2026
9.0.13 7 2/11/2026
9.0.12 8 1/28/2026
9.0.11 9 12/12/2025
9.0.10 9 11/9/2025
9.0.9 9 9/20/2025
9.0.8 12 8/19/2025
9.0.7 12 7/30/2025
9.0.6 13 6/26/2025
9.0.5 12 5/24/2025
9.0.4 13 5/24/2025
9.0.3 13 5/24/2025
9.0.2 16 2/19/2025
9.0.1 16 2/19/2025
9.0.0 16 2/19/2025
9.0.0-rc.2.24474.1 13 5/24/2025
9.0.0-rc.1.24451.1 13 5/24/2025
9.0.0-preview.7.24405.3 15 2/19/2025
9.0.0-preview.6.24327.4 15 2/19/2025
9.0.0-preview.5.24306.3 15 2/19/2025
9.0.0-preview.4.24267.1 14 2/19/2025
9.0.0-preview.3.24172.4 15 2/19/2025
9.0.0-preview.2.24128.4 14 2/19/2025
9.0.0-preview.1.24081.2 15 2/19/2025
8.0.33 1 11/6/2026
8.0.32 0 10/13/2026
8.0.31 1 9/9/2026
8.0.30 3 8/12/2026
8.0.29 4 7/20/2026
8.0.28 5 6/15/2026
8.0.27 5 5/20/2026
8.0.26 6 4/17/2026
8.0.25 7 3/14/2026
8.0.24 7 2/11/2026
8.0.23 8 1/28/2026
8.0.22 9 12/12/2025
8.0.21 9 11/9/2025
8.0.20 10 9/20/2025
8.0.19 9 8/19/2025
8.0.18 11 7/30/2025
8.0.17 13 6/26/2025
8.0.16 12 5/24/2025
8.0.15 12 5/24/2025
8.0.14 12 5/24/2025
8.0.13 15 2/19/2025
8.0.12 15 2/19/2025
8.0.11 15 2/19/2025
8.0.10 15 2/19/2025
8.0.8 16 2/19/2025
8.0.7 16 2/19/2025
8.0.6 16 2/19/2025
8.0.5 16 2/19/2025
8.0.4 16 2/19/2025
8.0.3 16 2/19/2025
8.0.2 16 2/19/2025
8.0.1 16 2/19/2025
8.0.0 16 2/19/2025
8.0.0-rc.2.23480.1 12 5/24/2025
8.0.0-rc.1.23419.6 13 5/24/2025
8.0.0-preview.7.23375.4 16 2/19/2025
8.0.0-preview.6.23329.4 15 2/19/2025
8.0.0-preview.5.23280.1 14 2/19/2025
8.0.0-preview.4.23259.3 15 2/19/2025
8.0.0-preview.3.23174.2 15 2/19/2025
8.0.0-preview.2.23128.3 16 2/19/2025
8.0.0-preview.1.23111.4 15 2/19/2025
7.0.20 16 2/19/2025
7.0.19 15 2/19/2025
7.0.18 15 2/19/2025
7.0.17 15 2/19/2025
7.0.16 15 2/19/2025
7.0.15 15 2/19/2025
7.0.14 15 2/19/2025
7.0.13 15 2/19/2025
7.0.12 15 2/19/2025
7.0.11 13 9/28/2023
7.0.10 15 2/19/2025
7.0.9 16 2/19/2025
7.0.8 17 2/19/2025
7.0.7 16 2/19/2025
7.0.5 29 4/16/2023
7.0.4 24 3/31/2023
7.0.3 16 2/19/2025
7.0.2 17 1/22/2023
7.0.1 15 2/19/2025
7.0.0 17 11/18/2022
7.0.0-rc.2.22472.11 12 5/25/2025
7.0.0-rc.1.22426.7 13 5/24/2025
7.0.0-preview.7.22376.2 11 2/19/2025
7.0.0-preview.6.22329.4 15 2/19/2025
7.0.0-preview.5.22302.2 14 2/19/2025
7.0.0-preview.4.22229.2 14 2/19/2025
7.0.0-preview.3.22175.1 16 2/19/2025
7.0.0-preview.2.22153.1 14 2/19/2025
7.0.0-preview.1.22076.6 14 2/19/2025
6.0.36 16 2/19/2025
6.0.35 15 2/19/2025
6.0.33 15 2/19/2025
6.0.32 16 2/19/2025
6.0.31 15 2/19/2025
6.0.30 15 2/19/2025
6.0.29 15 2/19/2025
6.0.28 16 2/19/2025
6.0.27 15 2/19/2025
6.0.26 14 2/19/2025
6.0.25 15 2/19/2025
6.0.24 15 2/19/2025
6.0.23 15 2/19/2025
6.0.22 15 2/19/2025
6.0.21 15 2/19/2025
6.0.20 15 2/19/2025
6.0.19 15 2/19/2025
6.0.18 15 2/19/2025
6.0.16 16 2/19/2025
6.0.15 15 2/19/2025
6.0.14 15 2/19/2025
6.0.13 17 2/19/2025
6.0.12 15 2/19/2025
6.0.11 15 2/19/2025
6.0.10 15 2/19/2025
6.0.9 16 2/19/2025
6.0.8 16 2/19/2025
6.0.7 17 2/19/2025
6.0.6 17 9/7/2022
6.0.5 14 2/19/2025
6.0.4 20 5/14/2022
6.0.3 16 2/19/2025
6.0.2 16 2/19/2025
6.0.1 20 1/30/2022
6.0.0 19 1/10/2022
6.0.0-rc.2.21480.5 13 5/24/2025
6.0.0-rc.1.21452.10 12 5/25/2025
6.0.0-preview.7.21378.4 14 2/19/2025
6.0.0-preview.6.21352.1 14 2/19/2025
6.0.0-preview.5.21301.9 16 2/19/2025
6.0.0-preview.4.21253.1 15 2/19/2025
6.0.0-preview.3.21201.2 14 2/19/2025
6.0.0-preview.2.21154.2 16 2/19/2025
6.0.0-preview.1.21102.2 15 2/19/2025
5.0.17 16 2/19/2025
5.0.16 15 2/19/2025
5.0.15 15 2/19/2025
5.0.14 14 2/19/2025
5.0.13 15 2/19/2025
5.0.12 14 2/19/2025
5.0.11 15 2/19/2025
5.0.10 15 2/19/2025
5.0.9 16 2/19/2025
5.0.8 17 2/19/2025
5.0.7 16 2/19/2025
5.0.6 17 2/19/2025
5.0.5 16 2/19/2025
5.0.4 15 2/19/2025
5.0.3 16 2/19/2025
5.0.2 17 2/19/2025
5.0.1 16 2/19/2025
5.0.0 16 2/19/2025
5.0.0-rc.2.20475.6 13 5/24/2025
5.0.0-rc.1.20451.13 12 5/25/2025
5.0.0-preview.8.20407.4 15 2/19/2025
5.0.0-preview.7.20365.15 14 2/19/2025
5.0.0-preview.6.20312.4 14 2/19/2025
5.0.0-preview.5.20278.2 15 2/19/2025
5.0.0-preview.4.20220.10 14 2/19/2025
5.0.0-preview.3.20181.2 15 2/19/2025
5.0.0-preview.2.20159.4 15 2/19/2025
5.0.0-preview.2.20120.8 15 2/19/2025
3.1.32 15 2/19/2025
3.1.31 15 2/19/2025
3.1.30 15 2/19/2025
3.1.29 15 2/19/2025
3.1.28 16 2/19/2025
3.1.27 15 2/19/2025
3.1.26 15 2/19/2025
3.1.25 15 2/19/2025
3.1.24 15 2/19/2025
3.1.23 15 2/19/2025
3.1.22 15 2/19/2025
3.1.21 15 2/19/2025
3.1.20 16 2/19/2025
3.1.19 15 2/19/2025
3.1.18 15 2/19/2025
3.1.17 15 2/19/2025
3.1.16 15 2/19/2025
3.1.15 16 2/19/2025
3.1.14 15 2/19/2025
3.1.13 15 2/19/2025
3.1.12 15 2/19/2025
3.1.11 16 2/19/2025
3.1.10 15 2/19/2025
3.1.9 16 2/19/2025
3.1.8 16 2/19/2025
3.1.7 16 2/19/2025
3.1.6 16 2/19/2025
3.1.5 16 2/19/2025
3.1.4 16 2/19/2025
3.1.3 16 2/19/2025
3.1.2 15 2/19/2025
3.1.1 16 2/19/2025
3.1.0 17 2/19/2025
3.1.0-preview3.19554.8 13 2/19/2025
3.1.0-preview2.19525.5 15 2/19/2025
3.1.0-preview1.19506.2 13 2/19/2025
3.0.3 16 2/19/2025
3.0.2 17 2/19/2025
3.0.1 16 2/19/2025
3.0.0 16 2/19/2025
3.0.0-rc1.19456.14 15 2/19/2025
3.0.0-preview9.19423.6 14 2/19/2025
3.0.0-preview8.19405.11 14 2/19/2025
3.0.0-preview7.19362.6 15 2/19/2025
3.0.0-preview6.19304.10 15 2/19/2025
3.0.0-preview5.19227.1 14 2/19/2025
3.0.0-preview4.19216.3 14 2/19/2025
3.0.0-preview3.19153.1 15 2/19/2025
3.0.0-preview.19074.3 13 2/19/2025
3.0.0-preview.18572.1 14 2/19/2025
2.3.0 16 2/19/2025
2.2.6 16 2/19/2025
2.2.4 16 2/19/2025
2.2.3 16 2/19/2025
2.2.2 16 2/19/2025
2.2.1 16 2/19/2025
2.2.0 16 2/19/2025
2.2.0-preview3-35497 14 2/19/2025
2.2.0-preview2-35157 12 2/19/2025
2.2.0-preview1-35029 15 2/19/2025
2.1.14 15 2/19/2025
2.1.11 16 2/19/2025
2.1.8 16 2/19/2025
2.1.4 16 2/19/2025
2.1.3 16 2/19/2025
2.1.2 16 2/19/2025
2.1.1 17 2/19/2025
2.1.0 16 2/19/2025
2.1.0-rc1-final 15 2/19/2025
2.1.0-preview2-final 15 2/19/2025
2.1.0-preview1-final 15 2/19/2025
2.0.3 16 2/19/2025
2.0.2 16 2/19/2025
2.0.1 16 2/19/2025
2.0.0 14 2/19/2025
2.0.0-preview2-final 15 2/19/2025
2.0.0-preview1-final 15 2/19/2025
1.1.6 17 2/19/2025
1.1.5 16 2/19/2025
1.1.4 16 2/19/2025
1.1.3 16 2/19/2025
1.1.2 16 2/19/2025
1.1.1 17 2/19/2025
1.1.0 17 2/19/2025
1.1.0-preview1-final 15 2/19/2025
1.0.6 15 2/19/2025
1.0.5 16 2/19/2025
1.0.4 16 2/19/2025
1.0.3 18 2/19/2025
1.0.2 13 2/19/2025
1.0.1 16 2/19/2025
1.0.0 16 2/19/2025
1.0.0-rc2-final 15 2/19/2025