angularjs - Unable to retrieve Model properties using a breeze client on the first attempt -
angularjs - Unable to retrieve Model properties using a breeze client on the first attempt -
i have developed webapi 2 service using code first ef6 approach breeze on server. have used efcontextprovider specified in breeze documentation. also, using contextprovider have exposed metadata through action method. trying consume services through spa app written using angular.
i have few properties in model unmapped , plain getters perform calculations based on other properties. in http response(captured via chrome, fiddler), able see these additional properties, in metadata not.
my client able query service without exceptions, these additional properties available in response packet somehow not reflect in javascript entity object. create things more strange, issue seems happen during first time. on navigating elsewhere , returning back, entity appears receive these properties.
honestly, not sure how prepare 1 :)
angularjs entity-framework asp.net-web-api breeze asp.net-web-api2
Comments
Post a Comment