Skip to content

Create controller-based web API: Redundant directory in command #36099

@wadepickett

Description

@wadepickett

Description

The first two commands create a TodoApi directory and then navigate into it. Since the user is already inside the TodoApi directory (after the cd TodoApi command), using ../TodoApi to reference the same directory is redundant.

Replace with code -r .

Page URL

https://review.learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-9.0&branch=pr-en-us-36098&tabs=visual-studio

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

@wadepickett

Metadata

  • ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
  • PlatformId: 5e962f0c-0c64-0e03-aba5-9c8b1bdd9b95
  • Service: aspnet-core
  • Sub-service: tutorials

Associated WorkItem - 488529

Metadata

Metadata

Assignees

Labels

Source - Docs.msDocs Customer feedback via GitHub IssueseQUESTeredIdentifies that an issue has been imported into Quest.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions