Skip to content

Commit ce5c0c0

Browse files
committed
edits [netlify-build]
1 parent d5600c1 commit ce5c0c0

File tree

1 file changed

+6
-6
lines changed
  • src/connections/sources/catalog/libraries/server/csharp

1 file changed

+6
-6
lines changed

src/connections/sources/catalog/libraries/server/csharp/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ To get started with the Analytics-CSharp library:
5555
var analytics = new Analytics(configuration);
5656
```
5757

58-
| Option Name | Description |
59-
|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
58+
| Option Name | Description |
59+
|-----------------------------|---------------|
6060
| `writeKey` *required* | This is your Segment write key. |
6161
| `flushAt` | The default is set to `20`. <br> The count of events at which Segment flushes events. |
6262
| `flushInterval` | The default is set to `30` (seconds). <br> The interval in seconds at which Segment flushes events. |
@@ -489,7 +489,7 @@ class SegmentLogger : ISegmentLogger
489489

490490
## Customize HTTP Client
491491

492-
The SDK allows you to have full control over the network components. You can easily swap out System.Net with your favorite network library by implementing `IHTTPClientProvider` and extending `HTTPClient`. Take a look at [this example](https://github.com/segmentio/Analytics-CSharp/blob/main/Samples/UnitySample/UnityHTTPClient.cs) where the default http client is fully replaced by Unity's `UnityWebRequest`.
492+
The SDK allows you to have full control over the network components. You can easily swap out System.Net with your favorite network library by implementing `IHTTPClientProvider` and extending `HTTPClient`. Take a look at [this example](https://github.com/segmentio/Analytics-CSharp/blob/main/Samples/UnitySample/UnityHTTPClient.cs){:target="_blank"} where the default http client is fully replaced by Unity's `UnityWebRequest`.
493493
494494
### Proxying HTTP Calls
495495

@@ -525,7 +525,7 @@ class ProxyHttpClientProvider : IHTTPClientProvider
525525

526526
## Customize Storage
527527

528-
The SDK also allows you to fully customize your storage strategy. It comes with two standard providers: `DefaultStorageProvider` that stores data to local disk and `InMemoryStorageProvider` that stores data all in memory. You can write up your own provider according to your needs, for example, store data to a database or to your own server directly, by implementing `IStorage` and `IStorageProvider`. Please refer to the implementation of [`Storage`](https://github.com/segmentio/Analytics-CSharp/blob/main/Analytics-CSharp/Segment/Analytics/Utilities/Storage.cs) as example.
528+
The SDK also allows you to fully customize your storage strategy. It comes with two standard providers: `DefaultStorageProvider` that stores data to local disk and `InMemoryStorageProvider` that stores data all in memory. You can write up your own provider according to your needs, for example, store data to a database or to your own server directly, by implementing `IStorage` and `IStorageProvider`. Please refer to the implementation of [`Storage`](https://github.com/segmentio/Analytics-CSharp/blob/main/Analytics-CSharp/Segment/Analytics/Utilities/Storage.cs){:target="_blank"} as an example.
529529
530530
## Json Library
531531

@@ -551,8 +551,8 @@ JsonObject customerJsonObj = new JsonObject
551551

552552
For sample usages of the SDK in specific platforms, checkout the following:
553553

554-
| Platform | Sample |
555-
|-------------|----------------------------------------------------------------------------------------------------------------------------------------|
554+
| Platform | Sample |
555+
|-------------|----------------|
556556
| Asp.Net | [Set up with dependency injection](https://github.com/segmentio/Analytics-CSharp/tree/main/Samples/AspNetSample){:target="_blank"} |
557557
| Asp.Net MVC | [Set up with dependency injection](https://github.com/segmentio/Analytics-CSharp/blob/main/Samples/AspNetMvcSample){:target="_blank"} |
558558
| Console | [Basic setup](https://github.com/segmentio/Analytics-CSharp/tree/main/Samples/ConsoleSample/Program.cs){:target="_blank"} |

0 commit comments

Comments
 (0)