See the version list below for details.
dotnet add package Breeze.Persistence --version 6.0.4
NuGet\Install-Package Breeze.Persistence -Version 6.0.4
<PackageReference Include="Breeze.Persistence" Version="6.0.4" />
paket add Breeze.Persistence --version 6.0.4
#r "nuget: Breeze.Persistence, 6.0.4"
// Install Breeze.Persistence as a Cake Addin #addin nuget:?package=Breeze.Persistence&version=6.0.4 // Install Breeze.Persistence as a Cake Tool #tool nuget:?package=Breeze.Persistence&version=6.0.4
Breeze Data Management for .NET Servers
Client-side querying, caching, dynamic object graphs, change tracking and notification, model validation, batch save, offline … all part of rich data management with Breeze. Breeze clients communicate with any remote service that speaks HTTP and JSON.
Breeze lets you develop applications using the same powerful idioms on the client and server. You can
- query with a rich query syntax
- navigate the graph of related entities
- track changes as you add/change/delete entities
- perform client-side validation
- save all changes in a single transaction
- use the same entity model on the server and client
Install from NuGet
For .NET Core (2 through 7) and Entity Framework Core (2 through 7), find the following packages in NuGet.
Note: Version 7.x of each package is for .NET 7, whereas Version 6.x is for .NET Core 6, Version 5.x is for .NET Core 5, Version 3.x is for .NET Core 3 and Version 1.x is for .NET Core 2.
- Breeze.Persistence.EFCore (support for EF Core)
- Breeze.Persistence.NH (support for NHibernate)
For a typical EFCore application, you would install the first two packages. For an NHibernate application, install the first package and Breeze.Persistence.NH. The last two packages are dependencies that are automatically installed by the other packages.
See the docs for .NET 4.x NuGet packages
See the docs for more info about what Breeze does and how to use it.
Set the release notes for changes in the latest version.
See some examples of how to use Breeze .NET server with clients written in Angular, Aurelia, React, and Vue in the Northwind-Demo.
See the TempHire application for a richer example showing proper architectural patterns.
The sources for this package are in the breeze.server.net repo. Please file issues and pull requests against that repo.
Upgrading from .NET Framework to Core
The underlying concepts are the same, but there are a few major changes
ContextProviderclass is now
[EnableBreezeQuery]attributes have been replaced by
- Breeze JSON query format is preferred over OData. You will need to use Breeze 2.x on the client, and use the UriBuilderJsonAdapter (not the UriBuilderOdataAdapter).
See the Northwind-Demo for steps to set up a new .NET Core server.
See the UPGRADE document for information on upgrading Breeze Client from 1.x to 2.x.
The recent sources and solutions are in the breeze.server.net repo under the DotNet folder. Building is just a matter of:
- Installing the required version of .NET SDK
- Opening the appropriate solution in Visual Studio
- Restoring NuGet packages
- Rebuilding the solution
Test solutions are in the Tests/Test.AspNetCore.EFCore folder.
If you have discovered a bug or missing feature, please create an issue in the breeze.server.net github repo.
If you have questions about using Breeze, please ask on Stack Overflow.
If you need help developing your application, please contact us at IdeaBlade.
|.NET||net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows|
- Breeze.Core (>= 6.0.4)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Breeze.Persistence:
Core ASP.NET Core functionality for any Breeze Server using ASP.NET Core. Please review the Breeze documentation at http://breeze.github.io/doc-main/ Note: Version 7.x of this package is for .NET 7, whereas Version 6.x is for .NET Core 6, Version 5.x is for .NET Core 5, Version 3.x is for .NET Core 3 and Version 1.x is for .NET Core 2.
Persistence for EF Core functionality for any Breeze Server using .NET. Please review the Breeze documentation at http://breeze.github.io/doc-main/ Note: Version 7.x of this package is for .NET 7, whereas Version 6.x is for .NET Core 6, Version 5.x is for .NET Core 5, Version 3.x is for .NET Core 3 and Version 1.x is for .NET Core 2.
Persistence for EF 6 functionality for any Breeze Server using .NET Core
Persistence for NHibernate functionality for any Breeze Server using .NET 5. Note: Version 5.x of this package is for .NET 5, whereas Version 3.x in for .NET Core 3 and Version 1.x is for .NET Core 2.
This package is not used by any popular GitHub repositories.
Note: Version 7.x of this package is for .NET 7, whereas Version 6.x is for .NET Core 6, Version 5.x is for .NET Core 5, Version 3.x is for .NET Core 3 and Version 1.x is for .NET Core 2.
Please review the Breeze release notes at https://breeze.github.io/doc-net/release-notes.html