Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Edited Issue: Add a simple hook to re-write all outgoing OData links. [1247]

$
0
0
Right now, we generate a bunch of links in the OData response payloads. These are,

1) Self links - ID, edit and read links.
2) Navigation links,
3) Metadata links.

Customers want to use ODataConventionModelBuilder and yet have a simple way to rebase the links that get generated. Doing it right now involves fixing up these links for each and every entity set and navigation property which is lot of code. Also, the metadata link cannot be changed.

WCF DS supports this scenario. Refer to this blog [post](http://blogs.msdn.com/b/peter_qian/archive/2010/03/24/overwriting-the-service-root-uri-in-wcf-data-service.aspx).

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>