Commented Issue: Ensure Web API Help Page and ApiExplorer work with the...
See the following issues for the related...
View ArticleEdited Issue: Request dispatched to incorrect action resulting in 400 Bad...
A request for '/api/customers' is resulting in 400 Bad Request. __Attached__ a katana selfhost repro.__Reason__:The problem seems to be happening because of the following piece of code in...
View ArticleCommented Issue: Request dispatched to incorrect action resulting in 400 Bad...
A request for '/api/customers' is resulting in 400 Bad Request. __Attached__ a katana selfhost repro.__Reason__:The problem seems to be happening because of the following piece of code in...
View ArticleCreated Unassigned: Add a simple hook to re-write all outgoing OData links....
Right now, we generate a bunch of links in the OData response payloads. These are,1) Self links - ID, edit and read links.2) Navigation links,3) Metadata links.Customers want to use...
View ArticleCreated Unassigned: HttpError.ExceptionType is null [1248]
Having the following code: return Request.CreateErrorResponse( HttpStatusCode.BadRequest, new ArgumentNullException("searchCriteria"));I expect to be able to read ExceptionType back: SearchCriteria...
View ArticleCreated Issue: Attribute Routing fails for controllers with the same name [1249]
Create two controllers under different namespace[Route("api/values1")] public class ValuesController : ApiController{ public HttpResponseMessage Get(){ return new HttpResponseMessage(){ Content = new...
View ArticleEdited Issue: attribute routing doesn't always resolve overloads [1199]
Attribute routing doesn't work well with action overload resolution (ie, the action selector), particularly when there are multiple actions with structurally equivalent routes that have different route...
View ArticleEdited Feature: Make IActionMethodSelector public - AjaxOnlyAttribute [25]
Currently, Web API contains IActionMethodSelector but unfortunately it's internal. So, you cannot use action method selector or action name selector in Web API. But you can easily create AjaxOnly,...
View ArticleEdited Feature: Web API: Add RouteAttribute, remove attribute routing...
Merging attribute routing with the existing HttpXxxAttributes causes a couple of issues:* When using Web API conventions you end up repeating yourself on what HTTP verb is handled by the...
View ArticleEdited Feature: Add DefaultRouteAttribute [1205]
Attribute routing can get a bit verbose when you are dealing with simple resource oriented ApiControllers. The proposal is to add a DefaultRouteAttribute that specifies the default route for all...
View ArticleEdited Issue: Attribute Routing fails for controllers with the same name [1249]
Create two controllers under different namespace[Route("api/values1")] public class ValuesController : ApiController{ public HttpResponseMessage Get(){ return new HttpResponseMessage(){ Content = new...
View ArticleCreated Unassigned: Improve the experience of using route data from requests...
__Scenario__:Implementing a custom IHttpControllerSelector to support namespace based versioning of controllers which are attribute routed.__Background__: Since DefaultHttpControllerSelector filters...
View ArticleEdited Unassigned: Improve the experience of using route data from requests...
__Scenario__:Implementing a custom IHttpControllerSelector to support namespace based versioning of controllers which are attribute routed.__Background__: Since DefaultHttpControllerSelector filters...
View ArticleEdited Issue: Improve the experience of using route data from requests for...
__Scenario__:Implementing a custom IHttpControllerSelector to support namespace based versioning of controllers which are attribute routed.__Background__: Since DefaultHttpControllerSelector filters...
View ArticleCommented Issue: Default ordering should place most specific routes before...
When I make a request like “/api/countries/dosomething”, I am receiving the following error:{"Message":"The request is invalid.","MessageDetail":"The parameters dictionary contains a null entry for...
View ArticleSource code checked in, #7cbf52adf48a0bd7c2c87c9a52f1980a264dfc34
Issue 620841: Xml DC serializer should escape invalid xml instead of throwing during serialization. Exposing XmlWriterSettings on the XmlFormatter and defaulting to false for CheckCharacters.
View ArticleSource code checked in, #736d6ac1b197483ea2fc74ad83b91f16a6c1f760
Issue 490879: multiple validation failures cause only one validation error in model state This is a regression introduced while fixing TFS: 391851. The way it fixed is wrong...
View ArticleCommented Issue: DependencyScope is disposed before the HttpControllerTracer...
### Facts - I am using AutoFac as IoC container - I enabled tracing with my custom tracer. - During the trace operation, I try to get the `DependencyScope` through request.Properties collection.###...
View ArticleReviewed: v4.0 RTM (八月 26, 2013)
Rated 5 Stars (out of 5) - 232232332232232332232232332232232332232232332
View ArticleNew Post: change view engines after application load
I'm writing a multi-tenancy based mvc application where I would like to have each tenant have its own separate view engine. Currently the mvc framework caches the view engine list it retrieves from the...
View Article