You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/tarantool.org/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Use .net core installation instructions at https://www.microsoft.com/net/core#ub
8
8
NOTE:
9
9
1. Mono will not work, nor will .Net from xbuild. Only .net core supported on linux and mac.
10
10
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
12
12
13
13
14
14
## Create new console project
@@ -38,7 +38,7 @@ public class HelloWorld
38
38
{
39
39
static public void Main ()
40
40
{
41
-
Test().Wait();
41
+
Test().GetAwaiter().GetResult();
42
42
}
43
43
static async Task Test()
44
44
{
@@ -54,13 +54,13 @@ EOT
54
54
55
55
## Build and run your app
56
56
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).
58
58
59
59
```
60
60
dotnet restore
61
61
dotnet run
62
62
```
63
63
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).
65
65
66
66
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