Skip to content

Commit 98f11ed

Browse files
committed
Closes #35131
1 parent 5cbae85 commit 98f11ed

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

aspnetcore/tutorials/first-mongo-app.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,14 @@ Enable MongoDB and MongoDB Shell access from anywhere on the development machine
6565

6666
Use the previously installed MongoDB Shell in the following steps to create a database, make collections, and store documents. For more information on MongoDB Shell commands, see [`mongosh`](https://docs.mongodb.com/mongodb-shell/run-commands/).
6767

68-
1. Open a MongoDB command shell instance by launching `mongosh.exe`.
69-
1. In the command shell, connect to the default test database by running the following command:
68+
1. Open a MongoDB command shell instance by launching `mongosh.exe`, or by running the following command in the command shell:
7069

7170
```console
7271
mongosh
7372
```
7473

74+
1. In the command shell connect to the default test database by running:
75+
7576
1. Run the following command in the command shell:
7677

7778
```console

aspnetcore/tutorials/first-mongo-app/includes/first-mongo-app6.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ Enable MongoDB and Mongo DB Shell access from anywhere on the development machin
4545

4646
Use the previously installed MongoDB Shell in the following steps to create a database, make collections, and store documents. For more information on MongoDB Shell commands, see [`mongosh`](https://docs.mongodb.com/mongodb-shell/run-commands/).
4747

48-
1. Open a MongoDB command shell instance by launching `mongosh.exe`.
49-
1. In the command shell connect to the default test database by running the following command:
48+
1. Open a MongoDB command shell instance by launching `mongosh.exe`, or by running the following command in the command shell:
5049

5150
```console
5251
mongosh
5352
```
5453

55-
1. Run the following command in the command shell:
54+
1. In the command shell connect to the default test database by running:
5655

5756
```console
5857
use BookStore

aspnetcore/tutorials/first-mongo-app/includes/first-mongo-app7.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ Enable MongoDB and Mongo DB Shell access from anywhere on the development machin
4545

4646
Use the previously installed MongoDB Shell in the following steps to create a database, make collections, and store documents. For more information on MongoDB Shell commands, see [`mongosh`](https://docs.mongodb.com/mongodb-shell/run-commands/).
4747

48-
1. Open a MongoDB command shell instance by launching `mongosh.exe`.
49-
1. In the command shell connect to the default test database by running the following command:
48+
1. Open a MongoDB command shell instance by launching `mongosh.exe`, or by running the following command in the command shell:
5049

5150
```console
5251
mongosh
5352
```
5453

55-
1. Run the following command in the command shell:
54+
1. In the command shell connect to the default test database by running:
5655

5756
```console
5857
use BookStore

aspnetcore/tutorials/first-mongo-app/includes/first-mongo-app8.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ Enable MongoDB and MongoDB Shell access from anywhere on the development machine
5252

5353
Use the previously installed MongoDB Shell in the following steps to create a database, make collections, and store documents. For more information on MongoDB Shell commands, see [`mongosh`](https://docs.mongodb.com/mongodb-shell/run-commands/).
5454

55-
1. Open a MongoDB command shell instance by launching `mongosh.exe`.
56-
1. In the command shell, connect to the default test database by running the following command:
55+
1. Open a MongoDB command shell instance by launching `mongosh.exe`, or by running the following command in the command shell:
5756

5857
```console
5958
mongosh
6059
```
6160

62-
1. Run the following command in the command shell:
63-
61+
1. In the command shell connect to the default test database by running:
6462
```console
6563
use BookStore
6664
```
@@ -262,7 +260,7 @@ The preceding web API controller:
262260

263261
1. Build and run the app.
264262

265-
2. Navigate to `https://localhost:<port>/api/books`, where `<port>` is the automatically assigned port number for the app, to test the controller's parameterless `Get` action method. A JSON response similar to the following is displayed:
263+
1. Navigate to `https://localhost:<port>/api/books`, where `<port>` is the automatically assigned port number for the app, to test the controller's parameterless `Get` action method. A JSON response similar to the following is displayed:
266264

267265
```json
268266
[
@@ -283,7 +281,7 @@ The preceding web API controller:
283281
]
284282
```
285283

286-
3. Navigate to `https://localhost:<port>/api/books/{id here}` to test the controller's overloaded `Get` action method. A JSON response similar to the following is displayed:
284+
1. Navigate to `https://localhost:<port>/api/books/{id here}` to test the controller's overloaded `Get` action method. A JSON response similar to the following is displayed:
287285

288286
```json
289287
{

0 commit comments

Comments
 (0)