One of the default services for Web API is an implementation of IModelValidatorCache. That interface and the corresponding implementation are internal, meaning that it's not possible to set up an ...
Id #967 | Release:
vNext
| Updated: Apr 15 at 3:00 AM by eilonlipton | Created: Apr 3 at 5:10 PM by stevep001
If the provider is pointed at a file that doesn't exist, we get an unhandled exception that bubbles up as a YSOD (for a local request).
Could we catch this unhandled exception and generate a simp...
Id #761 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Jan 10 at 10:09 PM by MarkBerryman
Today, if I have a public class like the following, the GetEntityByKey will show up in the mappings.
[Theory]
[InlineData("GetKey", "GET")]
[InlineData("GetEntityByKey", "GET")]
[InlineData("Creat...
Id #760 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Jan 10 at 9:18 PM by HongmeiG
Given a model with these data annotations:
public class Example
{
[Required]
[Display(Name = "Activity response")]
public string ActivityResponse { get; set; }
}
I would expect the model stat...
Id #744 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Jan 3 at 9:38 PM by remycook
Scenario: User is deriving from ODataActionParameters to create strongly typed properties whose data is backed by the deserialized dictionary of key-values.
Currently ODataActionParameters derive...
Id #634 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Nov 15, 2012 at 8:34 PM by kichalla
It would be convenient for users if we provide overload for "ReturnsCollectionFromEntitySet" and "ReturnsFromEntitySet" methods where they can specify an entitysetconfiguration, if they have alread...
Id #617 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Nov 9, 2012 at 7:42 PM by kichalla
Hello there,
I installed the latest Microsoft.AspNet.WebApi.OData contribution and set up my project like proposed in this blog from Alex:
http://blogs.msdn.com/b/alexj/archive/2012/08/15/odata-...
Id #557 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Oct 17, 2012 at 4:11 PM by psewar
Often when I'm receiving data from another service (in my case, Facebook), the parameters coming in might not be named the way I want them to be so when I model bind, I'd like to be able to rename ...
Id #378 | Release:
v5.0 RTM
| Updated: May 9 at 6:12 PM by eilonlipton | Created: Aug 30, 2012 at 10:00 PM by ErikPorter
In case if routeData contains null value of any key then RouteDataValueProvider thrown an exception NullReferenceException.
Fix:
yield return new KeyValuePair<string, string>(pair.Key, pair....
Id #311 | Release:
vNext
| Updated: Apr 15 at 3:01 AM by eilonlipton | Created: Aug 8, 2012 at 8:43 AM by DmitriySosunov
I've seen on various MS forums and Stack Overflow, the way to retrieve the user's IP address in Web API, requires falling back to the untestable (without mocking) static context object model by doi...
Id #301 | Release:
vNext
| Updated: Apr 15 at 3:02 AM by eilonlipton | Created: Aug 1, 2012 at 8:16 AM by jamessimm