SelectExtensions Empty SelectListItem not Html5 Compliant

A frequent use case for a DropDownList (and related variants) is that the SelectListItems will have an empty item as the first in the list. The Html Helper renders this as follows: <option></optio...

Id #2291 | Release: None | Updated: Dec 19, 2015 at 10:26 AM by RogerMKE | Created: Dec 19, 2015 at 10:26 AM by RogerMKE

ArgumentNullException when model is not parsed and validation attribute at model level

If you have a WebApi 2 model as the parameter to an action method of an ApiController, and the model has a validation attribute at the class level, and the incoming request (JSON or XML) fails to p...

Id #2290 | Release: None | Updated: Dec 15, 2015 at 4:09 PM by ajj3085 | Created: Dec 15, 2015 at 4:08 PM by ajj3085

DefaultBodyModelValidator: Extract ModelValidationResult to ModelError mapping logic into a separate method

Hello everyone, as you know DefaultBodyModelValidator validates incoming put/post requests. The problem is that if you write your own validator then you don't have any control over ModelValidatio...

Id #2289 | Release: None | Updated: Dec 10, 2015 at 11:27 AM by usarskyy | Created: Dec 10, 2015 at 11:27 AM by usarskyy

BUILD FAILED

I tried to build the project on win10 with VS2013 and got errors: git clone https://git01.codeplex.com/aspnetwebstack.git build EnableSkipStrongNames build clean build Restoring NuGet pack...

Id #2288 | Release: None | Updated: Dec 10, 2015 at 3:16 PM by idy | Created: Dec 5, 2015 at 4:18 PM by idy

[FromUri] binding behaviour when querystring is empty

I have posted the following SO question but after further thinking I believe this is a bug and FromUri should not work this way. http://stackoverflow.com/questions/33753702/fromuri-binding-when-q...

Id #2287 | Release: None | Updated: Nov 17, 2015 at 10:16 AM by markoh | Created: Nov 17, 2015 at 10:16 AM by markoh

asp.net mvc4 binder issue

codes HomeController.cs, public class HomeController : Controller { // // GET: /Home/ public ActionResult Index(User User) { string strUserAction = User.Action; ...

Id #2286 | Release: None | Updated: Nov 17, 2015 at 7:04 AM by FrancisLee | Created: Nov 17, 2015 at 7:04 AM by FrancisLee

Make the BuildAttributeMappings protected or add some way to add/remove attributeMappings

We use AttributeRouting in Odata and have a hard time not being able to gate new features that require a new OData Model property ON/OFF unless we write the routes for them in a separate controlle...

Id #2285 | Release: None | Updated: Nov 12, 2015 at 10:59 PM by haocen | Created: Nov 12, 2015 at 6:36 PM by arunsudhir

Inconsistent async behaviour when returning IHttpActionResult

I'm experiencing inconsistent async behaviour when returning IHttpActionResults from a web api 2 controller. I have the following controller: [RoutePrefix("api")] public class TestController :...

Id #2284 | Release: None | Updated: Nov 6, 2015 at 8:33 AM by olif | Created: Nov 6, 2015 at 8:33 AM by olif

Unhandled exception is being logged when client cancels requests still happens

It appears this issue was clsoed for some reason. http://aspnetwebstack.codeplex.com/workitem/1797 It still happens on 5.2.3 and I posted details back in April of the error it gives. I get these...

Id #2283 | Release: None | Updated: Tue at 3:49 PM by domonkosgabor | Created: Oct 14, 2015 at 2:38 PM by WayneBrantley

Metadata.ContainerType doesn't correspond to Metadata.Container.GetType()

I'm using viewmodel consisting of other models in my view. That means the model isn't flat. This is OK everywhere but in the validation. The model looks like this: // ViewModel public class Period...

Id #2282 | Release: None | Updated: Oct 6, 2015 at 3:42 PM by Andree643 | Created: Oct 6, 2015 at 3:42 PM by Andree643