Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Issue: GetODataPathHandler extension returns null. [654]

$
0
0
Request.GetConfiguration().GetODataPathHandler() is returning null. This is probably because we are not calling SetODataPathHandler when creating the default path handler.

Scenario: Link generation like below..

response.Headers.Location = new Uri(Url.ODataLink(Request.GetConfiguration().GetODataPathHandler(),
new EntitySetPathSegment("Products"), new KeyValuePathSegment(addedProduct.ID.ToString())));
Comments: Verified

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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