Questions tagged [breeze-sharp]

Breeze.Sharp is a .NET client library that helps manage data in a rich client application. You can query and save data as complex object graphs, and share these graphs across multiple screens of your .NET client. Breeze.Sharp is a sister offering to the Breeze.Js library for Javascript rich clients. The API's are very similar and any web service built for one can talk to the other.

Breeze is a .NET client library that helps manage data in a rich client application. You can query and save data as complex object graphs, and share these graphs across multiple screens of your .NET client. Breeze.sharp is a sister offering to the BreezeJs library for Javascript rich clients. The API's are very similar and any web service built for one can talk to the other.

Headline features

  • Business data objects mirror your server-side model. Breeze creates them dynamically. Their properties bind to UI controls so the UI updates when your data model changes. Each object knows when it has changed and what has changed.

  • Query using LINQ with filters, ordering, and paging. Breeze queries implement the OData standard so you can “expand” the result with related entities or “project” over the data to cherry pick columns and flatten object graphs.

  • Save one entity or a batch of entities as a single transaction. Batch a mix of entity types (customers, orders, line-items) and data operations (inserts, updates, deletes).

  • Cache data on the client to reduce trips to the server and refresh as needed. Query a cache like you query the server. Save the cache locally and run offline; synch changes when you’re reconnected.

  • Extend the model with custom methods, properties, and events.

Download

Community

  • [Facebook]
  • [Twitter]
  • [Google+]

Getting started

72 questions
1
vote
1 answer

BreezeSharp Attach Property key not found

I'm implementing an application with Breezesharp. I ran into a issue when insert the entity in the EntityManager. The error is: There are no KeyProperties yet defined on EntityType: 'TransportReceipt:#Business.DomainModels' I already faced this…
1
vote
1 answer

BreezeSharp: is it possible to use server side POCO model on the client side?

I'm trying out Breeze Sharp for a new WPF app I'm building. I was wondering if there's any way to generate the client side entity from the EF6 Code First Entity. It would be a showstopper if we had to hand code the client models and keep the…
skywqr
  • 36
  • 6
1
vote
1 answer

Breeze js query syntax for swift conversion

i'm currently working on a project with an existing breezejs api, and where going swift for IOS development, i'm trying to find the syntax for breeze query so that i can make a query Builder out of it. I assumed that the syntax would have been the…
Rugdr
  • 199
  • 2
  • 15
1
vote
1 answer

Export breeze entities in the server side to json

I am looking for a way to export breeze entities on the server side to a json string which a breezejs manager can import from the client side. I looked all over the breeze APIs (both public and internal source code) but I couldn't find an obvious…
GETah
  • 20,922
  • 7
  • 61
  • 103
1
vote
1 answer

How to Configure Breeze Web API Controller for Both Windows and Web Clients

We are already having the Breeze Web API Controller for our Existing Web Client Application.Its is working smoothly. Now we need to add one more client for Windows Application.Can we use the same Breeze controller for windows application. I have…
1
vote
0 answers

Returning ComplexObject gives error: "A type by this name exists but is not a Breeze.Sharp.EntityType"

I have the following BreezeController: [BreezeController] public class FinanceiraController : ApiController { readonly EFContextProvider _contextProvider = new EFContextProvider(); [HttpGet] public string…
1
vote
0 answers

saveChanges fails when deleting & modifying a many-to-many table in one saveBundle

I am trying to delete a record in a many-many table that has a Unique index on it. Therefor if a component is being added to a list the order has to be incremented by one or the back-end wont allow it to be saved to the DB. My problem comes in when…
Andrew
  • 11
  • 4
1
vote
1 answer

BreezeSharp - Query with parameters against the local cache

I am trying to execute query with parameters against local cache or server (if nothing is found in cache). public async Task> Get(IDictionary parameters, string resourceName = "", FetchSource fetchSource =…
1
vote
2 answers

Nuget Breeze Server for Web API 2.0 install error

I'm getting the following error while installing the Breeze Server for Web API 2.0. Updating 'Microsoft.AspNet.WebApi.Core 5.2.0' to 'Microsoft.AspNet.WebApi.Core 5.1.0' failed. Unable to find a version of 'Microsoft.AspNet.WebApi.WebHost'…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
1
vote
1 answer

Breeze.Sharp ContextProvider for RavenDB

Your backend data services BreezeSharp communicates with any service that speaks HTTP and JSON. Are you serving data with Web API, OData or MVC backed by Entity Framework in front of SQL Server? Breeze has a great out-of-the-box story.…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
1
vote
1 answer

Using BreezeSharp as a SQLite.Net replacement in Xamarin.*?

How successful and pleasant would it be if I used only BreezeSharp for data management in a Mobile App? With the ability to export/save/import locally, I could imagine a scenario where I pull from the server and then work mostly in the…
Dylan
  • 530
  • 2
  • 11
1
vote
1 answer

Breeze.Sharp with non web-api/wcf data services

We are using EasyNetQ(RabbitMQ) with a data layer that uses EF6.1 We are developing a WPF client that will request data via the Message Bus. We would love to be able to use Breeze.Sharp to manage the data on the client but the only DataServices…
Allan Smith
  • 162
  • 10
1
vote
2 answers

RIA Services WITHOUT Silverlight

I am new with Ria Services. I'm using VS2013 SP2. I just try to find out: Is it possible to use RIA Services WITHOUT Silverlight? I do not see any principal contradictions to use Ria Services with any kind of client (standalone wpf app in my case).…
Igor S
  • 98
  • 2
  • 9
1
vote
2 answers

Does breezesharp work with NHibernate metadata?

we've been using breeze for a long time and now I'm trying to access an existing webapi controller with a breezesharp client. Our controller is using NHibernate for data access. On FetchMetadata the application throws an object reference not set…
lnu
  • 1,404
  • 1
  • 9
  • 25
1
vote
1 answer

Breeze.Sharp nullable int , when set to zero on client, is being changed back to null on SaveChanges()

I'm using the 0.5.5.0 release of Breeze.Sharp, and one of my models has a Nullable property. The first time I save the model using SaveChanges(), this value is null as expected. If, however, I try changing the value to 0 later in the process,…
chrismon
  • 75
  • 7