Microsoft.EntityFrameworkCore.InMemory 9.0.15

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
124
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
125
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
127
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
131
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.
123
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.
125
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.
127
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.
128
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.
130
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.
131
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.
132
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.
133
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.
134
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.
138
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.
142
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/1016eae4004686f7fdad13f5c329f63bbae1f3a1
133

Version Downloads Last updated
11.0.0-preview.4.26230.115 6 05/13/2026
11.0.0-preview.3.26207.106 13 04/14/2026
11.0.0-preview.2.26159.112 14 03/12/2026
11.0.0-preview.1.26104.118 23 02/12/2026
10.0.8 8 05/13/2026
10.0.7 10 04/21/2026
10.0.6 12 04/14/2026
10.0.5 17 03/14/2026
10.0.4 18 03/12/2026
10.0.3 19 02/12/2026
10.0.2 27 01/13/2026
10.0.1 39 12/12/2025
10.0.0 80 11/12/2025
10.0.0-rc.2.25502.107 57 10/15/2025
10.0.0-rc.1.25451.107 80 09/09/2025
10.0.0-preview.7.25380.108 79 08/13/2025
10.0.0-preview.6.25358.103 90 07/15/2025
10.0.0-preview.5.25277.114 96 06/07/2025
10.0.0-preview.4.25258.110 94 05/16/2025
10.0.0-preview.3.25171.6 101 04/11/2025
10.0.0-preview.2.25163.8 100 04/01/2025
10.0.0-preview.1.25081.1 116 04/01/2025
9.0.16 6 05/13/2026
9.0.15 12 04/14/2026
9.0.14 17 03/12/2026
9.0.13 21 02/12/2026
9.0.12 22 01/13/2026
9.0.11 54 11/11/2025
9.0.10 70 10/15/2025
9.0.9 60 09/09/2025
9.0.8 77 08/05/2025
9.0.7 83 07/09/2025
9.0.6 79 06/12/2025
9.0.5 89 05/17/2025
9.0.4 118 04/10/2025
9.0.3 103 03/30/2025
9.0.2 92 03/30/2025
9.0.1 98 03/30/2025
9.0.0 109 11/14/2024
9.0.0-rc.2.24474.1 105 10/19/2024
9.0.0-rc.1.24451.1 119 09/20/2024
9.0.0-preview.7.24405.3 97 09/20/2024
9.0.0-preview.6.24327.4 149 07/20/2024
9.0.0-preview.5.24306.3 132 07/20/2024
9.0.0-preview.4.24267.1 115 07/20/2024
9.0.0-preview.3.24172.4 142 07/20/2024
9.0.0-preview.2.24128.4 120 07/20/2024
9.0.0-preview.1.24081.2 115 07/20/2024
8.0.27 6 05/13/2026
8.0.26 18 04/14/2026
8.0.25 13 03/12/2026
8.0.24 19 02/12/2026
8.0.23 27 01/13/2026
8.0.22 44 11/12/2025
8.0.21 57 10/15/2025
8.0.20 77 09/09/2025
8.0.19 86 08/05/2025
8.0.18 98 07/09/2025
8.0.17 103 06/12/2025
8.0.16 96 05/17/2025
8.0.15 98 04/10/2025
8.0.14 112 03/30/2025
8.0.13 100 03/30/2025
8.0.12 103 03/30/2025
8.0.11 104 11/14/2024
8.0.10 97 10/21/2024
8.0.8 100 09/11/2024
8.0.7 123 07/20/2024
8.0.6 121 07/20/2024
8.0.5 124 07/20/2024
8.0.4 129 07/20/2024
8.0.3 117 07/20/2024
8.0.2 108 07/20/2024
8.0.1 122 07/20/2024
8.0.0 121 07/20/2024
8.0.0-rc.2.23480.1 119 07/20/2024
8.0.0-rc.1.23419.6 115 07/20/2024
8.0.0-preview.7.23375.4 124 07/20/2024
8.0.0-preview.6.23329.4 138 07/20/2024
8.0.0-preview.5.23280.1 128 07/20/2024
8.0.0-preview.4.23259.3 142 07/20/2024
8.0.0-preview.3.23174.2 105 07/20/2024
8.0.0-preview.2.23128.3 123 07/20/2024
8.0.0-preview.1.23111.4 127 07/20/2024
7.0.20 122 07/20/2024
7.0.19 128 07/20/2024
7.0.18 117 07/20/2024
7.0.17 126 07/20/2024
7.0.16 118 07/20/2024
7.0.15 113 07/20/2024
7.0.14 134 07/20/2024
7.0.13 119 07/20/2024
7.0.12 126 07/20/2024
7.0.11 116 07/20/2024
7.0.10 119 07/20/2024
7.0.9 118 07/20/2024
7.0.8 106 07/20/2024
7.0.7 110 07/20/2024
7.0.5 114 07/20/2024
7.0.4 134 07/20/2024
7.0.3 119 07/20/2024
7.0.2 123 07/20/2024
7.0.1 136 07/20/2024
7.0.0 129 07/20/2024
7.0.0-rc.2.22472.11 118 07/20/2024
7.0.0-rc.1.22426.7 122 07/20/2024
7.0.0-preview.7.22376.2 111 07/20/2024
7.0.0-preview.6.22329.4 127 07/20/2024
7.0.0-preview.5.22302.2 114 07/20/2024
7.0.0-preview.4.22229.2 114 07/20/2024
7.0.0-preview.3.22175.1 123 07/20/2024
7.0.0-preview.2.22153.1 114 07/20/2024
7.0.0-preview.1.22076.6 119 07/20/2024
6.0.36 114 11/14/2024
6.0.35 97 10/21/2024
6.0.33 105 09/07/2024
6.0.32 120 07/20/2024
6.0.31 117 07/20/2024
6.0.30 114 07/20/2024
6.0.29 114 07/20/2024
6.0.28 122 07/20/2024
6.0.27 134 07/20/2024
6.0.26 121 07/20/2024
6.0.25 108 07/20/2024
6.0.24 115 07/20/2024
6.0.23 122 07/20/2024
6.0.22 112 07/20/2024
6.0.21 118 07/20/2024
6.0.20 109 07/20/2024
6.0.19 120 07/20/2024
6.0.18 116 07/20/2024
6.0.16 122 07/20/2024
6.0.15 117 07/20/2024
6.0.14 115 07/20/2024
6.0.13 118 07/20/2024
6.0.12 119 07/20/2024
6.0.11 116 07/20/2024
6.0.10 126 07/20/2024
6.0.9 124 07/20/2024
6.0.8 113 07/20/2024
6.0.7 128 07/20/2024
6.0.6 131 07/20/2024
6.0.5 136 07/20/2024
6.0.4 127 07/20/2024
6.0.3 119 07/20/2024
6.0.2 131 07/20/2024
6.0.1 120 07/20/2024
6.0.0 121 07/20/2024
6.0.0-rc.2.21480.5 118 07/20/2024
6.0.0-rc.1.21452.10 119 07/20/2024
6.0.0-preview.7.21378.4 119 07/20/2024
6.0.0-preview.6.21352.1 120 07/20/2024
6.0.0-preview.5.21301.9 112 07/20/2024
6.0.0-preview.4.21253.1 125 07/20/2024
6.0.0-preview.3.21201.2 129 07/20/2024
6.0.0-preview.2.21154.2 113 07/20/2024
6.0.0-preview.1.21102.2 129 07/20/2024
5.0.17 119 07/20/2024
5.0.16 122 07/20/2024
5.0.15 113 07/20/2024
5.0.14 110 07/20/2024
5.0.13 139 07/20/2024
5.0.12 123 07/20/2024
5.0.11 131 07/20/2024
5.0.10 115 07/20/2024
5.0.9 132 07/20/2024
5.0.8 116 07/20/2024
5.0.7 119 07/20/2024
5.0.6 126 07/20/2024
5.0.5 126 07/20/2024
5.0.4 118 07/20/2024
5.0.3 127 07/20/2024
5.0.2 133 07/20/2024
5.0.1 124 07/20/2024
5.0.0 127 07/20/2024
5.0.0-rc.2.20475.6 126 07/20/2024
5.0.0-rc.1.20451.13 120 07/20/2024
5.0.0-preview.8.20407.4 122 07/20/2024
5.0.0-preview.7.20365.15 122 07/20/2024
5.0.0-preview.6.20312.4 120 07/20/2024
5.0.0-preview.5.20278.2 122 07/20/2024
5.0.0-preview.4.20220.10 141 07/20/2024
5.0.0-preview.3.20181.2 131 07/20/2024
5.0.0-preview.2.20159.4 127 07/20/2024
5.0.0-preview.2.20120.8 117 07/20/2024
3.1.32 117 07/20/2024
3.1.31 119 07/20/2024
3.1.30 123 07/20/2024
3.1.29 114 07/20/2024
3.1.28 116 07/20/2024
3.1.27 114 07/20/2024
3.1.26 136 07/20/2024
3.1.25 121 07/20/2024
3.1.24 100 07/20/2024
3.1.23 120 07/20/2024
3.1.22 111 07/20/2024
3.1.21 171 07/20/2024
3.1.20 120 07/20/2024
3.1.19 117 07/20/2024
3.1.18 112 07/20/2024
3.1.17 123 07/20/2024
3.1.16 127 07/20/2024
3.1.15 111 07/20/2024
3.1.14 117 07/20/2024
3.1.13 148 07/20/2024
3.1.12 140 07/20/2024
3.1.11 135 07/20/2024
3.1.10 124 07/20/2024
3.1.9 112 07/20/2024
3.1.8 114 07/20/2024
3.1.7 156 07/20/2024
3.1.6 108 07/20/2024
3.1.5 130 07/20/2024
3.1.4 147 07/20/2024
3.1.3 111 07/20/2024
3.1.2 119 07/20/2024
3.1.1 109 07/20/2024
3.1.0 122 07/20/2024
3.1.0-preview3.19554.8 130 07/20/2024
3.1.0-preview2.19525.5 120 07/20/2024
3.1.0-preview1.19506.2 114 07/20/2024
3.0.3 118 07/20/2024
3.0.2 136 07/20/2024
3.0.1 124 07/20/2024
3.0.0 134 07/20/2024
3.0.0-rc1.19456.14 133 07/20/2024
3.0.0-preview9.19423.6 113 07/20/2024
3.0.0-preview8.19405.11 134 07/20/2024
3.0.0-preview7.19362.6 132 07/20/2024
3.0.0-preview6.19304.10 135 07/20/2024
3.0.0-preview5.19227.1 116 07/20/2024
3.0.0-preview4.19216.3 146 07/20/2024
3.0.0-preview3.19153.1 124 07/20/2024
3.0.0-preview.19074.3 119 07/20/2024
3.0.0-preview.18572.1 123 07/20/2024
2.3.0 97 03/30/2025
2.2.6 115 07/20/2024
2.2.4 115 07/20/2024
2.2.3 128 07/20/2024
2.2.2 114 07/20/2024
2.2.1 125 07/20/2024
2.2.0 129 07/20/2024
2.2.0-preview3-35497 119 07/20/2024
2.2.0-preview2-35157 130 07/20/2024
2.2.0-preview1-35029 116 07/20/2024
2.1.14 119 07/20/2024
2.1.11 118 07/20/2024
2.1.8 126 07/20/2024
2.1.4 136 07/20/2024
2.1.3 107 07/20/2024
2.1.2 134 07/20/2024
2.1.1 119 07/20/2024
2.1.0 115 07/20/2024
2.1.0-rc1-final 117 07/20/2024
2.1.0-preview2-final 117 07/20/2024
2.1.0-preview1-final 136 07/20/2024
2.0.3 128 07/20/2024
2.0.2 134 07/20/2024
2.0.1 118 07/20/2024
2.0.0 108 07/20/2024
2.0.0-preview2-final 118 07/20/2024
2.0.0-preview1-final 118 07/20/2024
1.1.6 101 07/20/2024
1.1.5 150 07/20/2024
1.1.4 115 07/20/2024
1.1.3 146 07/20/2024
1.1.2 134 07/20/2024
1.1.1 114 07/20/2024
1.1.0 139 07/20/2024
1.1.0-preview1-final 127 07/20/2024
1.0.6 117 07/20/2024
1.0.5 128 07/20/2024
1.0.4 113 07/20/2024
1.0.3 139 07/20/2024
1.0.2 111 07/20/2024
1.0.1 125 07/20/2024
1.0.0 134 07/20/2024
1.0.0-rc2-final 116 07/20/2024