Microsoft.EntityFrameworkCore.InMemory 9.0.12

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
103
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
104
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
111
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.
102
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.
103
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.
104
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.
107
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.
108
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.
110
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.
111
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.
114
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.
115

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