jaydata icon indicating copy to clipboard operation
jaydata copied to clipboard

Jaydata and Entity Framework Core

Open Davidvlv opened this issue 9 years ago • 3 comments

Hi,

I'm trying to set up ASP.NET Core and Entity Framework Core with Jaydata, is this supported? I want to be able to expose a database to an Angular 2 client side, and also support POST, DELETE, etc. back to the server.

Thanks

Davidvlv avatar Dec 12 '16 22:12 Davidvlv

You can use JayData with any standard OData v4 compatible endpoint, unfortunately ASP.NET Core cannot publish OData v4 services yet. this is the official MS thread: https://github.com/OData/WebApi/issues/772

robesz avatar Dec 13 '16 09:12 robesz

For now, you can start your asp.net core & entity framework core project using full .net framework and odata will works fine on that. See working sample here: https://github.com/ymoradi/OwinAspNetCore You can upgrade your project far easier than any other approaches whenever odata becomes .net core compatible.

ysmoradi avatar Dec 13 '16 13:12 ysmoradi

@ymoradi This is very helpful, thank you.

Davidvlv avatar Dec 15 '16 05:12 Davidvlv