405 Response Code is not returned for unsupported request method

According to the OData 4.0 Protocol doc. 9.2.2 Response Code 405 Method Not Allowed 405 Method Not Allowed indicates that the resource specified by the request URL does not support the request ...

Id #2215 | Release: None | Updated: Today at 6:35 AM by arshadshaik | Created: Today at 6:35 AM by arshadshaik

ApiExplorer remove APIs with duplicate HttpMethod and RelativePath?

Hello team, We have several APIs have the same HttpMethod and RelativePath, but distinguished by a custom attribute (ActionVersion) as below. In runtime, our own ActionSelector will redirect the ...

Id #2214 | Release: None | Updated: Wed at 3:08 PM by Ulriksen | Created: Wed at 6:12 AM by wenyuan_wang

MVC Remote attribute does not work with complex objects and collections

Scenario For a model that has a property which is a complex object or collection where the object contains a property with a RemoteAttribute, the html generated will include the fully qualified na...

Id #2213 | Release: None | Updated: Wed at 1:48 AM by smuecke | Created: Wed at 1:44 AM by smuecke

DefaultControllerFactory creation of controller instance

I don't know weather this is a problem or it is designed that way but I get confused over this thing. As per definition of friend assembly , FriendAssembly can see internal class. Now I create...

Id #2212 | Release: None | Updated: Sat at 11:26 AM by jinal | Created: Sat at 11:26 AM by jinal

OData layer is unable to deserialize EdmEntityCollection as Feed.

The current implementation of WebAPI OData 6.8.1, is unable to desterilize feeds directly from stream. The read call defaults to: public virtual object ODataDeserializer::Read(ODataMessageRea...

Id #2211 | Release: None | Updated: Tue at 8:35 PM by nowakra | Created: Dec 12 at 7:11 AM by abkmr

WebAPI V3 EntityReferences Link does not support JSON

When requesting EntityReferences with JSON, the response contains following message: { "odata.error":{ "code":"","message":{ "lang":"en-US","value":"An error has occurred." },"innererror":{ ...

Id #2209 | Release: None | Updated: Dec 9 at 10:05 PM by danroth27 | Created: Dec 8 at 6:41 AM by karata

WebAPI OData V3 EntityReference links do not support $inlinecount query option

When requesting entity reference links with $inlinecount option, the result does not contains the actual count. In ODataEntityReferenceLinksSerializer class, Count value of ODataEntityReferenceLink...

Id #2208 | Release: None | Updated: Dec 9 at 10:05 PM by danroth27 | Created: Dec 8 at 2:55 AM by karata

WebAPI OData V3 EntityReference links do not have default GET convention rule

According to OData V3 spec 10.2.4. Requesting $links between Entities, client could send GET request to a reference link Uri. But this does not appear to be in default convention list. This coul...

Id #2207 | Release: None | Updated: Dec 9 at 10:05 PM by danroth27 | Created: Dec 8 at 2:52 AM by karata

WebAPI ODataController would use entitySet routing for entity with key

In an ODataController, if implement Get() only. Then Any request to entity with key, would also lead to that function. For example, /Products() /Products(1) would both return the request resu...

Id #2206 | Release: None | Updated: Dec 9 at 10:05 PM by danroth27 | Created: Dec 8 at 2:48 AM by karata

Query option doesn't work on untype scenario

Suppose we have an untype Edm model as: <?xml version="1.0" encoding="utf-8"?> <edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"> <edmx:DataServices> <Schema Namespac...

Id #2204 | Release: v5.4 Beta | Updated: Dec 11 at 9:49 AM by cysu | Created: Dec 5 at 11:15 AM by xuzhg