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

Commented Issue: Ensure Web API Help Page and ApiExplorer work with the...

See the following issues for the related...

View Article


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


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

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

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


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

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

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


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


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

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

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

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


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

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


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

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


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

Reviewed: v4.0 RTM (八月 26, 2013)

Rated 5 Stars (out of 5) - 232232332232232332232232332232232332232232332

View Article

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


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