-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Description
In the 'Register the database context' section of the tutorial, the complete code sample is missing the Swagger configuration line that was previously added in the 'Configure Swagger middleware' section.
The user is instructed to either update their code with the highlighted changes or copy the entire code box. If they copy the code box, the Swagger UI is omitted. Later in the tutorial, the user is asked to navigate to the Swagger URL, which won’t work if they used the copied code.
It may seem obvious, but if the user is following the tutorial sequentially, the omission feels accidental. The complete code sample is already available and can be easily reinserted.
Page URL
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-web-api.md
Document ID
95f2549e-29f9-e31a-b4d0-432b971643ff
Platform Id
5e962f0c-0c64-0e03-aba5-9c8b1bdd9b95
Article author
Metadata
- ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
- PlatformId: 5e962f0c-0c64-0e03-aba5-9c8b1bdd9b95
- Service: aspnet-core
- Sub-service: tutorials