Edited Issue: Poor error message from Html.Partial(...) overrides [423]
Scenario:You have a view model that contains a nested view model:public class ParentVm{ public ChildVm ChildVm { get; set; }}In your view, you render a partial view and you pass it the child vm as it's...
View ArticleEdited Issue: Web API Not fully handling Accept-Charset [415]
Currently the Web API does not understand Accept-Charset headers where a preference is stated. A value of: Accept-Charset: utf-16works, but a value of: Accept-Charset: utf-8; q=0.2, utf-16;q=1.8does...
View ArticleEdited Issue: HttpControllerHandler.EndProcessRequest fails when a message...
If I were to have two message handlers registered and one of them sets a new response message + terminates the pipeline and the other tries to reach out to response.RequestMessage object,...
View ArticleEdited Issue: A binary operator with incompatible types was detected... [420]
Hi,I have a MVC 4 with WebApi Project and the nighlies of the WebApi.oData package.And I have a Queryable WebApi action where I want to query a GUID "column" (property) with something like...
View ArticleEdited Issue: Remove default namespaces from XML in Web API [413]
The XML serialisation process injects default namespaces into the generated XML: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" These can be...
View ArticleEdited Issue: HttpControllerHandler.ConvertResponse prevents manual writing...
This was originally a discussion here: http://aspnetwebstack.codeplex.com/discussions/389092 but I think it's better suited as an issue.With the logic currently in this method it's impossible to write...
View ArticleEdited Issue: ApiExplorer ignores valid actions when there are placeholders...
It seems the ApiExplorer ignores valid actions when there are placeholders in the route template which cannot be mapped to an action parameter, e.g.The ApiExplorer will not consider the route template...
View ArticleEdited Issue: Error in web.config for areas added to Empty ASP.NET MVC 4...
Starting out with an empty MVC 4 application, System.Web.Optimizations.dll is not referenced.In the web.config in an area's views folder, line 18 adds the <add...
View ArticleEdited Issue: VB.NET IntelliSense don't show HttpClientExtensions and...
I use Visual Studio 2012 RTM + Web API + Visual Basic find a problem.In Visual Studio 2010 RTM, use http://msdn.microsoft.com/en-us/library/system.net.http.httpcontentextensions_methods(VS.108).aspx...
View ArticleEdited Issue: Allow membership and roles table names to be specified [404]
The Internet Application template in VS 2012 now includes DotNetOpenAuth by default, and adds an InitializeSimpleMembership attribute that decorates the AccountController class. While you need to pass...
View ArticleEdited Issue: HttpRouteConstraint is called multiple times if the Match...
If the Match method of an IHttpRouteConstraint implementation returns false, the route constraint is called twice.Repro can be found on http://aspnetwebstack.codeplex.com/discussions/394164Is this a...
View ArticleEdited Issue: MinLength validator fails on empty string [375]
[MinLength(6)]public string Foo { get; set; }If the value for this field is an empty string the web api model validator adds an error: "Foo must be a string or array type with a minimum length of...
View ArticleEdited Issue: Validation should honor member field in ValidationResult [362]
Reported by a user:The problem I am having is with models like:// the view modelpublic class RegisterModel : IValidatableObject{ public IEnumerable<ValidationResult> Validate(ValidationContext...
View ArticleCreated Issue: CreateResponse uses compile time type when negotiating instead...
When CreateResponse<T> runs content negotiation, it uses typeof(T) for the type parameter. This effectively means that it is passing in the return type of the action method on the...
View ArticleCommented Issue: Overly aggressive validation for applying...
With the default route and this controller:using System.ComponentModel.DataAnnotations;using System.Web.Http;namespace ActionSelectionTest.Controllers{ [FromUri] public class Test { [Required] public...
View ArticleCommented Issue: Overly aggressive validation for applying...
With the default route and this controller:using System.ComponentModel.DataAnnotations;using System.Web.Http;namespace ActionSelectionTest.Controllers{ [FromUri] public class Test { [Required] public...
View ArticleCreated Issue: OutputCache CacheProfile varyByParam does not work [425]
I've faced a problem when varyByParam set in web.config was not respected.<add name="MyName" duration="5" varyByParam="none" />//this works[OutputCache(CacheProfile = "MyName", VaryByParam =...
View ArticleCommented Issue: CreateResponse uses compile time type when negotiating...
When CreateResponse<T> runs content negotiation, it uses typeof(T) for the type parameter. This effectively means that it is passing in the return type of the action method on the...
View ArticleCommented Issue: CreateResponse uses compile time type when negotiating...
When CreateResponse<T> runs content negotiation, it uses typeof(T) for the type parameter. This effectively means that it is passing in the return type of the action method on the...
View ArticleCreated Issue: Breaking change between Mvc3 and Mvc4 [426]
The type MvcCSharpRazorCodeGenerator and corresponding VB types which were public in Mvc 3 were made internal in Mvc 4.
View Article