Commented Issue: WebAPI invokes the action with default-valued parameters...
public void Post([FromBody]string item) { }Incoming request with a body but no content-type hits the action with a null string parameter and a valid model state. I would expect one of two behaviors:1)...
View ArticleEdited Issue: AntiForgeryToken helper and Claims based security [202]
In latest version of MVC4 avaliable from WebPi found an issue with AntiForgeryToken helper. It requires both NameIdentifier and IdentityProvider claims and in exceptions it states that IdentityProvider...
View ArticleEdited Issue: Support for ETags and byte ranges in FilePathResult [272]
It would be nice if FilePathResult supported ETags and byte ranges. iOS requires byte range support for videos and caching is an important performance feature.I've created a FilePathExResult class that...
View ArticleCommented Issue: Support for ETags and byte ranges in FilePathResult [272]
It would be nice if FilePathResult supported ETags and byte ranges. iOS requires byte range support for videos and caching is an important performance feature.I've created a FilePathExResult class that...
View ArticleEdited Issue: Currently if a HTTP method is not supported Web API returns a...
In the current version of Web API, when the action selector does not find a matching action for a HTTP method it returns a 404 status code even when the resource URI supports other methods (e.g. it...
View ArticleEdited Feature: add ActionButton helper [275]
Sometimes I want an ActionLink to show up as a button. An edit button that goes to /Item/Edit/1 comes to mind. My solution is to create a helper that takes exactly the same parameters as ActionLink,...
View ArticleClosed Issue: Encoded expressions for Regex validation [231]
The expression defined using DataAnnotation in the server-side code is HTML encoded when rendered as an attribute, i.e....
View ArticleEdited Issue: Please readd FormatterContext [221]
Hello there,today I updated to the RC version of the WebAPI and found that there was no real workable replacement for the FormatterContext.Beside I have no idea why it had to be removed there are...
View ArticleEdited Issue: MimeMultipartBodyPartParser fails if stream does not end with a...
Not sure if the spec requires a CR/LF combination at the end of a multipart stream, but there are many file uploaders out there that do not append a CRLF at the end. The MimeMultipartBodyPartParser...
View ArticleEdited Feature: When tracing is turned on, the formatters information...
Instead of the expected "System.Net.Http.Formatter.JsonMediaTypeFormatter", it returns a "System.Web.Http.Tracing.Tracers.JsonMediaTypeFormatterTracer".The wrapper is expected to be ignored.
View ArticleCommented Feature: When tracing is turned on, the formatters information...
Instead of the expected "System.Net.Http.Formatter.JsonMediaTypeFormatter", it returns a "System.Web.Http.Tracing.Tracers.JsonMediaTypeFormatterTracer".The wrapper is expected to be ignored.Comments:...
View ArticleCommented Feature: When tracing is turned on, the formatters information...
Instead of the expected "System.Net.Http.Formatter.JsonMediaTypeFormatter", it returns a "System.Web.Http.Tracing.Tracers.JsonMediaTypeFormatterTracer".The wrapper is expected to be ignored.Comments:...
View ArticleEdited Feature: When tracing is turned on, the formatters information...
Instead of the expected "System.Net.Http.Formatter.JsonMediaTypeFormatter", it returns a "System.Web.Http.Tracing.Tracers.JsonMediaTypeFormatterTracer".The wrapper is expected to be ignored.
View ArticleEdited Issue: EntityFramework CRUD scaffolding template incorrectly uses...
The templated Delete action for an "API controller with read/write actions, using Entity Framework" produces the following code: Platform platform = db.Platforms.Single(p => p.Id == id); if...
View ArticleCommented Issue: EntityFramework CRUD scaffolding template incorrectly uses...
The templated Delete action for an "API controller with read/write actions, using Entity Framework" produces the following code: Platform platform = db.Platforms.Single(p => p.Id == id); if...
View ArticleCommented Feature: AntiForgery with AJAX support [299]
AntiForgery should support tokens coming in by AJAX from the headers. I'd like to modify the classes and contribute. How do I go about this or will Microsoft do it?Comments: I see the status is changed...
View ArticleCreated Issue: Typing an "=" in an attribute name causes TreeStructureChanged...
When typing an attribute in HTML, for example: id="foo", the editor parser sets the "TreeStructureChanged" flag for the "=" and for the insertion of the quotation marks ("). Ideally, none of these...
View ArticleCreated Issue: Colorization of single-line comments is strange [315]
When typing a single-line comment inside a Razor block immediately before embedded markup, typing the first slash causes the HTML to be classified as code and colorization breaks. The parser should...
View ArticleCreated Issue: Full reparse when typing C# code before markup [316]
When typing a new C# statement inside a Razor block immediately before embedded markup, the parser immediately considers all text from the start of the new statement to the nearest ";" as code. This...
View ArticleCreated Issue: Create HttpContent extension helpers for detecting XML and...
Add HttpContent extension methods for helping determining whether a given content is XML or JSON. The reason why this isn't easy is that the media type can be any of a number of values. For example,...
View Article