ODataMediaTypeFormatter is throwing a SerializationException when SingleResult.Create takes in a query that returns an empty result.

A SerializationException is being thrown from System.Web.OData.Formatter.ODataMediaTypeFormatter.GetSerializer(...) when SingleResult.Create(...) takes in a query that returns an empty result. Thi...

Id #2190 | Release: None | Updated: Thu at 3:48 PM by ryansimmen | Created: Thu at 3:00 PM by ryansimmen

Web API 2.2 Thread.CurrentPrincipal and HttpContext.Current.User not in sync

Principal's Identity is being changed during same Http request. Thread.CurrentPrincipal and HttpContext.Current.User held correctly new value until the very end of WebAPI method action. OnActionE...

Id #2189 | Release: None | Updated: Nov 18 at 3:33 PM by jovana | Created: Nov 18 at 3:33 PM by jovana

When using Owin self hosting, Debug.Print message are duplicated

After WebApp.Start() is called all Debug.Print messages appear twice. Using the code below I get the following output in the Visual Studio 2013 output window: Before Start() After Start() After...

Id #2188 | Release: None | Updated: Nov 16 at 7:22 PM by sixeyes | Created: Nov 16 at 7:22 PM by sixeyes

Odata+WebApi Filtering Open Dynamic Objects. SingleValueOpenPropertyAccess.

I am attempting to apply an Odataquery against a collection of Json objects (OpenType / Dynamic). I have instantiated my json as "MyDynamicObjects", a class which simply enumerates each json proper...

Id #2187 | Release: None | Updated: Nov 17 at 8:35 PM by yishaigalatzer | Created: Nov 14 at 7:49 PM by SimpleNick

Deserialization of untyped enums and serialization of collection of untyped enum collection fails

Hi Team, I am working with Odata v4.0 and ASP Web API 2.2. while I was working on EdmOperations I encountered issues with untyped enums. All the parameter types added to operations are untyp...

Id #2186 | Release: None | Updated: Thu at 4:01 AM by ksiomelo | Created: Nov 12 at 8:02 AM by KedarnathK

Add support for date(Edm.DateTimeOffset) function

OData v.4 date function in queries like http://localhost:8084/Alerts?$filter=date(DateAlert) gt 2014-06-19 throws { "error":{ "code":"","message":"The query specified in the URI is not valid. Un...

Id #2185 | Release: None | Updated: Nov 10 at 6:21 PM by yishaigalatzer | Created: Nov 10 at 1:57 PM by cdori

Odata v3 and V4 side by side

as of this question http://stackoverflow.com/questions/25666181/webapi2-odata-v3-and-v4-side-by-side and the sample provided https://aspnet.codeplex.com/SourceControl/latest#Samples/WebApi/OData...

Id #2184 | Release: None | Updated: Nov 10 at 6:20 PM by yishaigalatzer | Created: Nov 10 at 9:49 AM by dauciunas

$ref not working with System Query Option $expand

As per the Protocol Document 11.2.4.2 System Query Option $expand The $expand system query option indicates the related entities that MUST be represented inline. The service MUST return the spe...

Id #2182 | Release: None | Updated: Nov 10 at 6:22 PM by yishaigalatzer | Created: Nov 7 at 5:59 AM by SagarHotchandani

Incorrect OData-Version header will lead to no matching route

Send a request containing an OData-Version header value set to any other than 4.0. Then the service code would got false in ODataVersionConstraint's Match method, thus would not find a proper mat...

Id #2180 | Release: None | Updated: Nov 10 at 6:23 PM by yishaigalatzer | Created: Nov 6 at 1:46 AM by karata

$count segment & $count=true issue

$count can't work on untype (typeless) scenario a) ~/typelessCustomers/$count b) ~/typelessCustomers?$count $count can't work on query option a) ~/Customers?$filter=Orders/$count lt 10 b)...

Id #2179 | Release: v5.4 Beta | Updated: Nov 6 at 1:19 AM by xuzhg | Created: Nov 6 at 1:19 AM by xuzhg