When there is an entity in a model that has an entity that explicitly exposes the foreign key of an association to another entity, make that information visible and available in the $metadata docum...
Id #1094 | Release:
None
| Updated: Today at 11:05 PM by jacalvar | Created: Today at 10:54 PM by jacalvar
The constructors in EntitySetConfiguration are public, while the constructors in EntitySetConfiguration<T> are internal. The constructors in EntitySetConfiguration were made public to ease unit tes...
Id #1093 | Release:
None
| Updated: Mon at 8:42 PM by jacalvar | Created: Mon at 8:42 PM by jacalvar
Would be nice if CreateErrorResponse(HttpStatusCode.BadRequest, ModelState) didn't throw an exception in case ModelState is empty.
Id #1091 | Release:
None
| Updated: Mon at 6:59 AM by koistya | Created: Mon at 6:57 AM by koistya
Hi,
I'm using PushStreamContent in asp.net web api to stream data to the client, I have derived from ExceptionFilterAttribute to capture all the exceptions and return standard HttpError to client...
Id #1089 | Release:
None
| Updated: Today at 3:03 AM by iamapi | Created: Fri at 8:11 AM by iamapi
Microsoft-web-helpers has a Twitter helper in it. We were using the v1 Twitter API which was deprecated by Twitter recently - https://dev.twitter.com/blog/api-v1-is-retired
We’ll need to change...
Id #1088 | Release:
v5.0 RTM
| Updated: Mon at 12:52 AM by eilonlipton | Created: Thu at 4:25 PM by pranavkm
When I submit the webpage data to the ApiController the binding will not bind the MyDictionary<string, string> ExtraData property. If I change the property to Dictionary<string, string> ExtraData p...
Id #1087 | Release:
v5.0 RTM
| Updated: Mon at 12:53 AM by eilonlipton | Created: Jun 12 at 6:53 PM by randyhoff
With this code:
var personJson = "{name:\"George\",aliases:[\"Peter\",\"David\"]}";
var person = Json.Decode(personJson);
person.name = "Michael";
personJson = Json.Encode(person);
Json.Encode is ...
Id #1085 | Release:
None
| Updated: Jun 8 at 6:00 AM by mcm_ham | Created: Jun 8 at 5:52 AM by mcm_ham
ICorsPolicyProvider.GetCorsPolicyAsync
DefaultODataBatchHandler.ParseBatchRequestsAsync
DefaultODataBatchHandler.CreateResponseMessageAsync
UnbufferedODataBatchHandler.CreateResponseMessageAsync...
Id #1084 | Release:
v5.0 RTM
| Updated: Jun 10 at 11:11 PM by youssefm | Created: Jun 5 at 6:38 PM by youssefm
Moq has a nice way to specify a method you want to call, using syntax like this:
mock.Setup(o => o.Do("foo", "bar).Returns(true));
The Setup portion here might work well for generating Web API ro...
Id #1083 | Release:
vNext
| Updated: Jun 10 at 5:47 PM by yishaigalatzer | Created: Jun 5 at 5:32 PM by davidmatson
In Web API, there's currently no way to create a link to a path under the app's virtual root. The solution is probably something like:
UrlHelper.Content("~/<path>");
Id #1082 | Release:
v5.0 RTM
| Updated: Jun 10 at 5:49 PM by yishaigalatzer | Created: Jun 5 at 5:27 PM by davidmatson