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

Closed Feature: Support route level constraint for attribute routing [1278]

There is a way to add inline constraint to a route, but not a general constraint.It will be pretty useful for versioning for example to enable this scenario.Comments: Verified.

View Article


Closed Feature: Support "Ignore Route" in Web API or remove dependency on MVC...

I have a Web API only project with no dependency on System.Web.Mvc.So that I can use Elmah I need to add an ignore route like below: routes.IgnoreRoute("{resource}.axd/{*pathInfo}");Since ignore route...

View Article


Closed Issue: TransferEncodingChunked=true doesn't work on WebHost [1124]

When setting response.Headers.TransferEncodingChunked, the response doesn't get chunked, and a client (Fiddler) will fail trying to read the response.Repro 1: public HttpResponseMessage Get(){...

View Article

Source code checked in, #8da67a018a5c049632555dc24439961c6cce889d

Incorporate code review feedback.

View Article

Commented Unassigned: Validation doesn't get triggered for values extracted...

The issue is that model binding supports a direct mode where parameters are taken from the value providers(lets say route data) and then directly bound to the action parameters.This mode doesn't...

View Article


Edited Unassigned: Support ComplexTypeAttribute, AssociationAttribute,...

The current model builder doesn't support classes annotated with the ComplexType, AssociationLink, ConcurrencyCheck or Timestamp attributes in System.ComponentModel.DataAnotations.Supporting this...

View Article

Source code checked in, #66be22f3403826f1e14acc51c9d091ba528858a8

Handle web host routing exceptions by default (fixes #1355).

View Article

Source code checked in, #430b5f33055c26bbee347457275f13c20d565a89

Disable OWIN host buffering according to buffer policy (fixes #1418).

View Article


Edited Issue: Web host: exceptions from HttpContent.TryComputeLength are...

On web host, the code below will always result in the yellow screen of death. (We don't guard calls to content.Headers.ContentLength, which call the user-replacable HttpContent.TryComputeLength and may...

View Article


Commented Issue: Web host: exceptions from HttpContent.TryComputeLength are...

On web host, the code below will always result in the yellow screen of death. (We don't guard calls to content.Headers.ContentLength, which call the user-replacable HttpContent.TryComputeLength and may...

View Article

Edited Issue: [GlobalErrorHandling]Unhandled exception at route matching...

_Repro_:_Create a new constraint_:```public class ExceptionThrowingRoutingConstraint : IHttpRouteConstraint{ public bool Match(HttpRequestMessage request, IHttpRoute route, string parameterName,...

View Article

Commented Issue: [GlobalErrorHandling]Unhandled exception at route matching...

_Repro_:_Create a new constraint_:```public class ExceptionThrowingRoutingConstraint : IHttpRouteConstraint{ public bool Match(HttpRequestMessage request, IHttpRoute route, string parameterName,...

View Article

Edited Issue: Implement OWIN host buffer policy correctly [1418]

OWIN exposes ways to disable request and response buffering, but we don't use them. That means we'll always get buffered versions of these streams on hosts like IIS. We should use these OWIN mechanisms...

View Article


Commented Issue: Implement OWIN host buffer policy correctly [1418]

OWIN exposes ways to disable request and response buffering, but we don't use them. That means we'll always get buffered versions of these streams on hosts like IIS. We should use these OWIN mechanisms...

View Article

Edited Issue: Exception when writing a streamed response is not aborting the...

_Scenario_: I am using PushStreamContent to write large amount of data. In middle of writing this data an exception occurs._Expected_:Abort the connection so that clients know that indeed some error...

View Article


Edited Issue: Custom constraint on IgnoreRoute causes exception in WebHost...

I am trying to test constraint usage with the new "IgnoreRoute" extension. I have the following setup:In the following example (i would like to ignore a request based on a custom constraint...right,...

View Article

Closed Issue: [WebApiAttributeRouting]Improve the error message when a...

I have come across the following posts in SO where the users had same route template on different controllers. Currently the error message which we get is not clear which makes the debugging experience...

View Article


Reviewed: v5.0 RTM (十一月 16, 2013)

Rated 5 Stars (out of 5) - 下载学习下 234234234234234 23423423

View Article

Reviewed: v4.0 RTM (十一月 17, 2013)

Rated 3 Stars (out of 5) - I am student for Mvc.

View Article

Reviewed: v4.0 RTM (十一月 17, 2013)

Rated 5 Stars (out of 5) - for study.

View Article
Browsing all 7925 articles
Browse latest View live