Commit Graph

233 Commits (9bfa52c60f99fdda2e5aca462e49bee4d9e49d85)

Author SHA1 Message Date
Fiyaz Bin Hasan 60e33714d5
Explicit http verbs are needed when OpenAPI support is enabled (#24305)
Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
2021-12-15 11:25:28 +00:00
Kirk Larkin 7b3aa87f6b
Update Handle Web API Errors to 6.0 (#24066)
* Update Handle Web API Errors to 6.0

* .

* .

* .
2021-11-25 06:57:17 -10:00
Kirk Larkin cc579c27f4
Prepare Handle Web API Errors for 6.0 (#24055) 2021-11-25 10:09:24 +00:00
Kirk Larkin 3f2b1ba009
Update Format Response Data to 6.0 (#24039)
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-11-25 10:08:28 +00:00
Kirk Larkin ddcccd2e83
Prepare Format Response Data for 6.0 (#24036) 2021-11-23 14:05:34 +00:00
Rick Anderson 4948c97b10
Update formatting.md (#23577) 2021-10-20 12:19:11 -10:00
GitHubPang ab52006f94
Fix typos (#23324) 2021-09-15 20:38:34 -05:00
Rick Anderson 279ea6821b
Update action-return-types.md 2021-09-10 16:08:48 -07:00
Rick Anderson 16968a18d2
Update action-return-types.md (#23271) 2021-09-10 13:43:12 -07:00
Rick Anderson d77506c7d3
Add valuesController to Web API conventions article /a (#22793)
* Add valuesController to Web API conventions article /a

* Add valuesController to Web API conventions article /a

* Add valuesController to Web API conventions article /a

* Add valuesController to Web API conventions article /a
2021-07-29 10:47:40 -07:00
Rick Anderson e2fee0072c
Remove 25 moniker pairs hell in WebAPI /a (#22787)
* Remove 25 moniker pairs hell in WebAPI /a

* Remove 25 moniker pairs hell in WebAPI /a
2021-07-21 11:11:38 -07:00
Rick Anderson afc8773aaa
Update index.md 2021-07-15 08:35:01 -07:00
Safia Abdalla 4c448c256f
Merge pull request #22600 from dotnet/safia/problem-details
Add docs on generating ProblemDetails payload
2021-06-27 11:45:25 -07:00
Safia Abdalla 6a8760c45f
Update aspnetcore/web-api/handle-errors.md
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-06-23 20:27:42 -07:00
Rick Anderson 9ce69a68e1
Update handle-errors.md (#22601) 2021-06-23 18:57:59 -07:00
Safia Abdalla 6c5cebbaf8
Add docs on generating ProblemDetails payload 2021-06-23 18:32:11 -07:00
gbarrs-at-em 64beeb3934
Update jsonpatch.md
It took me longer than I care to admit before I worked out I was getting a 400 response to a Patch request because I was serialising the request using  `JsonSerializer.Serialize` rather than `JsonConvert.SerializeObject`.
2021-06-11 20:59:07 +01:00
Rick Anderson ad321c2700
Add Home and Privacy to no-loc (#22237)
* Add Home and Privacy to no-loc

* Add Home and Privacy to no-loc
2021-05-08 10:12:34 -10:00
Rick Anderson 2f00739f4e
Kestrel to no-loc (#22182) 2021-05-01 13:03:18 -10:00
Michal Mrnuštík 383b0f5c3e
Replace status code with status code enum (#22116)
* Replace all hardcoded status codes with System.Net.HttpStatusCode

* Replace all StatusCodes references to HttpStatusCode

Co-authored-by: Michal Mrnuštík <michal.mrnustik@riganti.cz>
2021-04-23 10:14:47 -10:00
Rick Anderson cc5b254470
Author scott change to rick (#21927) 2021-04-05 12:17:06 -10:00
Scott Addie 09e3573c75 Finish default branch renaming work 2021-03-09 22:40:27 -06:00
Rick Anderson f91200c787
Update formatting.md (#21684) 2021-03-04 09:20:45 -10:00
Vegard Løkken fe9a6b6b9a
Use selected encoding when writing the response (#21669) 2021-03-03 12:48:46 -10:00
James Montemagno 6d103e410e
Add Link to Microsoft Learn for Web API (#21432) 2021-02-04 09:25:04 -06:00
Rahul P Nath a65b43ac2c
Specify MvcOptions.ReturnHttpNotAcceptable for 406 (#21349)
* Specify MvcOptions.ReturnHttpNotAcceptable for 406

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

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

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2021-01-29 07:31:22 +10:00
Rick Anderson 96e980bc54
Error message always camelCase (#21328)
* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* Error message always camelCase

* work
2021-01-27 14:31:20 +10:00
Scott Addie 04eb74295e
Update action return types sample apps (#21270) 2021-01-22 10:24:54 -06:00
Rahul P Nath ed6a33b9b8
Specify Type for ProducesResponseType (#21260)
Later in the article, this is highlighted as one of the differences between using IActionResult and ActionResult<T>
2021-01-21 09:52:00 -06:00
Rick Anderson fb85df63d8
clean up handle web API errors (#21121)
* clean up handle web API errors

* clean up handle web API errors

* clean up handle web API errors

* clean up handle web API errors

* Update aspnetcore/web-api/handle-errors.md

Co-authored-by: Kirk Larkin <serpent5@pm.me>

Co-authored-by: Kirk Larkin <serpent5@pm.me>
2021-01-08 13:47:32 -10:00
AYDIN HOMAY 9f2978e63a
API errrors, how to handle (#21016)
* Added a section of Middleware Exception Handling

* created a frist draft from new section to cover Middleware Exception Handling.

* Update handle-errors.md

* Update aspnetcore/web-api/handle-errors.md

* Update aspnetcore/web-api/handle-errors.md

* Update aspnetcore/web-api/handle-errors.md

* Update aspnetcore/web-api/handle-errors.md

Co-authored-by: Pranav K <prkrishn@hotmail.com>

* Update aspnetcore/web-api/handle-errors.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-01-08 13:42:07 -10:00
David Henley 0e10371eb7
Fix Add URL example (#21107)
`Add URL` example was using `Add File`
2021-01-04 17:21:09 -06:00
Delora Bradish 5bb4eb95d0
removed mscustom tag (#21076) 2020-12-30 08:11:16 -06:00
James Newton-King dc03b5e3ea
Update route-to-code doc with API links (#20835)
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-12-02 15:16:36 -06:00
James Newton-King d57a751df7
Update route-to-code.md (#20829) 2020-12-02 20:27:10 +13:00
James Newton-King 2ad7d8060f
Add doc for new ASP.NET Core JSON extension methods (#20259)
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-11-30 16:30:26 -06:00
Kirk Larkin ba2f7a8b39
Include ModelState in BadRequest for vcard Input Formatter sample (#20739) 2020-11-23 15:15:02 -10:00
Scott Addie bfba0e4f8a
Add links to blog post for configuring VS to launch HttpRepl (#20552) 2020-11-13 21:16:21 -06:00
Scott Addie 773e85ae6c
Fix a typo in the HttpRepl doc (#20547) 2020-11-12 12:54:57 -06:00
Scott Addie c6438420a5
Rebrand HTTP REPL to HttpRepl (#20518) 2020-11-11 17:22:34 -06:00
Scott Addie f27d8a5a58
Remove "Core" from the telemetry message 2020-11-11 15:52:26 -06:00
Scott Addie 33d0830794
Move HTTP REPL docs to a folder (#20493) 2020-11-10 20:18:28 -06:00
Tim Mulholland f18e5ba881
Update HttpRepl docs for 5.0 changes (#20468)
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-11-10 19:57:03 -06:00
Rick Anderson 311cef0e25
appsettings.json noloc (#20320) 2020-10-27 11:27:47 -10:00
Mike F. Robbins a6a654a238
Bulk addition of azurecli mscustom metadata (#20275)
Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
2020-10-22 11:33:39 -10:00
Rick Anderson 173daadeb9
Remove set from interface impl (#20077) 2020-10-02 06:52:33 -10:00
Rick Anderson 7f1dc89c19
Update formatting.md 2020-09-30 14:59:53 -10:00
Kirk Larkin d9daf4ac39
Detail effects of AddNewtonsoftJson (#20060) 2020-09-30 12:34:06 -10:00
Rick Anderson 23bd8d2057
Add ASP.NET Identity to no loc (#19578)
* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc
2020-08-19 11:07:40 -10:00
Rick Anderson 3a5c8b81d4
add Cookie to no loc (#19446) 2020-08-07 14:55:26 -10:00