Closed Issue: XmlMediaTypeFormatter reports that it can't serialize DataQuery...
If you set the default xmlmediatypeformatter to UseXmlSerializer, calls to CanWriteType with an instance of DataQuery<T> return false. This is usually triggered in a call to CreateResponse which...
View ArticleEdited Issue: PushstreamContent in Win8 App is not working [324]
I am hitting an issue with using PushStreamContent in the Windows store app. I don’t see the same issue in the traditional console app though. It’s a simple scenario where I am ‘POST’ing some small...
View ArticleClosed Issue: Web API: Improve resolution of ApiController types [1075]
If an assembly A contains ApiControllers and it references another assembly B that does not contain ApiControllers and this assembly B is not found (because it is not installed for example) controller...
View ArticleClosed Feature: Web API Project Type Without Website files [1031]
Whenever I create an API, sometimes, I do not want a website associated with it. Please add a web API project type without Scripts, Views, Models and so on. Just add the ValuesController along with a...
View ArticleClosed Task: Update System.Net.Http.Formatting Portable library to use...
We need to update these before we ship.Comments: Verified with the latest Portable Library, Microsoft.AspNet.WebApi.Client.5.0.0-rc1-130805.
View ArticleCommented Unassigned: Remove the JsonResult from ASP.NET Web API [1193]
Hi,Today, I saw that ASP.NET Web API now has [JsonResult](https://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Http/Results/JsonResult.cs) and even a Json method on ApiController....
View ArticleEdited Issue: Invalid names and ids are generated when the model type is...
If the view model type is a collection, then the names generated for it (using NameFor, IdFor etc.) are incorrect (for example, it might be generated as "Project.Employees.[0].Name" - note the extra...
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 ArticleCommented 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: 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: 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 ArticleClosed Issue: Allow to pass an empty ModelState into CreateErrorResponse [1091]
Would be nice if ```CreateErrorResponse(HttpStatusCode.BadRequest, ModelState)``` didn't throw an exception in case ModelState is empty.Comments: Thanks for reporting this. As you mentioned we do think...
View ArticleEdited Issue: xml-doc sync for attributes [1115]
The xml-docs on MVC attributes, WebAPI attributes, and what is on MSDN, should be the same.Right now there are mismatches between the three here and there. an MQ pass needs to be done across all public...
View ArticleEdited Issue: Option to not encode TagBuilder attributes [895]
By default `TagBuilder` calls `HtmlAttributeEncode` on all attributes. Sometimes we do not want to encode our attribute values and `TagBuilder` does not provide a facility to do this. Either everything...
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: Twitter helper is broken [1088]
Microsoft-web-helpers has a Twitter helper in it. We were using the v1 Twitter API which was deprecated by Twitter recently - https://dev.twitter.com/blog/api-v1-is-retiredWe’ll need to change the...
View ArticleEdited Issue: All MVC pages fail with the message "An item with the same key...
Under some unknown conditions, all MVC pages fail with the message "An item with the same key as already been added". This issue has been reported on stackoverflow and forums.asp.net, see [All MVC...
View ArticleCommented Issue: All MVC pages fail with the message "An item with the same...
Under some unknown conditions, all MVC pages fail with the message "An item with the same key as already been added". This issue has been reported on stackoverflow and forums.asp.net, see [All MVC...
View ArticleEdited Issue: Improve routing testability in Web API. [201]
Scenario: A user has created a skeletal structure of ApiControllers and actions. Currently the user does not have any implementation yet in them. User creates some routes and likes to test if the...
View ArticleEdited Issue: Model binding of route wildcard broken in Web API [718]
A route like this: routes.MapHttpRoute("KuduVirtualFileSystem","api/{segment}/{*path}", defaults: new { controller = "demo" });and a Web Api controller action like this:public async...
View Article