BreezeJS with ServiceStack?
Asked Answered
B

1

8

I was wondering whether or not BreezeJS is compatible when using other technologies other than Web API and/or Entity Framework? As I'm currently in development of a SPA using Service Stack to retrieve data and ORMLite?

So I am curious how BreezeJS handle's this as I know it uses it's own API Controller usually with an extension of the DbContext class which Entity Framework uses. Thanks.

Bridlewise answered 18/1, 2013 at 21:43 Comment(0)
S
7

There is currently a sample called NoDb in the samples zip available on the breeze website. This sample does not use EF, but it does use WebApi. So I'd start by looking there. ( additional documentation on this sample should be added within a day or two as well).

In terms of using ServiceStack instead of WebApi, breeze supports the concept of a "dataServiceAdapter" and currently ships with two, an OData adapter and a WebApi adapter. It is certainly possible to write a ServiceStack adapter that breeze could use but this is not trivial. Please add this as a feature request ( and vote for it) on the breeze User Voice. We take these requests seriously.

Simons answered 18/1, 2013 at 22:23 Comment(1)
Hi, thanks for the link! I've made a request: breezejs.uservoice.com/forums/173093-breeze-feature-suggestions/… . I will also take a look at the sample for NoDb!Bridlewise

© 2022 - 2024 — McMap. All rights reserved.