Microsoft.EntityFrameworkCore.InMemory 10.0.14

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.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.
50
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.
48
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
47
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.
45
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
44
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.
44
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.
43
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
42
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.
42
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
41

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