Breeze.AspNetCore.NetCore
7.3.0
dotnet add package Breeze.AspNetCore.NetCore --version 7.3.0
NuGet\Install-Package Breeze.AspNetCore.NetCore -Version 7.3.0
<PackageReference Include="Breeze.AspNetCore.NetCore" Version="7.3.0" />
paket add Breeze.AspNetCore.NetCore --version 7.3.0
#r "nuget: Breeze.AspNetCore.NetCore, 7.3.0"
// Install Breeze.AspNetCore.NetCore as a Cake Addin #addin nuget:?package=Breeze.AspNetCore.NetCore&version=7.3.0 // Install Breeze.AspNetCore.NetCore as a Cake Tool #tool nuget:?package=Breeze.AspNetCore.NetCore&version=7.3.0
Breeze Data Management for .NET Servers
Breeze is a library from IdeaBlade 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 Core
For .NET Core (2 through 8) and Entity Framework Core (2 through 8), find the following packages in NuGet.
Note: Version 7.1 or later of each package is for .NET 5, 6, 7, and 8, whereas Version 3.x is for .NET Core 3 and Version 1.x is for .NET Core 2.
- Breeze.AspNetCore.NetCore
- Breeze.Persistence.EFCore (support for EF Core)
- Breeze.Persistence.NH (support for NHibernate)
- Breeze.Core
- Breeze.Persistence
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 Framework
See the docs for .NET 4.x 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.
Source directories:
- AspNet - Support for .NET Framework up to 4.8
- AspNetCore-v3 - Support for .NET Core 3.1
- AspNetCore - Support for .NET Core 2
- DotNet - Support for .NET 5+
- Old - Old code related to initial Core support
- Tests - Test projects for running the client-driven test suite. Latest test projects are in Tests/Test.AspNetCore.EFCore.
- build - Build scripts for .NET Framework and .NET Core up to 3.1. Build tools for .NET 5 and above are in DotNet/tools.
Upgrading from .NET Framework to Core
The underlying concepts are the same, but there are a few major changes
- The
ContextProvider
class is nowPersistenceManager
. - 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 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. 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 is compatible. 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. |
-
net5.0
- Breeze.Core (>= 7.3.0)
- Breeze.Persistence (>= 7.3.0)
-
net6.0
- Breeze.Core (>= 7.3.0)
- Breeze.Persistence (>= 7.3.0)
-
net7.0
- Breeze.Core (>= 7.3.0)
- Breeze.Persistence (>= 7.3.0)
-
net8.0
- Breeze.Core (>= 7.3.0)
- Breeze.Persistence (>= 7.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Breeze.AspNetCore.NetCore:
Repository | Stars |
---|---|
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
|
Version | Downloads | Last updated |
---|---|---|
7.3.0 | 3,184 | 5/15/2024 |
7.2.2 | 533 | 5/1/2024 |
7.2.1 | 16,728 | 11/22/2023 |
7.2.0 | 207 | 11/16/2023 |
7.1.0 | 12,109 | 4/27/2023 |
7.0.2 | 2,785 | 1/27/2023 |
7.0.1 | 1,632 | 1/4/2023 |
6.0.4 | 8,871 | 1/27/2023 |
6.0.3 | 290 | 1/27/2023 |
6.0.2 | 34,514 | 3/31/2022 |
6.0.1 | 11,981 | 1/12/2022 |
5.0.6 | 5,571 | 3/31/2022 |
5.0.5 | 16,015 | 5/3/2021 |
5.0.4 | 1,112 | 4/19/2021 |
5.0.3 | 930 | 3/31/2021 |
5.0.2.1 | 2,649 | 3/23/2021 |
5.0.2 | 740 | 3/12/2021 |
3.1.4 | 624 | 4/20/2021 |
3.0.1 | 36,512 | 12/12/2019 |
1.0.3.3 | 5,418 | 6/20/2019 |
1.0.3.1 | 7,713 | 1/31/2019 |
1.0.3 | 4,827 | 12/20/2018 |
1.0.2 | 847 | 12/20/2018 |
0.1.2 | 3,549 | 2/7/2018 |
Note: Version 7.1+ of this package is for .NET 5, 6, 7, and 8; whereas 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