Created Issue: Add OData Function Support [881]
Just like with actions, please add support for OData Functions. These are easy to implement with WebApi but it is very difficult to advertise the functions in the metadata since webapi odata currently...
View ArticleCommented Issue: Inconsistent Key Parameters with Actions [878]
I am using a guid for the key of my entity. When requesting the entity I must use a format like the following.```http://site/odata/MyEntities(062e803f-e61d-48c7-a65d-835ff232632f)```Using the OData...
View ArticleCommented Issue: ValidateQuery: Method not found: 'Int32...
Here's the query that is generating this error in QueryableAttribute.ValidateQuery:<br /><br...
View ArticleCreated Issue: FileExtensionsAttributeAdapter no longer works with jQuery...
The "Accept" rule in the latest version of jQuery Validate now expects a mime type to be specified, not a file extension.A new "Extensions" rule has subsequently been added for this purpose.Note that...
View ArticleCommented Issue: FileExtensionsAttributeAdapter no longer works with jQuery...
The "Accept" rule in the latest version of jQuery Validate now expects a mime type to be specified, not a file extension.A new "Extensions" rule has subsequently been added for this purpose.Note that...
View ArticleCommented Issue: ASP.NET Web API OData does not work with Excel [820]
Excel expects an XML service doc, but it doesn't send any Accept header. By default ASP.NET Web API OData sends back a JSON service doc when no Accept header is specified. As a result you cannot...
View ArticleReopened Issue: Return 415 if there is a body parameter and no formatter can...
This could happen if the content type is not specified in the request or if there is no formatter that can handle the specified content-type.we should return a 415 in these cases.
View ArticleEdited Issue: Return 415 if there is a body parameter and no formatter can...
This could happen if the content type is not specified in the request or if there is no formatter that can handle the specified content-type.we should return a 415 in these cases.
View ArticleCommented Issue: Return 415 if there is a body parameter and no formatter can...
This could happen if the content type is not specified in the request or if there is no formatter that can handle the specified content-type.we should return a 415 in these cases.Comments: No content...
View ArticleCreated Issue: Add a Request.CreateResponse overload that takes the content...
Request.CreateResponse<T> doesn't use the runtime type of the object for content-negotiation. This would be an issue when the formatter doesn't responds to CanWriteType(typeof(object)) with false...
View ArticleCommented Issue: Add a Request.CreateResponse overload that takes the content...
Request.CreateResponse<T> doesn't use the runtime type of the object for content-negotiation. This would be an issue when the formatter doesn't responds to CanWriteType(typeof(object)) with false...
View ArticleClosed Issue: Delay loading Json.NET type for JsonMediaTypeFormatter [149]
Currently Json.NET is always loaded even if the JSON formatter is removed from the formatter collection:// Setup server configuration var baseAddress = "http://localhost:8080/";// Json.NET gets loaded...
View ArticleClosed Issue: Web API / Enable Dependency Injection for HttpMessageHandler...
It would be good if I could pass a type of HttpMessageHandler instead of an instance. That way, the DependencyResolver could automatically resolve the type including any of it's dependencies.Right now,...
View ArticleClosed Issue: Make default XML and JSON formatters consistent so that conneg...
A key part of Content Negotiation is that our default XML and JSON serializers need compatible behavior. Not doing this means that user code (or serializers) may crash depending on the accept/response...
View ArticleClosed Issue: Consider enforcing data annotation attributes on action...
If an empty request is sent to the action below, the parameter "p" is null, and there are no model errors, since [Required] (and I assume other Data Annotation attributes) are not enforced for action...
View ArticleCommented Issue: Web Api ModelState validation is ignoring the...
Given a model with these data annotations:public class Example{[Required][Display(Name = "Activity response")] public string ActivityResponse { get; set; }}I would expect the model state error message...
View ArticleCommented Issue: Make it possible to replace the HttpControllerRouteHandler...
I have a requirement which requires me to provide a custom IHttpAsyncHandler but it's nearly impossible to safely replace the HttpControllerRouteHandler (as this is the one who provides the...
View ArticleCommented Issue: Flow the TimedOutToken and ClientDisconnectedToken [858]
With [this commit](http://aspnetwebstack.codeplex.com/SourceControl/changeset/c18dbd8306a2), it's now possible to flow the following two CancellationToken objects through the ASP.NET Web API pipeline...
View ArticleCommented Issue: Global Json serializer settings aren't used when posting to...
And the culprit is TryReadQueryAs method of UriExtensions that just instantiates a new JsonSerializer that doesn't use global serializer settings, defined in...
View ArticleCreated Issue: Web API Self Host incorrectly decodes URLs [887]
Consider a request with path '/%23a' (an escaped version of '/#a') and a route with template '/{x}' and x=RouteParameter.Optional. Suppose we the route maps to a controller with methods:public...
View Article