Commit Graph

24 Commits (486e4dfd317788ae4ee891ea411ae8aed72f4607)

Author SHA1 Message Date
Scott Addie 107a15841e
Remove string of asterisks 2019-03-18 09:31:20 -05:00
Rick Anderson 92565aa6c9
Update index.md (#10388)
Fixes https://github.com/aspnet/Docs/issues/9051
2019-01-14 16:36:57 -10:00
Pranav K ed6d2f3710 FromQuery (#10348)
* FromQuery

* Minor edits

* Fix build warning (#10350)
2019-01-11 18:31:11 -06:00
Rick Anderson 73fda161c8 Update index.md (#9581)
Give it more SEO juice for those searching.
2018-11-14 09:53:48 -06:00
Scott Addie 01cbe3293e
Explain relationship between model validation and [ApiController] (#9377)
* Explain relationship between model validation and [ApiController]

* React to feedback in index.md

* React to more feedback
2018-11-06 11:52:38 -06: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 1d8c0fb4a6
Fix snippet type 2018-10-29 12:26:28 -05:00
Alfred Myers 2083734da1 Fixed typo on web-api/index.md (#9293) 2018-10-29 11:00:23 -05:00
Tom Dykstra b6ba3d220c Table of Contents reorg (#9133)
* overview

* whats new to end

* fix migration node

* split fundamentals, move to end

* glob & loc, get started

* security node name

* security section

* azure, client-side, host

* several more sections

* redistribute tutorials

* proofread fixes

* move how to download section

* index files delete and redirect

* fix errors

* reorder some nodes

* scott feedback, flatten main tutorials node

* fix missed feedback items + other issues

* unflatten tutorials node

* move 'how to download'

* more tutorials node tweaks

* standardize view sample links

* db --> DB

* fix build error

* remove link from a parent node

* streamline node names

* xref links

* typos

* typo

* typos and revert some xref links

* scott feedback

* scott feedback

* feedback

* change node name

* safe storage-->protect
2018-10-26 18:34:40 -10:00
Pranav K 9c91d557c9 Add docs for ProblemDetails response filter (#9130)
* Add docs for ProblemDetails response filter

* UE edits to problem details (#9152)

[review URL](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/index?view=aspnetcore-2.2&branch=pr-en-us-9152)
2018-10-24 13:17:57 -10:00
Luke Latham 2c7f11f3af Move SetCompatibilityVersion into an MVC subtopic (#8196)
Escape an underscore

Escape more underscores

And another one
2018-08-21 12:57:06 -07:00
Scott Addie 8ed9bb212b
Support .NET API xref links in ASP.NET Core docs (#8112)
Fixes https://github.com/aspnet/Docs/issues/7064

Modified 1 doc to demonstrate the new syntax. See http://dotnet.github.io/docfx/tutorial/links_and_cross_references.html#cross-reference-services for more context around the *docfx.json* file change.

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-8112&view=aspnetcore-2.1#additional-resources)

/cc: @mairaw I took a different approach than how it's done in the dotnet/docs repo. Copying you in case you're interested in this solution.
2018-08-16 15:04:03 -05:00
Alex Dresko 7e0fd8020e Update index.md (#8067)
Fixes https://github.com/aspnet/Docs/issues/8057
2018-08-14 10:39:25 -05:00
Scott Addie 4b4b8e5f2a Replace line numbers range with snippet name 2018-07-24 21:44:05 -05:00
Scott Addie 6bfabdb9c8
Convert synchronous web API methods to async (#7544)
* Convert synchronous web API methods to async

* React to feedback
2018-07-10 14:08:50 -05:00
Scott Addie cafbadf89f
Clarify when to suppress default [ApiController] behaviors in Startup (#7501)
Fixes https://github.com/aspnet/Docs/issues/6881
2018-07-06 15:46:10 -05:00
Scott Addie e23bf6825e
Mention 2.1 compat flag requirement for [ApiController] (#7491)
Fixes https://github.com/aspnet/Docs/issues/7407

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-2.1&branch=pr-en-us-7491#annotate-class-with-apicontrollerattribute)
2018-07-06 12:54:41 -05:00
Scott Addie f8668437fe Metadata updates for web API conceptual content 2018-06-18 13:37:17 -05:00
Scott Addie 5bc8ba8b55
Link to ApiControllerAttribute API ref (#6313) 2018-05-09 13:42:41 -05:00
Rick Anderson 00abcf3cbb
Update index.md (#6171) 2018-05-01 18:15:16 -10:00
Rick Anderson 8b62e71f85
Document that [FromRoute] does not unescape %2F (#6167)
* Update index.md

* Minor tweaks
2018-05-01 17:41:08 -10: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
Scott Addie b2cdf7ff05
Relocate advanced MVC docs to Web API TOC (#5859) 2018-04-02 15:22:30 -04:00
Scott Addie 88bf955905
Add Web API controller action return types doc (#5750)
* Add Web API controller action return types doc

* Verbiage tweaks

* Verbiage clarification

* Rename action and add a tip widget

* Tweak verbiage in tip widget

* Add another tip widget

* More verbiage changes

* MOAR tweaks!

* Expand description in specific type section

* Fix invalid OkObjectResult syntax

* Address Acrolinx feedback

* Add Web API TOC node and README.md file to samples folder

* React to feedback
2018-03-21 21:41:16 -05:00