ServantSoftware.EFCore.Json 1.0.0.258

dotnet add package ServantSoftware.EFCore.Json --version 1.0.0.258
NuGet\Install-Package ServantSoftware.EFCore.Json -Version 1.0.0.258
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ServantSoftware.EFCore.Json" Version="1.0.0.258" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ServantSoftware.EFCore.Json --version 1.0.0.258
#r "nuget: ServantSoftware.EFCore.Json, 1.0.0.258"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ServantSoftware.EFCore.Json as a Cake Addin
#addin nuget:?package=ServantSoftware.EFCore.Json&version=1.0.0.258

// Install ServantSoftware.EFCore.Json as a Cake Tool
#tool nuget:?package=ServantSoftware.EFCore.Json&version=1.0.0.258

ServantSoftware.EFCore.Json

Nuget

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.

Features

  • Seamless integration with EF Core.
  • Allows JSON files to act as data sources for EF Core.
  • Optimized for specific scenarios to support the main product.
  • Easy setup and configuration.

Getting Started

Prerequisites

  • .NET 7.0 or later.
  • EF Core compatible version.

Installation

Install the ServantSoftware.EFCore.Json provider using NuGet:

dotnet add package ServantSoftware.EFCore.Json

Usage

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 JSON ADO.NET Provider. Refer to it for details connection string options.

Contributing

We're open to contributions! Please read contributing guidelines for details on our code of conduct, and the process for submitting pull requests.

Limitations

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.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to the .NET Foundation and EF Core teams for providing an exceptional framework.
  • Huge thanks to all who are considering contributing to this nascent project!
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ServantSoftware.EFCore.Json:

Package Downloads
ServantSoftware.SettingsOnEF.Json

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.258 144 4/17/2024
1.0.0.257 86 4/17/2024
1.0.0.256 81 4/17/2024
1.0.0.254 78 4/15/2024
1.0.0.253 71 4/15/2024
1.0.0.252 77 4/14/2024
1.0.0.251 74 4/14/2024
1.0.0.250 74 4/13/2024
1.0.0.249 72 4/13/2024
1.0.0.248 79 4/11/2024
1.0.0.247 68 4/11/2024
1.0.0.246 90 4/1/2024
1.0.0.245 68 4/1/2024
1.0.0.242 89 3/27/2024
1.0.0.241 83 3/27/2024
1.0.0.240 103 3/27/2024
1.0.0.239 92 3/27/2024
1.0.0.238 133 3/16/2024
1.0.0.237 75 3/16/2024
1.0.0.236 105 2/14/2024
1.0.0.235 131 12/20/2023
1.0.0.233 240 10/23/2023
1.0.0.232 93 10/23/2023
1.0.0.231 86 10/23/2023
1.0.0.230 80 10/23/2023
1.0.0.229 86 10/23/2023
1.0.0.228 95 10/22/2023
1.0.0.227 88 10/22/2023
1.0.0.226 98 10/22/2023
1.0.0.225 90 10/22/2023
1.0.0.224 88 10/22/2023
1.0.0.223 91 10/22/2023
1.0.0.222 96 10/22/2023
1.0.0.221 95 10/22/2023
1.0.0.220 92 10/21/2023
1.0.0.219 92 10/21/2023
1.0.0.218 92 10/21/2023
1.0.0.217 85 10/21/2023
1.0.0.216 96 10/21/2023
1.0.0.215 83 10/21/2023
1.0.0.214 83 10/21/2023
1.0.0.213 89 10/21/2023
1.0.0.212 85 10/21/2023
1.0.0.211 98 10/20/2023
1.0.0.210 95 10/20/2023
1.0.0.209 90 10/20/2023
1.0.0.208 101 10/20/2023
1.0.0.207 77 10/20/2023
1.0.0.206 105 10/20/2023
1.0.0.205 86 10/20/2023
1.0.0.204 84 10/19/2023
1.0.0.203 91 10/17/2023
1.0.0.202 220 10/10/2023
1.0.0.201 128 10/7/2023
1.0.0.200 105 10/3/2023
1.0.0.199 98 10/2/2023
1.0.0.198 96 10/2/2023
1.0.0.195 118 9/27/2023
1.0.0.194 94 9/27/2023
1.0.0.193 94 9/27/2023
1.0.0.192 96 9/27/2023
1.0.0.191 118 9/26/2023
1.0.0.189 161 9/22/2023
1.0.0.188 88 9/22/2023
1.0.0.187 95 9/22/2023
1.0.0.186 91 9/19/2023
1.0.0.185 179 9/18/2023
1.0.0.184 95 9/17/2023
1.0.0.183 96 9/17/2023
1.0.0.182 85 9/16/2023
1.0.0.181 106 9/15/2023
1.0.0.179 127 9/14/2023
1.0.0.178 117 9/14/2023
1.0.0.176 111 9/13/2023
1.0.0.175 110 9/9/2023
1.0.0.174 103 9/8/2023
1.0.0.173 110 9/1/2023
1.0.0.172 110 9/1/2023
1.0.0.171 118 8/31/2023
1.0.0.170 121 8/25/2023
1.0.0.169 120 8/24/2023