value-provider Questions
3
I want to send a HTTP POST request with the body containing information that makes up a simple blog post, nothing fancy.
I've read here that when you want to bind a complex type (i.e. a type that ...
Vindication asked 5/4, 2014 at 17:56
4
We have some PHP and Javascript apps that call into some ASP.NET MVC endpoints. Let's say we have this endpoint:
public ActionResult DoSomething(bool flag)
{
}
I want it to match the value for ...
Pedicle asked 22/2, 2013 at 15:37
4
Solved
Model binding in ASP.NET MVC is great, but it follows locale settings. In my locale decimal separator is comma (','), but users use dot ('.') too, because they are lazy to switch layouts. I w...
Chargeable asked 18/1, 2013 at 14:9
2
Solved
I like to know the order of the execution of the different ValueProviders in ASP.NET MVC.
ValueProviders:
QueryStringValueProvider
RouteDataValueProvider
FormValueProvider
...
I did not find a...
Courtund asked 18/12, 2012 at 16:10
1
Solved
I would like my model binding to be case insensitive.
I tried manipulating a custom model binder inheriting from System.web.Mvc.DefaultModelBinder, but I can't figure out where to add case insensi...
Elainaelaine asked 24/10, 2013 at 10:7
3
Solved
I want to be able to grab keys/values from a cookie and use that to bind a model.
Rather than building a custom ModelBinder, I believe that the DefaultModelBinder works well out of the box, and th...
Alisiaalison asked 29/9, 2011 at 16:8
1
Solved
In my project I want to allow users input double values in 2 formats: with using ',' or '.' as delimiter (I'm not interested in exponential form). By default value with delimiter '.' don't work.
I ...
Fifine asked 29/6, 2011 at 11:36
1
© 2022 - 2024 — McMap. All rights reserved.