Microsoft.EntityFrameworkCore.InMemory 10.0.0

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
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
50
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
51
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
52
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
50
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
52
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.
51
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.
52
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.
63
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.
50
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.
57
Quantum.FrameworkNetCore
Used for set up Micro-Service.
59

Version Downloads Last updated
10.0.0 26 11/13/2025
10.0.0-rc.2.25502.107 20 10/22/2025
10.0.0-rc.1.25451.107 21 09/15/2025
10.0.0-preview.7.25380.108 25 08/14/2025
10.0.0-preview.6.25358.103 19 07/16/2025
10.0.0-preview.5.25277.114 25 06/08/2025
10.0.0-preview.4.25258.110 32 05/15/2025
10.0.0-preview.3.25171.6 30 04/24/2025
10.0.0-preview.2.25163.8 34 04/03/2025
10.0.0-preview.1.25081.1 31 03/07/2025
9.0.11 16 11/13/2025
9.0.10 15 10/17/2025
9.0.9 25 09/12/2025
9.0.8 22 08/09/2025
9.0.7 24 07/10/2025
9.0.6 29 06/16/2025
9.0.5 30 05/16/2025
9.0.4 27 04/09/2025
9.0.3 36 03/17/2025
9.0.2 35 02/13/2025
9.0.1 33 01/30/2025
9.0.0 37 11/14/2024
9.0.0-rc.2.24474.1 32 12/05/2024
9.0.0-rc.1.24451.1 32 11/29/2024
9.0.0-preview.7.24405.3 38 11/18/2024
9.0.0-preview.6.24327.4 37 11/23/2024
9.0.0-preview.5.24306.3 36 12/02/2024
9.0.0-preview.4.24267.1 36 05/29/2024
9.0.0-preview.3.24172.4 36 05/17/2024
9.0.0-preview.2.24128.4 34 05/29/2024
9.0.0-preview.1.24081.2 34 11/28/2024
8.0.22 15 11/13/2025
8.0.21 20 10/17/2025
8.0.20 17 09/13/2025
8.0.19 22 08/09/2025
8.0.18 21 07/10/2025
8.0.17 28 06/14/2025
8.0.16 27 05/16/2025
8.0.15 30 04/09/2025
8.0.14 31 03/17/2025
8.0.13 31 02/18/2025
8.0.12 37 01/30/2025
8.0.11 80 11/14/2024
8.0.10 35 11/14/2024
8.0.8 36 11/29/2024
8.0.7 42 11/23/2024
8.0.6 33 12/05/2024
8.0.5 60 05/17/2024
8.0.4 41 05/29/2024
8.0.3 37 05/29/2024
8.0.2 49 05/17/2024
8.0.1 42 05/29/2024
8.0.0 42 05/29/2024
8.0.0-rc.2.23480.1 37 05/29/2024
8.0.0-rc.1.23419.6 34 05/29/2024
8.0.0-preview.7.23375.4 38 05/29/2024
8.0.0-preview.6.23329.4 39 05/29/2024
8.0.0-preview.5.23280.1 33 05/29/2024
8.0.0-preview.4.23259.3 37 08/04/2023
8.0.0-preview.3.23174.2 37 05/29/2024
8.0.0-preview.2.23128.3 45 05/29/2024
8.0.0-preview.1.23111.4 32 11/23/2024
7.0.20 30 12/26/2024
7.0.19 50 05/17/2024
7.0.18 36 05/29/2024
7.0.17 43 05/29/2024
7.0.16 36 05/29/2024
7.0.15 34 11/14/2024
7.0.14 39 05/29/2024
7.0.13 43 05/29/2024
7.0.12 44 05/29/2024
7.0.11 40 05/29/2024
7.0.10 40 05/29/2024
7.0.9 36 08/21/2023
7.0.8 38 05/29/2024
7.0.7 38 05/29/2024
7.0.5 39 05/17/2024
7.0.4 35 05/29/2024
7.0.3 38 05/29/2024
7.0.2 37 05/29/2024
7.0.1 39 05/29/2024
7.0.0 36 05/29/2024
7.0.0-rc.2.22472.11 34 05/29/2024
7.0.0-rc.1.22426.7 35 05/29/2024
7.0.0-preview.7.22376.2 39 05/29/2024
7.0.0-preview.6.22329.4 39 05/29/2024
7.0.0-preview.5.22302.2 37 05/29/2024
7.0.0-preview.4.22229.2 33 04/28/2024
7.0.0-preview.3.22175.1 36 05/29/2024
7.0.0-preview.2.22153.1 34 05/29/2024
7.0.0-preview.1.22076.6 32 06/01/2023
6.0.36 44 11/14/2024
6.0.35 37 12/05/2024
6.0.33 35 12/05/2024
6.0.32 37 11/23/2024
6.0.31 36 11/29/2024
6.0.30 34 05/29/2024
6.0.29 38 05/29/2024
6.0.28 34 05/29/2024
6.0.27 45 05/29/2024
6.0.26 40 05/29/2024
6.0.25 41 05/29/2024
6.0.24 38 05/29/2024
6.0.23 45 05/29/2024
6.0.22 35 05/29/2024
6.0.21 42 05/29/2024
6.0.20 48 05/29/2024
6.0.19 36 05/29/2024
6.0.18 36 05/29/2024
6.0.16 34 05/29/2024
6.0.15 39 05/29/2024
6.0.14 37 05/29/2024
6.0.13 40 05/29/2024
6.0.12 42 05/29/2024
6.0.8 42 05/29/2024
6.0.7 43 08/08/2023
6.0.6 40 05/29/2024
6.0.4 40 05/29/2024
6.0.3 38 05/29/2024
6.0.2 39 01/04/2024
6.0.1 40 05/29/2024
6.0.0-rc.2.21480.5 32 05/29/2024
6.0.0-rc.1.21452.10 37 05/29/2024
6.0.0-preview.7.21378.4 39 05/29/2024
6.0.0-preview.6.21352.1 38 05/29/2024
6.0.0-preview.5.21301.9 32 05/29/2024
6.0.0-preview.4.21253.1 32 05/29/2024
6.0.0-preview.3.21201.2 39 05/17/2024
6.0.0-preview.2.21154.2 42 05/17/2024
6.0.0-preview.1.21102.2 33 05/29/2024
5.0.16 35 05/29/2024
5.0.15 42 05/17/2024
5.0.14 34 05/29/2024
5.0.13 39 05/29/2024
5.0.12 39 05/29/2024
5.0.11 43 05/17/2024
5.0.10 36 05/17/2024
5.0.9 37 05/29/2024
5.0.7 38 05/29/2024
5.0.6 35 05/29/2024
5.0.5 38 12/04/2024
5.0.4 42 05/29/2024
5.0.3 41 05/29/2024
5.0.2 42 05/29/2024
5.0.1 42 05/29/2024
5.0.0-rc.2.20475.6 35 05/29/2024
5.0.0-rc.1.20451.13 39 05/29/2024
5.0.0-preview.8.20407.4 34 05/29/2024
5.0.0-preview.7.20365.15 37 04/28/2024
5.0.0-preview.6.20312.4 39 05/29/2024
5.0.0-preview.4.20220.10 39 07/28/2023
5.0.0-preview.3.20181.2 36 05/29/2024
5.0.0-preview.2.20159.4 37 06/01/2023
5.0.0-preview.2.20120.8 38 04/28/2024
3.1.32 37 04/08/2024
3.1.31 39 05/29/2024
3.1.30 33 05/29/2024
3.1.29 38 05/29/2024
3.1.27 37 05/29/2024
3.1.26 33 05/29/2024
3.1.25 38 05/29/2024
3.1.24 41 05/29/2024
3.1.23 40 05/29/2024
3.1.22 45 05/29/2024
3.1.21 39 05/29/2024
3.1.20 42 05/17/2024
3.1.18 38 05/29/2024
3.1.16 41 07/28/2023
3.1.15 39 05/29/2024
3.1.14 38 05/29/2024
3.1.12 37 05/29/2024
3.1.11 37 05/29/2024
3.1.10 35 05/29/2024
3.1.8 39 05/29/2024
3.1.7 40 05/29/2024
3.1.6 37 05/29/2024
3.1.5 41 05/29/2024
3.1.1 40 05/29/2024
3.1.0-preview2.19525.5 48 11/16/2024
3.1.0-preview1.19506.2 37 05/29/2024
3.0.2 38 05/29/2024
3.0.1 34 05/29/2024
3.0.0 44 05/29/2024
3.0.0-preview8.19405.11 35 05/29/2024
3.0.0-preview5.19227.1 40 05/29/2024
3.0.0-preview.19074.3 35 05/29/2024
3.0.0-preview.18572.1 32 05/29/2024
2.3.0 35 01/30/2025
2.2.6 37 05/29/2024
2.2.2 48 06/01/2023
2.2.1 39 05/29/2024
2.2.0 44 08/17/2023
2.2.0-preview3-35497 39 05/29/2024
2.2.0-preview2-35157 41 05/17/2024
2.2.0-preview1-35029 40 05/29/2024
2.1.14 35 05/29/2024
2.1.11 37 05/29/2024
2.1.8 47 04/28/2024
2.1.4 44 05/29/2024
2.1.3 42 05/29/2024
2.1.2 39 05/29/2024
2.1.1 37 05/29/2024
2.1.0 41 05/25/2024
2.1.0-preview2-final 36 04/28/2024
2.1.0-preview1-final 36 05/29/2024
2.0.3 44 05/17/2024
2.0.2 41 05/29/2024
2.0.1 43 05/29/2024
2.0.0 33 05/29/2024
2.0.0-preview1-final 37 05/29/2024
1.1.6 37 05/29/2024
1.1.5 35 05/22/2024
1.1.4 35 05/29/2024
1.1.2 33 05/29/2024
1.1.0 40 05/29/2024
1.1.0-preview1-final 38 05/29/2024
1.0.5 41 05/29/2024
1.0.4 38 05/29/2024
1.0.3 43 05/29/2024
1.0.2 39 05/29/2024
1.0.1 35 05/29/2024
1.0.0 33 05/29/2024
1.0.0-rc2-final 40 05/29/2024