Commit Graph

144 Commits (031a5dd0229e50dbd7d661778d011a529e7a281d)

Author SHA1 Message Date
Scott Addie dc9a3fc574
Restore missing 2.1 content in web API overview doc (#15833)
* Restore missing 2.1 content in web API overview doc

* Adjust moniker version
2019-11-22 17:06:27 -06:00
Max Lefebvre c74fc1a1d9 update action-return-types.md (#14976) (#14983) 2019-11-13 15:57:20 -10:00
Pranav K 1664f6bb43 Fixup (#15660) 2019-11-11 15:49:26 -06:00
Pranav K e8f99dddb4 Update Startup.cs (#15658)
* Update Startup.cs

* Apply suggestions from code review

Co-Authored-By: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
2019-11-11 13:39:12 -06:00
Pranav K 17a2ed57b3 Update index.md (#15604) 2019-11-08 10:06:23 -06:00
Kirk Larkin 0cbcd8f34f 3.0 Microsoft.AspNetCore.App doesn't include Microsoft.AspNetCore.JsonPatch. (#15451) 2019-11-01 16:59:40 -10:00
Kirk Larkin 2232357644 Fixed Json Patch with NewtonsoftJson snippet. (#15431) 2019-10-31 15:49:14 -05:00
Pranav K b4539250fc Update jsonpatch.md (#15400)
* Update jsonpatch.md

* Update jsonpatch.md (#15404)

* Update jsonpatch.md

* add code snippet

* help from Kirk

* help from Kirk

* help from Kirk
2019-10-30 13:32:59 -10:00
Rick Anderson 8e13d9503d
Update jsonpatch.md (#15383) 2019-10-29 15:09:11 -10:00
Rick Anderson 395ada45c3
Update jsonpatch.md (#15366)
* Update jsonpatch.md

* Update jsonpatch.md

* Update jsonpatch.md
2019-10-28 17:01:20 -10:00
Kirk Larkin ecf1eded24 Fixed up explanation of "Special case formatters". (#15121)
* Fixed up explanation of "Special case formatters".

* Less passive and simpler.
2019-10-15 12:36:21 -10:00
Rick Anderson 07d9680c61
Web API conneg correction (#15029)
* Web API conneg correction

* Update aspnetcore/web-api/advanced/formatting.md

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2019-10-11 14:20:00 -10:00
Scott Addie 031a006601
Fix malformed list in HTTP REPL doc (#14904) 2019-10-07 21:10:58 -05:00
Scott Addie 01b85fb987
Document how to test secured endpoints with HTTP REPL (#14894)
* Document how to test secured endpoints with HTTP REPL

* React to feedback
2019-10-07 14:56:59 -05:00
Muhammad Assar f4fa222358 fix misspelled word "Default" in DefautlContractResolver (#14687) 2019-09-28 14:32:38 -05:00
Scott Addie 05d54916dd
Add more detail to Developer Exception Page with web API (#14670)
* Add more detail to Developer Exception Page with web API

* Add missing HEADERS section to plain-text output

* minor edit

* update port number

* accept --> request

* minor edit

* Add screen capture of testing in Postman

* Fix gif include

* Add missing word

* Display screen capture only for 3.0+
2019-09-27 15:22:03 -05:00
Scott Addie 3406a06976
Link to NuGet package in OpenAPI tool doc (#14647) 2019-09-26 15:28:08 -05:00
Scott Addie 040f18f2fa
console --> dotnetcli 2019-09-26 15:03:14 -05:00
Scott Addie 4cf0bbb885
Add missing 2.x details to web API error handling doc (#14591)
* Add missing 2.x details to web API error handling doc

* Delete unnecessary folder

* more work

* more work

* more work

* more work

* more work

* minor edits
2019-09-25 15:19:08 -05:00
Nikita Potapenko dc8f9b7bea Update packages (#14574)
Use GA version
2019-09-25 07:58:43 -10:00
Luke Latham b93ab83fb6 Pascal case placeholder names in log strings (#14508)
* Pascal case placeholder names in log strings

* Updates
2019-09-23 14:11:50 -10:00
Scott Addie b7bcde6905
Merge pull request #14468 from Potapy4/update_code_snippet
Update code snippets
2019-09-23 15:35:08 -05:00
Scott Addie 960d105369
minor edits 2019-09-23 15:27:15 -05:00
Scott Addie 8b93ceecfa
fix build errors in ProductsController 2019-09-23 15:25:08 -05:00
Kirk Larkin 317bb3fb16 Fixed FormatFilter example for ProductsController. (#14449)
* Fixed FormatFilter example for ProductsController.

* Changed ProductsController URLs to be more API-like.
2019-09-23 07:33:41 -10:00
Potapy4 64525d8f08
Update code snippets
Update return type | Fix highlited lines
2019-09-22 11:52:21 +03:00
Scott Addie 5329360700
fix invalid link 2019-09-21 16:56:23 -05:00
Scott Addie 0e127dfd26
Remove version option from HTTP REPL installation command (#14465) 2019-09-21 16:33:47 -05:00
Rick Anderson 795f8ec1a6 Create Microsoft.dotnet-openapi.md (#14450)
* Create Microsoft.dotnet-openapi.md

* Update toc.yml

* Update toc.yml

* Update Microsoft.dotnet-openapi.md (#14452)

* minor edits
2019-09-21 16:27:17 -05:00
Rick Anderson f52d3c2fe1
Update formatting.md 2019-09-19 16:07:07 -10:00
Rick Anderson ba2e045ca4
Format response data (#12077)
* never

* Format data Web API update

* Format data Web API update

* work

* work

* work

* ?

* work

* maybe

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0

* work on 3.0
2019-09-19 14:30:35 -10:00
Pranav K c029f047b0 Add details for web API error handling (#14366)
* Add details for web API error handling

* Edit pass on web API error handling doc (#14389)

* remove extra closing paren

* Apply suggestions from code review

Co-Authored-By: Luke Latham <1622880+guardrex@users.noreply.github.com>

* Edit pass on web API error handling doc (#14412)

* Fix ToC link (#14414)
2019-09-19 10:56:04 -05:00
Scott Addie a50faa4056
Use dotnetcli dev lang to colorize .NET Core CLI commands (#14361) 2019-09-17 16:01:04 -05:00
Pranav K 93a80e6166 Add some notes about configuring Json formatters (#14347)
* Add some notes about configuring Json formatters
Fixes https://github.com/aspnet/AspNetCore.Docs/issues/241

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* minor edits
2019-09-17 10:58:05 -05:00
Pranav K 256630a253 Add instructions to JsonPatch document to use Newtonsoft.Json (#14299)
* Add instructions to JsonPatch document to use Newtonsoft.Json

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update jsonpatch.md
2019-09-13 14:35:55 -05:00
Scott Addie 2f50712064
Add JSON Patch doc link to ToC (#14302)
* Add ToC link to JSON Patch in web API doc

* Fix invalid code snippet dev lang

* Add code fencing to attribute
2019-09-13 14:32:20 -05:00
Scott Addie cc2946282a
Update web API intro doc for 3.0 (#14201)
* Update web API intro doc for 3.0

* More edits

* React to feedback

* Add missing comma:

* Incorporate Acrolinx feedback

* Document workarounds

* more edits

* more edits

* Fix line numbers

* Improve code snippets

* Display assembly attribute section only for 2.2+

* Add another moniker range for 2.2+ content

* Fix line highlighting

* remove 1 workaround step

* minor edit

* simplify workaround steps

* more edits

* edit

* fix method name

* fix link
2019-09-13 13:11:26 -05:00
Kirk Larkin 42f28818ca Explanation of built-in Input and Output formatters. (#14267)
* Explanation of built-in Input and Output formatters.

* Update custom-formatters.md
2019-09-11 15:28:37 -07:00
Tim Mulholland cf276fea83 Change how the tool is launched (#14226)
With https://github.com/dotnet/HttpRepl/pull/223, we changed the name of the tool from `dotnet-httprepl` to `httprepl`. This changes the way the tool is executed from `dotnet httprepl` (or `dotnet-httprepl`, though that wasn't used in the docs) to just `httprepl`.
This PR updates the docs to reflect that change.
2019-09-09 16:16:12 -05:00
Scott Addie a8f3cb8965
3.0 updates to web API action return types doc (#14091)
* 3.0 updates to web API action return types doc

* Edit pass

* More edits

* Better organize sample apps and add IAsyncEnumerator example

* Fix broken code includes

* Add async stream verbiage

* URL encode a backtick

* Replace analyzer package with IncludeOpenAPIAnalyzers property

* React to Bill's feedback

* more work

* React to feedback

* Add GetNPages action example

* More work

* React to Ryan's feedback

* Refactoring and react to more feedback

* React to feedback - part 1

* React to feedback

* Fix heading

* Remove highlighting

* React to feedback
2019-09-09 14:54:12 -05:00
Pranav K fab8e29386 Update notes on how to reference the API analyzers (#14085)
* Update notes on how to reference the API analyzers

* edit pass

* web API analyzers doc patch (#14162)

* Fix line highlighting in web API analyzers doc (#14164)
2019-09-05 15:16:22 -05:00
Scott Addie ace55c6820
add missing double quote to swagger.searchPaths preference command 2019-08-29 10:16:36 -05:00
Luke Latham 480e3a2ec4
Remove duplicate section (#14081) 2019-08-29 09:58:58 -05:00
Scott Addie 42f66cad15
Add solution files and fix OpenApi references in Startup.cs (#14061)
* Add solution files and fix OpenApi references in Startup.cs

* Add solution files
2019-08-28 10:39:28 -05:00
Tim Mulholland 89babd847a Add connect command, remove set swagger command (#13973)
* Add connect command, remove set swagger command

Also document the `swagger.searchPaths` preference.

* Apply suggestions from code review

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2019-08-26 12:06:14 -05:00
Tom Dykstra 0a34538a98 reassign (#13961) 2019-08-22 11:46:35 -04:00
Rick Anderson a2e996d318
Update formatting.md (#13932) 2019-08-20 15:01:15 -04:00
Jack Horton 223e125adc Fix indentation in http-repl.md (#13711) 2019-08-07 12:41:25 -05:00
Scott Addie ffe2d590c3
Note HTTP REPL environment and tech support (#13500) 2019-07-25 09:33:12 -05:00
Scott Addie 31985f8c94
Fix HTTP REPL installation command for zsh (#13498) 2019-07-25 08:45:13 -05:00