Microsoft.EntityFrameworkCore.InMemory 8.0.20

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
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
56
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
58
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
59
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
60
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
61
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.
55
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.
56
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
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.
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.
61
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.
64
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

.NET 8.0

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