New Comment on "Attribute routing in Web API"
@NaturalCause - don't worry, tim's attribute routing won't be changed in any way. It should still work just fine. You can keep using that if you like it better. @Damian - You can do something like...
View ArticleSource code checked in, #b4631c0ef899fdccf210cda4c0e39591e67537b7
Add a default ordering for attribute routes
View ArticleCommented Issue: Support IServiceProvider Injection for DataAnnotations...
I am not completely sure but at first glance, it seems to me that IServiceProvider for DataAnnotations validations is completely ignored in ASP.NET Web API.Here is a quote from Jeff Handley's blog post...
View ArticleNew Post: Web API, OData, $inlinecount and testing
I previously had a Web API controller that looked like this:public IQueryable<ApiDesignOverview> GetList( string brandIds = "", string categoryIds = "", string query = "", string categoryOp =...
View ArticleNew Post: Web API, OData, $inlinecount and testing
I answered your question already on stackoverflow. http://stackoverflow.com/questions/15790695/web-api-odata-inlinecount-and-testing/ Also, regarding the testability thing, we have this bug for making...
View ArticleNew Post: Web API, OData, $inlinecount and testing
Thanks raghuramn - as I received only one answer there I though I would bring it here to check if there were any other suggestions from the developers - I didn't realise that the answer on SO was from...
View ArticleCreated Issue: Provide better error messages when users define invalid...
Example Scenarios:1. User has a inline constraint like 'min(0'. Following is the current error message. Include the information about the controller and action for easy diagnosis._The inline constraint...
View ArticleEdited Issue: Provide better error messages when users define invalid...
Example Scenarios:1. User has a inline constraint like 'min(0'. Following is the current error message. Include the information about the controller and action for easy diagnosis._The inline constraint...
View ArticleReviewed: v5.0 RTM (Apr 04, 2013)
Rated 5 Stars (out of 5) - ....................................
View ArticleNew Comment on "CORS support for ASP.NET Web API"
you can catch Brock and the team talking about this awesome new feature on C9 @ http://channel9.msdn.com/Shows/Web+Camps+TV/ASPNET-Web-API-and-CORS-Support
View ArticleEdited Issue: HttpRouteUrl does not generate a URL for a route with...
1. Create a new ASP.NET MVC 4 project, subtype: Web API.2. Add the following section to Views/Home/Index.cshtml:<section class="content-wrapper main-content clear-fix"><h3>Demonstrating...
View ArticleEdited Issue: A badly formatted cookie causes GetCookies to return 0 cookies...
If a request includes a cookie with whitespace in it's name, GetCookies will return 0 cookies.The attached fiddler sessions demonstrate the issue. Below is the implementation of the method that was...
View ArticleEdited Issue: NullRef with RouteDataValueProvider if route template has catch...
class Program{ static void Main(string[] args){ HttpConfiguration config = new HttpConfiguration(); config.Routes.MapHttpRoute("default", "{controller}({id})/{*pathinfo}");...
View ArticleCommented Issue: Date Format changes when posting data to web api controller...
The problem is described in detail at http://stackoverflow.com/questions/12954961/date-format-changes-when-posting-data-to-web-api-controller-in-asp-net-mvc-4...
View ArticleEdited Issue: Date Format changes when posting data to web api controller in...
The problem is described in detail at http://stackoverflow.com/questions/12954961/date-format-changes-when-posting-data-to-web-api-controller-in-asp-net-mvc-4...
View ArticleEdited Feature: Provide a way to replace the default HttpControllerDispatcher...
Assume that I have the following custom HttpControllerDispatcher implementation: public class MyCustomDispatcher : HttpControllerDispatcher { protected override Task<HttpResponseMessage>...
View ArticleCommented Feature: Provide a way to replace the default...
Assume that I have the following custom HttpControllerDispatcher implementation: public class MyCustomDispatcher : HttpControllerDispatcher { protected override Task<HttpResponseMessage>...
View ArticleClosed Issue: MVC4 routing issue with web api [573]
In VS 12 professional and express: When trying to launch MVC4 I get: Could not load type 'System.Web.Http.RouteParameter' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral,...
View ArticleEdited Issue: Content negotiation ignores charset media type parameter in...
I would expect that setting the charset media type parameter in the accept header would cause that charset to be selected. However, content negotiation appears to consider only the Accept-Charset...
View ArticleCommented Issue: Make FormDataCollection Dynamic [27]
It'd be really nice if FormDataCollection would be dynamic so you could do;public string Post(FormDataCollection form){ return form.message;}Comments: @nberardi, I think you mean what happens if it...
View Article