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
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.
68
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.
65
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
63
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.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.
62
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
61
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
60
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/244e037a222a7cd0a17feafb7f3a625fde40de97
60
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
59
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.
59
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.
57

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