AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Create Web API: v9 update v8 sample update and rewrite for VSC version OpenAPI UI gen
Description
Update to .NET 9.
Also, the app sample to 8.0 needs to be updated and the v8 version of the doc point to it.
Instruction for older versions needs to indicate the version of the Nuget package to select, or simply state to choose the latest version available to match the project target.
Update the code and content for the VSC tab version to use a recommended OpenAPI UI gen with v9 such as scalar or move to curl.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-9.0&tabs=visual-studio#scaffold-a-controller-1
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-web-api.md
Document ID
95f2549e-29f9-e31a-b4d0-432b971643ff
Article author
@wadepickett