Commit Graph

10 Commits (Rick-Anderson-patch-7)

Author SHA1 Message Date
Suleyman c14c1d5333
Replace HTTP 200 status code with 201 for POST (#33394)
* Replace HTTP 200 status code with 201 for POST

The correct status code for successful POST requests is 201, not 200. Even the accompanying image says 201 as opposed to 200.

* Update aspnetcore/tutorials/min-web-api.md

* Update min-web-api8.md

Extended the fix to the 8.0 version of the topic.

* Update min-web-api6-7.md

Extended the fix to previous versions 6-7

---------

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2024-08-19 09:06:41 -07:00
Tom Dykstra 20aa4779df
Follow-up to #33266 (#33281)
* restructure toc.yml

* redirect

* restore .net 6-8 for minimal in toc

* tweak toc

* remove not-latest include

* tweak toc

* add links to go to and from .net 9 / .net 8

* restructure toc

* fix folder name

* fix file metadata

* fix metadata, delete no-longer-needed includes

* delete no-longer needed files

* fix broken links

* redirect

* fix moniker tags
2024-08-06 20:06:09 -10:00
Wade Pickett 9cffead2bf
Min Web API: Remove using statement update content & code (#33200)
* Min Web API: Remove using statement update content

* Applying to v7 content and code

* Update v7 code highlights
2024-07-30 17:08:35 -07:00
Wade Pickett bd8eb3ab6c
v9 Update: Min Web API Tutorial (#32943)
* v9 Update: Min Web API Tutorial, screenshots and code app sample.
* Removed VS for Mac tabs all versions per review
2024-06-28 14:50:00 -07:00
Wade Pickett 766dca3ebd
Prework-Min Web API .NET 9 update (#32942)
* Prework-Min Web API .NET 9 update

* Update v8 file
2024-06-25 22:12:44 -07:00
Wade Pickett 572cd3e673
Min API tutorial: rewrite to Swagger (#32076)
* MinAPI tutorial rewrite to Swagger

* Correct code path swagger version

* Added code highlight

* Improved h2-h3 titles for Swagger steps

* Moved H2 from VS to VSC

* Restored todogroup program.cs

* Clarified original DTO instruction

* Improved first run app and stop app instruction

* Fixed VSC first run instruction

* Corrected typo configu

* Fix code highlihght

* Removed dupe explaination line

* Corrected original error in json example

* Added swagger response screenshot and a few fixes

* Fixing typos, text improvements

* Rewrote and recoded for NSwag instead of Swashbuckle plus updated art

* Add Cam's recommendation on tool choice

* Improved some text, fixed typos

* Move Typed Results Program.cs to NSwaag

* Rewrote + recode v6 and v7 based on approved 8 approach

* Fixed missing Visual Studio tabs in v6 and v7

* Fixed alt text warnings and corrected code snippet path for v6-7

* Updated v6 and v7 package versions appropriate for the target .NET

* Updated v6 to move todo and tododb classes out of program.cs to be consistant

* Updated prereq includes to remove old preview text for vs and vs for mac versions 6-8

* More changes per tdykstra review.
2024-03-26 11:36:15 -07:00
Wade Pickett 74ee3eec73
Create Min Web API: Link to code sample (#30999)
* Create Min Web API: Link to code sample

* Added code sample link to versions 6-7
2023-11-09 15:32:28 -08:00
Wade Pickett c8ced5a61b
MinWebAPI:Update Postman (#29845)
* MinWebAPI:Update Postman

* Updated topic metadata
2023-07-19 12:35:08 -07:00
Rick Anderson 3483429fc2
Update min-web-api6-7.md (#29506) 2023-06-14 05:02:26 +00:00
Tom Dykstra 849a891a7b
Set up for 8.0 content (#29192) 2023-05-05 15:46:16 -07:00