Commented Issue: HttpConfiguration.ShouldIncludeErrorDetail should be public...
This would allow users to easily decide in their action whether or not they should send error detail for custom HttpErrors.Comments: We should remove the duplicated logic in places where we clone this....
View ArticleEdited Issue: Provide API to retrieve wrapped services [382]
The tracing layer wraps a trace-aware object around major services and formatters. Apps that need to downcast a service or formatter need a way to ask for the inner object instance.I recommend we...
View ArticleEdited Feature: When tracing is turned on, the formatters information...
Instead of the expected "System.Net.Http.Formatter.JsonMediaTypeFormatter", it returns a "System.Web.Http.Tracing.Tracers.JsonMediaTypeFormatterTracer".The wrapper is expected to be ignored.
View ArticleEdited Issue: Add Set* extension methods for all HttpRequestMessage...
For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of...
View ArticleCommented Issue: Add Set* extension methods for all HttpRequestMessage...
For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of...
View ArticleCommented Issue: Add Set* extension methods for all HttpRequestMessage...
For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of...
View ArticleEdited Issue: Key to the HttpError dictionary shall be public [187]
Following keys are private: private const string MessageKey = "Message"; private const string MessageDetailKey = "MessageDetail"; private const string ModelStateKey = "ModelState"; private const string...
View ArticleCommented Issue: Key to the HttpError dictionary shall be public [187]
Following keys are private: private const string MessageKey = "Message"; private const string MessageDetailKey = "MessageDetail"; private const string ModelStateKey = "ModelState"; private const string...
View ArticleEdited Issue: CookieHeaderValue.TryParse() invalid date time format [298]
When I try to parse next...
View ArticleCreated Issue: Add support for generating odata urls from razor views. [914]
Context from this SO question,http://stackoverflow.com/questions/15488574/how-to-link-to-odata-collection-in-razor-using-asp-net-mvc-web-api-odata
View ArticleReviewed: v5.0 RTM (三月 19, 2013)
Rated 5 Stars (out of 5) - goodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgood
View ArticleSource code checked in, #4c6128823bb4
stop the fight with VS. update cors test proj. don't fight the tools.
View ArticleEdited Issue: HttpResponseException should not trace as Error [285]
The tracing layer currently uses TraceLevel.Error for all exceptions thrown or associated with faulted tasks. This means simple client errors such as misspelled controller names will generate Error...
View ArticleEdited Issue: HttpResponseException should not trace as Error [285]
The tracing layer currently uses TraceLevel.Error for all exceptions thrown or associated with faulted tasks. This means simple client errors such as misspelled controller names will generate Error...
View ArticleEdited Issue: RouteDataValueProvider thrown NullReferenceException [311]
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.Value...
View ArticleClosed Issue: Add ability to ignore a action method when doing verb based...
I think that adding a bool to HttpGetAttribute that said to ignore an method when trying to determine the correct route would be helpful. Then you could have multiple GetSomething calls within the same...
View ArticleEdited Issue: WebAPI should return a 415 instead of a 500 when it can't find...
We currently get:<Error><Message>An exception has occurred.</Message><ExceptionMessage>No MediaTypeFormatter is available to read an object of type 'ZumoAppInput' from content...
View ArticleCommented Issue: WebAPI should return a 415 instead of a 500 when it can't...
We currently get:<Error><Message>An exception has occurred.</Message><ExceptionMessage>No MediaTypeFormatter is available to read an object of type 'ZumoAppInput' from content...
View ArticleClosed Issue: HttpError not getting serialized correctly when using...
Modify JsonFormatter on the config to use DataContractJsonSerializer.My action looks like this:---------------------------[HttpGet]public string GetGreeting(){ throw new...
View ArticleCreated Issue: "HttpResponseMessage Get(string key)" and "Entity...
I have an Entity model that uses a string for the primary key.```public class Program{ public string Id { get; set; } public string Name { get; set; }}```I build my model using...
View Article