Microsoft.EntityFrameworkCore.InMemory 10.0.3

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
106
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
108
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
113
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.
109
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.
112
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.
113
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
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.
116
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.
117
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.
122
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
116

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