Commit Graph

184 Commits (fd4da00b551e06c6d840f3a480faa0eff8985de3)

Author SHA1 Message Date
Rick Anderson 3a5c8b81d4
add Cookie to no loc (#19446) 2020-08-07 14:55:26 -10:00
Scott Addie 0646aea359
Add verbiage about magic number 10 (#19296) 2020-07-23 13:59:54 -05:00
Sergey G 4bbe3e9463
Fix 400 responses inconsistency (#19260)
* Inconsistent responses for 400 error

Potential fix for inconsistency between automatic `[ApiController]` 400 response and `BadRequest()` result.

* Update index.md

* Removing moniker for 2.1

> The whole topic is set up as 2.1 or later, so the moniker range isn't needed.
https://github.com/dotnet/AspNetCore.Docs/pull/19260#discussion_r457550239

* edit pass

* add API ref link

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-07-20 20:26:49 -05:00
Luke Latham 2a6e1db637
Fix namespace/API docs cross-link (#19193) 2020-07-13 07:54:00 -05:00
Kirk Larkin 3dc38dbe59
Clean up the Custom Formatters sample (#18980)
* Restructure samples folders in view of consistency

* Small changes to the topic content

* Rename .csproj and namespaces for 3.x sample

* Clean up sample and snippets
2020-06-29 11:35:52 -10:00
Luke Latham 80446f1dd8
Add Blazor WebAssembly/Server to no-loc (#18962) 2020-06-25 19:11:04 -05:00
Rick Anderson d0e54e113a
Update Custom Formmatter (#18795)
* Update Custom FOrmmatter

* Update Custom FOrmmatter

* Update Custom FOrmmatter

* Update Custom FOrmmatter

* Update Custom FOrmmatter

* clean up

* clean up

* clean up

* clean up

* clean up

* clean up

* clean up

* Apply suggestions from code review

Awesome suggestions. Much appreciated.

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>

* final edit

* Update aspnetcore/web-api/advanced/custom-formatters.md

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
2020-06-24 12:56:28 -10:00
Kirk Larkin 4feba89757
Fix up API links to ContentResult and Content (#18835) 2020-06-17 14:45:35 -10:00
eajhnsn1 b188360d77
Update formatting.md (#18632)
Removed "options." presumably copy/pasted into the per-action serialization samples.
2020-06-02 11:40:22 -05:00
Rick Anderson 20cc0abe89
Update action-return-types.md (#18584) 2020-06-01 08:48:54 -05:00
Maira Wenzel e90ca8f216
update URL (#18575) 2020-05-29 15:08:36 -10:00
Ian Kemp d89957fb8d
Use strongly-typed status code (#18508)
* use strongly-typed constants for status code

* alphabetize usings
2020-05-27 16:19:47 -05:00
Tim Mulholland 6ea70cf883
Add documentation for default credential use (#18412)
* Add documentation for default credential use

* Edit pass on HTTP REPL default credentials PR (#18413)

* react to feedback

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-05-20 17:17:30 -05:00
Scott Addie d2ef99d117
Replace invalid Azure CLI devlang in HTTP REPL doc (#18383) 2020-05-19 13:38:50 -05:00
Luke Latham 36fe260be6
Delocalize package name (#18371) 2020-05-18 16:53:19 -05:00
Jason Card d33634604e
Update formatting.md (#18369) 2020-05-18 16:48:30 -05:00
Luke Latham f2834015b6
Drop existing no-loc entries (#18111) 2020-05-04 12:00:16 -05:00
Kirk Larkin 230aa08da4
Fix JsonOptions sample code (#17885) 2020-04-17 22:22:19 -05:00
Scott Addie b1255897a6
Edit pass on JSON Patch doc (#17589)
* Edit pass on JSON Patch doc

* Fix code sample indentation
2020-04-02 16:12:02 -05:00
Bruce Chen 8793347c90
Add full JsonPatch example with ASP.NET Core 3.1 Web API project (#16824)
* Add full JsonPatch example with NetCore 3.1 mvc and webapi project

* remove jsonpatch mvc example

* remove GetJsonPatchInputFormatter

Co-authored-by: Bruce Chen <brucechen@kingstono365.onmicrosoft.com>
2020-04-02 10:12:36 -05:00
R. de Veen 2d84af17e9
[fix] Remove double using (#17545) 2020-03-31 15:08:24 -05:00
R. de Veen a3b7b6e2d4
[fix] Removed double using (#17544) 2020-03-31 15:07:44 -05:00
ishchenkoviacheslav 0c07641c62
Update copy.json (#17155) 2020-02-28 13:52:05 -06:00
Scott Addie 9174ead0d3
Update aspnet org. links to reference the dotnet org. (#17077)
* Update aspnet org. links to reference the dotnet org.

* Update API ref links
2020-02-20 19:37:35 -06:00
Pranav K 67f24e8c45
Update index.md (#17046) 2020-02-18 20:01:18 -08:00
Kirk Larkin bee56ab05f
Fix non-async ToListAsync example code. (#16833) 2020-02-07 16:04:03 -08:00
Rick Anderson 025e25bc18
Update index.md 2020-02-06 10:45:37 -10:00
Rick Anderson 9bd2145a68
Ra/consumes (#16871)
* Heading and snippet.

* Code explanation.

* Additional explanation.

* ms.date

* [Consumes]

* [Consumes]

* Apply suggestions from code review

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

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-02-06 11:12:11 -08:00
Scott Addie 0eb07a10e4
Restrict display of section link to ASP.NET Core 2.2 or later (#16733) 2020-01-27 12:57:32 -06:00
Mauricio de los Santos 63780ae080 L166242: removing extra comma (#16658) 2020-01-22 09:24:32 -06:00
Mauricio de los Santos 11e620528d C150960: Adding missing backticks at end of code (#16623)
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description of the source issue: Lack of a backticks at the end of code-block is preventing following content to be localized
2020-01-20 15:49:42 -06:00
Scott Addie 0a6c1f78c5
Update aspnet/AspNetCore & aspnet/Home references to dotnet/As… (#16483)
* React to AspNetCore repo move to dotnet org

* Change aspnet/Home reference to dotnet/aspnetcore

* More replacements of aspnet/Home
2020-01-09 13:30:28 -06:00
Mauricio de los Santos 9bc7117b5d C150960: Changing three dashes by three underscores to avoid issues on localized pages (#16183)
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: Three dashes in a row act similar to backticks (\`\`\`) and leave content un-localizable
2019-12-13 12:08:22 -08:00
Ryan Brandenburg 1b5c71f9e2
Remove references to verbose option which doens't exist (#16162) 2019-12-12 10:51:33 -08:00
Scott Addie 5c3863c4d1
Fix formatting of inline JSON request body content (#16148) 2019-12-12 09:20:49 -06:00
Scott Addie 763fd4ec29
Add callout about RFC compliance in 2.1 (#16116) 2019-12-10 11:50:25 -06:00
Rick Anderson 69c8e2d2d0
Update formatting.md (#16109) 2019-12-09 19:31:59 -08:00
Luke Latham 2e9bf90656
Drop styled link text (#16042) 2019-12-05 17:12:26 -06:00
Luke Latham faf0363132
Drop 'decorate'/'decorated' for attribute (#16039) 2019-12-05 15:28:49 -06:00
Scott Addie 3fc5cc7a8e
Update aspnet/HttpRepl to dotnet/HttpRepl (#15950) 2019-12-02 15:16:11 -06:00
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