jaystack / jaydata

Notice: this library isn't maintained anymore
http://jaydata.org
GNU General Public License v2.0
354 stars 95 forks source link

Jaydata and Entity Framework Core #280

Open Davidvlv opened 7 years ago

Davidvlv commented 7 years ago

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

robesz commented 7 years ago

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

ysmoradi commented 7 years ago

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.

Davidvlv commented 7 years ago

@ymoradi This is very helpful, thank you.