Skip to content

web API with MongoDB: Unnecessary Command #35131

@mthanson8333

Description

@mthanson8333

Description

Under Configure MongoDB section, step 2, in the command shell, connect to the default test database by running the following command:

Mongosh

I get the following error message:
ReferenceError: monghsh is not defined

Not sure if this step is needed since I ran the show dbs command and it listed the following databases: admin, config, and local.

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mongo-app?view=aspnetcore-9.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-mongo-app.md

Document ID

83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a

Platform Id

65f2481a-2462-7f68-0aa8-570bd4557d09

Article author

@wadepickett

Metadata

  • ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
  • PlatformId: 65f2481a-2462-7f68-0aa8-570bd4557d09
  • Service: aspnet-core
  • Sub-service: tutorials

Related Issues


Associated WorkItem - 423878

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions