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

Commented Issue: SingleResult cannot be serialized by OData formatter [1021]

$
0
0
```
public SingleResult<Customer> GetCustomers(int id)
{
return new SingleResult<Customer>(_db.Customers.Where(c => c.ID == id));
}
```

Requesting the URL ~/Customers(42) gives back a 406.
Comments: https://aspnetwebstack.codeplex.com/SourceControl/changeset/1c7dc46b1afeaab550bc7c74ce9485bb5ee1e9be

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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