Microsoft.EntityFrameworkCore.InMemory 9.0.10

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
Microsoft.AspNetCore.All
76
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
78
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
80
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
81
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.
74
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.
76
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.
77
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.
78
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.
79
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.
83
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.
84
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.
85
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.
86

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