The page "Create a REST API with Attribute Routing in ASP.NET Web API 2" has some typos: some texts that doesn't correspond to the screenshot and 2 samples that doesn't work.
Fixes#8208
This is in relation to and hopefully fixes#8208. I have added the additional supported HTTP Action verbs, HEAD, OPTION and PATCH to those listed as convention.
- replace Visual Studio 2013 download link with a valid link
- none of these topics meet the >13K page view per month threshold for further updates at this time, so I'm just updating these bad URLs
- PR also includes automatic whitespace trimming
The title of this topic is incorrect and not matching with the actual content
When creating a new PR, please do the following and delete this template text:
* Reference the issue number if there is one:
Fixes #Issue_Number
> The "Fixes #nnn" syntax in the PR description causes
> GitHub to automatically close the issue when this PR is merged.
- updated all www.visualstudio.com urls to visualstudio.microsoft.com (and added campaign ID for downloads from docs.microsoft.com)
- made other obvious fixes to older versions of Visual Studio
- trim whitespace
Contributes to #8848
When creating a new PR, please do the following and delete this template text:
* Reference the issue number if there is one:
Fixes #Issue_Number
> The "Fixes #nnn" syntax in the PR description causes
> GitHub to automatically close the issue when this PR is merged.
Addresses https://github.com/aspnet/Docs/issues/7353
Adds `ms.prod` (with a value of `aspnet-framework`) to the ASP.NET conceptual docset's *docfx.json* file. Removes `ms.prod` from the individual docs.
connectionString currently leads to a SQL error 50: "Local Database Runtime error occurred. Cannot create an automatic instance" when trying to access the local database. Proposed fix taken from accepted StackOverflow answer here:
https://stackoverflow.com/a/26267373/8133586
I was reading the WebAPI 2 tutorial and found a mistake in this sample. The GetBookDetail action gets a parameter called id, and in the query, this id is checked against the AuthorId, which I think is wrong, it should be checked against the BookId property.