Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live

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 Article


Edited 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 Article


Edited 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 Article

Edited 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 Article

Commented 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 Article


Commented 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 Article

Edited 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 Article

Commented 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 Article


Edited Issue: CookieHeaderValue.TryParse() invalid date time format [298]

When I try to parse next...

View Article


Created 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 Article

Reviewed: v5.0 RTM (三月 19, 2013)

Rated 5 Stars (out of 5) - goodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgood

View Article

Source code checked in, #4c6128823bb4

stop the fight with VS. update cors test proj. don't fight the tools.

View Article

Edited 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 Article


Edited 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 Article

Edited 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 Article


Closed 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 Article

Edited 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 Article


Commented 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 Article

Closed 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 Article

Created 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
Browsing all 7925 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>