* Web API conneg correction
* Update aspnetcore/web-api/advanced/formatting.md
Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>
* 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+
* 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
* 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
* 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)
* 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
* 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
* 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
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.
* 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
* 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)
* 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>
* Update NSwag URLs to current GitHub location
* Add solution for web-api-help-pages-using-swagger projects
* Bump NSwag and Swashbuckle package versions
- current and next versions
- will need to bump versions again to pick up latest Microsoft-provided features
* React to latest NSwag and Swashbuckle versions
- lots of renames and type changes (especially `string` -> `Uri`) in NSwag
- Swashbuckle now relies on Microsoft.OpenApi.Models
- disable OpenAPI doc generation in other .NET Core 2.0 project
* Remove unused namespaces
- NSwag and Swashbuckle now use common `Startup` namespaces such as Microsoft.AspNetCore.Builder
nit: sort `using`s
* remove extra comma
* Move solution file into samples folder
* Minor tweaks (#12980)
* Added missing ProducesResponseType, aligned response types
Fixes#10613
* Apply suggestions from code review
Co-Authored-By: bartlannoeye <bart.lannoeye@gmail.com>
* Use StatusCodes instead of int for define-controller samples
* Use StatusCodes instead of int for action-return-samples
* Apply PR remarks
* Add docs for api conventions and analyzers
Fixes#8332
* Edit pass on API conventions and analyzers content (#9574)
* Edit pass on 2.2 API docs (#9578)
* Scottaddie/open api patch (#9582)
* Edit pass on 2.2 API docs
* Resolve build warning
* Fix list formatting
* 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
Fixes#9219
@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.
I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
Addresses #8579
I might be getting the hang of **_find and replace_** now. 😝
This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.