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:
Id #2291 | Release:
| Updated: Dec 19, 2015 at 10:26 AM by RogerMKE | Created: Dec 19, 2015 at 10:26 AM by RogerMKE
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:
| Updated: Dec 15, 2015 at 4:09 PM by ajj3085 | Created: Dec 15, 2015 at 4:08 PM by ajj3085
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:
| Updated: Dec 10, 2015 at 11:27 AM by usarskyy | Created: Dec 10, 2015 at 11:27 AM by usarskyy
I tried to build the project on win10 with VS2013 and got errors:
git clone https://git01.codeplex.com/aspnetwebstack.git
Restoring NuGet pack...
Id #2288 | Release:
| Updated: Dec 10, 2015 at 3:16 PM by idy | Created: Dec 5, 2015 at 4:18 PM by idy
I have posted the following SO question but after further thinking I believe this is a bug and FromUri should not work this way.
Id #2287 | Release:
| Updated: Nov 17, 2015 at 10:16 AM by markoh | Created: Nov 17, 2015 at 10:16 AM by markoh
public class HomeController : Controller
// GET: /Home/
public ActionResult Index(User User)
string strUserAction = User.Action;
Id #2286 | Release:
| Updated: Nov 17, 2015 at 7:04 AM by FrancisLee | Created: Nov 17, 2015 at 7:04 AM by FrancisLee
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:
| Updated: Nov 12, 2015 at 10:59 PM by haocen | Created: Nov 12, 2015 at 6:36 PM by arunsudhir
I'm experiencing inconsistent async behaviour when returning IHttpActionResults from a web api 2 controller.
I have the following controller:
public class TestController :...
Id #2284 | Release:
| Updated: Nov 6, 2015 at 8:33 AM by olif | Created: Nov 6, 2015 at 8:33 AM by olif
It appears this issue was clsoed for some reason.
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:
| Updated: Tue at 3:49 PM by domonkosgabor | Created: Oct 14, 2015 at 2:38 PM by WayneBrantley
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:
public class Period...
Id #2282 | Release:
| Updated: Oct 6, 2015 at 3:42 PM by Andree643 | Created: Oct 6, 2015 at 3:42 PM by Andree643