![]() |
VOOZH | about |
dotnet add package ServantSoftware.EFCore.Json --version 1.0.1
NuGet\Install-Package ServantSoftware.EFCore.Json -Version 1.0.1
<PackageReference Include="ServantSoftware.EFCore.Json" Version="1.0.1" />
<PackageVersion Include="ServantSoftware.EFCore.Json" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="ServantSoftware.EFCore.Json" />Project file
paket add ServantSoftware.EFCore.Json --version 1.0.1
#r "nuget: ServantSoftware.EFCore.Json, 1.0.1"
#:package ServantSoftware.EFCore.Json@1.0.1
#addin nuget:?package=ServantSoftware.EFCore.Json&version=1.0.1Install as a Cake Addin
#tool nuget:?package=ServantSoftware.EFCore.Json&version=1.0.1Install as a Cake Tool
ServantSoftware.EFCore.Json is an EF Core provider that allows you to use JSON files as a data source. It's currently in an alpha state, primarily focusing on specific "happy paths" needed for SettingsOnEF and our main product, MockDB. We encourage community contributions to enhance its features and cover a broader range of scenarios.
Install the ServantSoftware.EFCore.Json provider using NuGet:
dotnet add package ServantSoftware.EFCore.Json
After installing the package, you can configure your DbContext to use the JSON provider:
public class MyDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
var connectionString = new FileConnectionString() { DataSource = "path/to/your/data.json" };
optionsBuilder.UseJson(connectionString);
}
}
This allows you to perform standard EF Core operations on your JSON data source. This provider is based on the . Refer to it for details connection string options.
We're open to contributions! Please read for details on our code of conduct, and the process for submitting pull requests.
Being in its alpha state, the ServantSoftware.EFCore.Json provider primarily addresses specific scenarios vital for our product MockDB. Some advanced EF Core features might not be fully supported yet. We are eagerly awaiting community contributions to improve and extend its capabilities.
This project is licensed under the MIT License - see the file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on ServantSoftware.EFCore.Json:
| Package | Downloads |
|---|---|
|
ServantSoftware.SettingsOnEF.Json
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 91 | 6/12/2026 |
| 1.0.0.432 | 103 | 6/12/2026 |
| 1.0.0.431 | 142 | 5/17/2026 |
| 1.0.0.430 | 95 | 5/17/2026 |
| 1.0.0.429 | 100 | 5/17/2026 |
| 1.0.0.428 | 100 | 5/17/2026 |
| 1.0.0.427 | 94 | 5/17/2026 |
| 1.0.0.426 | 345 | 4/6/2026 |
| 1.0.0.425 | 113 | 4/6/2026 |
| 1.0.0.424 | 109 | 4/5/2026 |
| 1.0.0.423 | 187 | 3/23/2026 |
| 1.0.0.422 | 106 | 3/23/2026 |
| 1.0.0.421 | 100 | 3/23/2026 |
| 1.0.0.420 | 98 | 3/23/2026 |
| 1.0.0.419 | 97 | 3/22/2026 |
| 1.0.0.418 | 96 | 3/22/2026 |
| 1.0.0.417 | 96 | 3/22/2026 |
| 1.0.0.416 | 105 | 3/22/2026 |
| 1.0.0.415 | 102 | 3/22/2026 |
| 1.0.0.414 | 95 | 3/22/2026 |