Commit Graph

5 Commits (a70ff0c0a7c6dea38b4ebb8c95124b9f8a917c61)

Author SHA1 Message Date
August Shultz 270b4925fc Update to fix Incorrect Markdown Syntax (#11311)
This is a simple fix to the markdown formatting.
2019-03-07 08:22:56 -10:00
Scott Addie 55f0638c56
2.2 updates to web API doc (#9303)
Fixes https://github.com/aspnet/Docs/issues/9298

**Summary of Changes**
* Display the "Problem details" section for 2.2+ only
* Restore the missing `Startup.ConfigureServices` code snippets
* Genericize the compat flag language
* Use the `ConfigureApiBehaviorOptions` method for the 2.2 doc
* Add content for `[assembly: ApiController]` in the 2.2 doc
* Expand upon default response type returned for 400 status codes
* Added a solution file for the sample app to improve usability
* A quick UE pass

**Internal Review Pages**
* [2.2](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.2#problem-details-responses-for-error-status-codes)
* [2.1](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.1#problem-details-responses-for-error-status-codes)
* [2.0](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.0#problem-details-responses-for-error-status-codes)
2018-10-30 13:01:52 -05:00
Scott Addie c3df45e474
Remove locale from URLs 2018-07-06 21:30:47 -05:00
Scott Addie 4f450caa71
Web API sample app cleanup (#7506)
- Removes an unnecessary *global.json* file
- Removes an unnecessary NuGet package
- Fixes 2 broken links in README file
2018-07-06 21:28:09 -05:00
Scott Addie d7716559e8
Add Web API controller definition doc (#6003)
* Add Web API controller definition doc

* Remove wwwroot folder reference from csproj file

* Verbiage tweaks

* Add info about FromForm inference

* Bold the attribute names

* Add TOC entries

* Change link ordering in TOC

* Add note about IntelliSense

* Major sample app changes

* Fix code snippet line numbers

* Minor verbiage tweaks

* Add a README file

* Add TestController.cs

* Verbiage changes

* Shorten wording

* Change wording

* Minor edit

* React to feedback

* Add attributes table

* Verbiage tweaks

* querystring -> query string

* Minor edit

* Add 2.1 controller samples

* Fix invalid moniker names

* Update code sample to 2.1

* Update line number

* Convert uppercase W to lowercase

* React to feedback

* Update sample app's README file

* Project file cleanup

* Replace word

* Remove MVC views from sample app

* Derive from ControllerBase instead of Controller
2018-04-24 14:03:55 -05:00