Feedback on ASP.NET Web API

Error in WebApi 2 Attribute Routing documentation

This page refers to a property of an attribute routing being called RouteName when it is just called Name.

[Route("api/books/{id}", RouteName="GetBookById")]

should be

[Route("api/books/{id}", Name="GetBookById")]

http://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2#route-names

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Joel Cunningham shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base