Skip to content

Commit f011b4b

Browse files
author
craigcaseyMSFT
committed
fix PM build warnings
1 parent 2de9991 commit f011b4b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/cosmos-db/local-emulator.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ As with the Azure Cosmos DB, the Azure Cosmos Emulator supports only secure comm
100100

101101
You can run the emulator on a local network. To enable network access, specify the `/AllowNetworkAccess` option at the [command-line](#command-line-syntax), which also requires that you specify `/Key=key_string` or `/KeyFile=file_name`. You can use `/GenKeyFile=file_name` to generate a file with a random key upfront. Then you can pass that to `/KeyFile=file_name` or `/Key=contents_of_file`.
102102

103-
To enable network access for the first time the user should shut down the emulator and delete the emulators data directory (%LOCALAPPDATA%\CosmosDBEmulator).
103+
To enable network access for the first time the user should shut down the emulator and delete the emulator's data directory (%LOCALAPPDATA%\CosmosDBEmulator).
104104

105105
## Developing with the emulator
106106

@@ -125,7 +125,7 @@ mongodb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mG
125125

126126
### Table API
127127

128-
Once you have the Azure Cosmos Emulator running on your desktop, you can use the [Azure Cosmos DB Table API SDK](table-storage-how-to-use-dotnet.md) to interact with the emulator. Start emulator from command prompt as an administrator with /EnableTableEndpoint. Next run the following code to connect to the table API account:
128+
Once you have the Azure Cosmos Emulator running on your desktop, you can use the [Azure Cosmos DB Table API SDK](table-storage-how-to-use-dotnet.md) to interact with the emulator. Start emulator from command prompt as an administrator with "/EnableTableEndpoint". Next run the following code to connect to the table API account:
129129

130130
```csharp
131131
using Microsoft.WindowsAzure.Storage;
@@ -144,7 +144,7 @@ table.Execute(TableOperation.Insert(new DynamicTableEntity("partitionKey", "rowK
144144

145145
### Cassandra API
146146

147-
Start emulator from an administrator command prompt with /EnableCassandraEndpoint. Alternatively you can also set the environment variable `AZURE_COSMOS_EMULATOR_CASSANDRA_ENDPOINT=true`.
147+
Start emulator from an administrator command prompt with "/EnableCassandraEndpoint". Alternatively you can also set the environment variable `AZURE_COSMOS_EMULATOR_CASSANDRA_ENDPOINT=true`.
148148

149149
* [Install Python 2.7](https://www.python.org/downloads/release/python-2716/)
150150

@@ -174,11 +174,11 @@ Start emulator from an administrator command prompt with “/EnableCassandraEndp
174174

175175
### Gremlin API
176176

177-
Start emulator from an administrator command prompt with /EnableGremlinEndpoint. Alternatively you can also set the environment variable `AZURE_COSMOS_EMULATOR_GREMLIN_ENDPOINT=true`
177+
Start emulator from an administrator command prompt with "/EnableGremlinEndpoint". Alternatively you can also set the environment variable `AZURE_COSMOS_EMULATOR_GREMLIN_ENDPOINT=true`
178178

179179
* [Install apache-tinkerpop-gremlin-console-3.3.4](https://archive.apache.org/dist/tinkerpop/3.3.4).
180180

181-
* In the emulators Data Explorer create a database "db1" and a collection "coll1"; for the partition key, choose "/name"
181+
* In the emulator's Data Explorer create a database "db1" and a collection "coll1"; for the partition key, choose "/name"
182182

183183
* Run the following commands in a regular command prompt window:
184184

@@ -408,7 +408,7 @@ cd $env:LOCALAPPDATA\CosmosDBEmulator\bind-mount
408408
.\importcert.ps1
409409
```
410410
411-
Closing the interactive shell once the emulator has been started will shut down the emulators container.
411+
Closing the interactive shell once the emulator has been started will shut down the emulator's container.
412412
413413
To open the Data Explorer, navigate to the following URL in your browser. The emulator endpoint is provided in the response message shown above.
414414
@@ -440,7 +440,7 @@ Finally, we need to import the Emulator CA certificate into the Linux or Mac env
440440
441441
If you are working on Linux, .NET relays on OpenSSL to do the validation:
442442
443-
1. [Export the certificate in PFX format](./local-emulator-export-ssl-certificates.md#how-to-export-the-azure-cosmos-db-ssl-certificate) (PFX is available when choosing to export the private key).
443+
1. [Export the certificate in PFX format](./local-emulator-export-ssl-certificates.md#how-to-export-the-azure-cosmos-db-tlsssl-certificate) (PFX is available when choosing to export the private key).
444444
445445
1. Copy that PFX file into your Linux environment.
446446
@@ -466,7 +466,7 @@ If you are working on Linux, .NET relays on OpenSSL to do the validation:
466466
467467
Use the following steps if you are working on Mac:
468468
469-
1. [Export the certificate in PFX format](./local-emulator-export-ssl-certificates.md#how-to-export-the-azure-cosmos-db-ssl-certificate) (PFX is available when choosing to export the private key).
469+
1. [Export the certificate in PFX format](./local-emulator-export-ssl-certificates.md#how-to-export-the-azure-cosmos-db-tlsssl-certificate) (PFX is available when choosing to export the private key).
470470
471471
1. Copy that PFX file into your Mac environment.
472472

0 commit comments

Comments
 (0)