Skip to content

Commit 5081e58

Browse files
authored
Fix misprints and small errors
1 parent 68da690 commit 5081e58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/tarantool.org/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use .net core installation instructions at https://www.microsoft.com/net/core#ub
88
NOTE:
99
1. Mono will not work, nor will .Net from xbuild. Only .net core supported on linux and mac.
1010
2. Read the Microsoft End User License Agreement first, because it is not an ordinary open-source agreement and there will be a message during installation saying “This software may collect information about you and your use of the software, and send that to Microsoft.”
11-
3. You can opt-out from telemetry by setting environment. See instructions at https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry#behavior
11+
3. You can opt-out from telemetry by setting environment variable. See instructions at https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry#behavior
1212

1313

1414
## Create new console project
@@ -38,7 +38,7 @@ public class HelloWorld
3838
{
3939
static public void Main ()
4040
{
41-
Test().Wait();
41+
Test().GetAwaiter().GetResult();
4242
}
4343
static async Task Test()
4444
{
@@ -54,13 +54,13 @@ EOT
5454

5555
## Build and run your app
5656

57-
Before trying to run, check that the server is listening at localhost:3301 and that the space examples exists, as described earlier.
57+
Before trying to run, check that the server is listening at `localhost:3301` and that the space `examples` exists, as described [earlier](https://tarantool.org/en/doc/1.7/book/connectors/index.html#index-connector-setting).
5858

5959
```
6060
dotnet restore
6161
dotnet run
6262
```
6363

64-
The program will connect using an application-specific definition of the space. The program will open a socket connection with the Tarantool server at localhost:3301, then send an INSERT request, then — if all is well — end without saying anything. If Tarantool is not running on localhost with listen port = 3301, or if user guest does not have authorization to connect, or if the insert request fails for any reason, the program will print an error message, among other things (stacktrace, etc).
64+
The program will connect using an application-specific definition of the space. The program will open a socket connection with the Tarantool server at `localhost:3301`, then send an INSERT request, then — if all is well — end without saying anything. If Tarantool is not running on localhost with listen port = 3301, or if user guest does not have authorization to connect, or if the insert request fails for any reason, the program will print an error message, among other things (stacktrace, etc).
6565

6666
The example program only shows one request and does not show all that’s necessary for good practice. For that, please see the [progaudi.tarantool](https://github.com/progaudi/progaudi.tarantool) driver repository.

0 commit comments

Comments
 (0)