breeze-sharp

Nuget Breeze Server for Web API 2.0 install error

空扰寡人 提交于 2019-12-24 10:46:35
问题 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' that is compatible with 'Microsoft.AspNet.WebApi.Core 5.1.0'. Any help is appreciated. 回答1: I had similar issue with Visual Studio 2013 Update 3. Installed Microsoft.AspNet.WebApi.OData first and Breeze.Server.WebApi2 both via NuGet That issue did not

saving changes to breeze web api from c#

核能气质少年 提交于 2019-12-24 01:48:08
问题 I want to create a c# application that will use the breeze web api to save change set to the server using the same SaveChanges(JObject saveBundle) action. How can I serialize and represent the changeset to be sent to the server. My primary question is how breezejs serializes the changeset when it sends it to the server. Cant we do the same with c# and for example JSON.NET 回答1: As of later today - we are releasing a beta of a sister product to Breeze.Js called Breeze.Sharp. This is a .NET

BreezeSharp - ExecuteQuery fails with NullReferenceException

 ̄綄美尐妖づ 提交于 2019-12-12 01:35:55
问题 I have been working with BreezeJS for a while, and I had grate experience with it. As I started developing mobile application in .NET, I decided to give BreezeSharp a try. I went through documentation and ToDo sample, and successfully created project explained in http://www.breezejs.com/breeze-sharp-documentation/get-your-feet-wet. I am having an issue with executing query on mine existing Web Api controller (which works great with BreezeJS). Here is query method: private async Task

Angular and Breeze edit Date object

孤者浪人 提交于 2019-12-11 14:51:55
问题 I have an AngularJS application where I want to edit a Date object that is being exposed by ASP Web API through BreezeJS. When I try to edit this field in a HTML form it doesn't quite work. It seems to edit part of the object, or doesn't bind to the date input type at all. I am wondering what the best way would be to edit Date fields in HTML forms with BreezeJS. I can't find any resources about how one would solve this problem in a proper way. My own guesses would be: Extend the Breeze entity

Is Entities on Client side anti-pattern?

纵饮孤独 提交于 2019-12-11 07:19:13
问题 I have used RIA service before, now testing Breeze Sharp. RIA as well as Breeze give an impression that what you see on the server/middle tier is what you see on the client. To support that, the term Entity is being used on both the client and the server. Is it really an Entity, or it really a Presentation Model or Model on the client? For smaller systems having one or two level entity graphs, there may not be wrong in thinking both the client and the server is the same. For larger systems

breeze: why inheriting from Breeze.Sharp.BaseEntity?

99封情书 提交于 2019-12-02 05:28:01
问题 We've started considering using BreezeSharp as we have a WebAPI ODATA Service that we'd like to re-use with a ASP.NET site (no javascript involved, just pure C#). Unfortunately, we just noticed that, according to the documentation, all of our model entities should now inherit from Breeze.Sharp.BaseEntity. That's a no go for us as this would mean having a dependency on Breeze in our business model. We'd rather keep this dependency on the WebAPI service only. Is there anyway we could avoid this