Breeze.Server.ContextProvider 2.0.3

dotnet add package Breeze.Server.ContextProvider --version 2.0.3                
NuGet\Install-Package Breeze.Server.ContextProvider -Version 2.0.3                
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="Breeze.Server.ContextProvider" Version="2.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Breeze.Server.ContextProvider --version 2.0.3                
#r "nuget: Breeze.Server.ContextProvider, 2.0.3"                
#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 Breeze.Server.ContextProvider as a Cake Addin
#addin nuget:?package=Breeze.Server.ContextProvider&version=2.0.3

// Install Breeze.Server.ContextProvider as a Cake Tool
#tool nuget:?package=Breeze.Server.ContextProvider&version=2.0.3                

Breeze Data Management for .NET Servers

Breeze is a library that helps you manage data in rich client applications. If you store data in a database, query and save those data as complex object graphs, and share these graphs across multiple screens of your JavaScript or C# client, Breeze is for you.

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

.NET Framework

For .NET Framework, find the following packages in NuGet.

Note: Version 2.0.2 and above are for .NET Framework 4.8; versions below that are for 4.7 and below.

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.

.NET Core

See the docs for .NET Core NuGet packages

Documentation

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.

Examples

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.

Sources

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

  • The ContextProvider class is now PersistenceManager.
  • The [BreezeController] and [EnableBreezeQuery] attributes have been replaced by [BreezeQueryFilter] attribute.
  • 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.

Building Breeze

The recent sources and solutions are in the breeze.server.net repo under the AspNet folder. Building is just a matter of:

  1. Installing the required version of .NET SDK
  2. Opening the appropriate solution in Visual Studio
  3. Restoring NuGet packages
  4. Rebuilding the solution

Test solutions is Breeze.AspNet.InternalTests.sln in the root 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.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Breeze.Server.ContextProvider:

Package Downloads
Breeze.Server.ContextProvider.EF6

Core data access library for a Breeze Server working with Entity Framework v6 and ASP.NET WebApi (Not for use with .NET Core or ASP.Net Core)

Breeze.Server.WebApi2

The files and references that are essential for a Breeze ASP.NET Web API 2.2 server. (Not for use with .NET Core or ASP.Net Core)

PointlessArhitecture.Breeze.ContextProvider.NH

Core data access library for a Breeze Server working with NHibernateX

Breeze.Server.ContextProvider.NH

Core data access library for a Breeze Server working with NHibernate and ASP.NET WebApi. (Not for use with .NET Core or ASP.Net Core)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3 13,901 2/11/2023
2.0.2 2,203 2/10/2023
2.0.1 46,188 12/20/2018
1.6.6 146,412 2/2/2018
1.6.5 86,033 6/1/2017
1.6.4 54,379 3/9/2017
1.6.3 4,711 3/9/2017
1.6.0 86,234 12/1/2016
1.5.5 113,785 2/8/2016
1.5.4 150,655 5/5/2015
1.5.3 64,059 1/22/2015
1.5.2 11,871 12/11/2014
1.5.1 11,279 10/24/2014
1.5.0 99,875 8/30/2014
1.4.17 8,726 8/19/2014
1.4.16 12,296 7/14/2014
1.4.15 3,843 7/13/2014
1.4.14 9,130 6/23/2014
1.4.13 10,322 6/2/2014
1.4.12 12,756 5/10/2014
1.4.11 23,694 3/8/2014
1.4.9 5,826 3/1/2014
1.4.8 20,333 1/7/2014
1.4.7 8,417 12/12/2013
1.4.6 6,881 11/24/2013
1.4.5 19,353 10/28/2013

Please review the Breeze release notes at https://breeze.github.io/doc-net/release-notes.html