Commented Issue: XElement is not working with DefaultBodyModelValidator [800]
The scenario broken is that if defining XElement property in odata entity type, POST or PUT the entity will result in failure. The error message is:PUT...
View ArticleEdited Issue: Handle byte[]s better in the DefaultBodyModelValidator [891]
A customer has reported performance problems with the DefaultBodyModelValidator over large byte arrays (2 MB). We should handle this better.
View ArticleCommented Issue: Handle byte[]s better in the DefaultBodyModelValidator [891]
A customer has reported performance problems with the DefaultBodyModelValidator over large byte arrays (2 MB). We should handle this better.Comments: Fixed:...
View ArticleSource code checked in, #1c48f1477f6a7d35de26fd487538a8c80f136f86
Fix portable formatting test break
View ArticleEdited Feature: Have RouteAttribute for attribute routing [988]
Reading/writing the following code is a bit non-intuitive: public class HomeController : ApiController{[HttpGet("")] public string Get(){ return "Hello, World!";}}1. Why do I need to say Get again in...
View ArticleEdited Issue: Can't unit test code that generates OData links [769]
There's no unit that encapsulates the logic around generating a full OData link, so tests end up integration style. Having an odata link factory abstraction allows unit testing such code.We are putting...
View ArticleEdited Issue: MediaTypeFormatter.SetDefaultContentHeaders doesn't receive the...
ODataFormatter sends different response content type header depending on the type of the object being serialized. For example, serializing a Product might send "application/atom-xml;odata=entry" and...
View ArticleCommented Issue: MediaTypeFormatter.SetDefaultContentHeaders doesn't receive...
ODataFormatter sends different response content type header depending on the type of the object being serialized. For example, serializing a Product might send "application/atom-xml;odata=entry" and...
View ArticleEdited Issue: Add Set* extension methods for all HttpRequestMessage...
For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of...
View ArticleNew Post: CORS EnableCorsAttribute parameters to accept all like previous...
Hi Bruno, Yeah, normally I wouldn't expect something like "Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true" because there's a logic that checks when the...
View ArticleEdited Issue: Expose async on filters in 4.5 [922]
As we are moving to 4.5 we should also move the attribute filter implementations (see for example AuthorizationFilterAttribute) to expose async in addition to just sync. In v1 we hid async part so well...
View ArticleClosed Unassigned: Microsoft.jQuery.Unobtrusive packages license URL gives...
Version 2.0.30116.0 of the 2 packages Microsoft.jQuery,Unobtrusive.Ajax and Microsoft.jQuery.Unobtrusive.Validation have a license Url that gives NotFound.The Url they contain...
View ArticleEdited Issue: Bundler / minifier not handling end of file comments correctly...
I have noticed that the bundler doesn't handle single line comments at the end of a javascript file correctly (or as would be expected), when the script is bundled and minified. A single line comment...
View ArticleEdited Issue: Null Ref Exception from ODataEntityDeserializer.ReadEntryOrFeed...
To repro the issue, define entity model as:[EntitySet("Security_ArrayModel")][DataServiceKey("ID")] public class Security_ArrayModel{ public int ID { get; set; } public List<string> StringArray {...
View ArticleEdited Issue: Tracing should trace warning not error for...
The default trace writers do not currently special-case HttpResponseException, and therefore trace at TraceLevel.Error. This is confusing, because it means simple user error in the URI will generate an...
View ArticleEdited Issue: WebMatrix error list seems to have timing issues that lead to...
This is WebMatrix bug - PS (IIS OOB DB) - 37248Description:8/22/2012 4:43 PM Edited by mikhailaa). There is a Razor parser bug. - Open attached file. Parser reports no errors. - Type a space after }...
View ArticleCommented Issue: WebMatrix error list seems to have timing issues that lead...
This is WebMatrix bug - PS (IIS OOB DB) - 37248Description:8/22/2012 4:43 PM Edited by mikhailaa). There is a Razor parser bug. - Open attached file. Parser reports no errors. - Type a space after }...
View ArticleEdited Issue: Html.EditorFor helper generates wrong date/time format [630]
In MVC applications, if someone uses the Html.EditorFor helper to generate UI for a model that includes a DateTime field, the resulting HTML markup will render a date in a culture format that doesn't...
View ArticleEdited Issue: Tracing should trace warning not error for...
The default trace writers do not currently special-case HttpResponseException, and therefore trace at TraceLevel.Error. This is confusing, because it means simple user error in the URI will generate an...
View ArticleEdited Issue: Make User property of ApiController testable [971]
Make the User property of ApiController virtual so that it can be mocked or add a setter so that it can be setup for test.
View Article