Skip to content

Commit 6377b62

Browse files
authored
feat: Add missing .NET modules (#117)
1 parent b41d986 commit 6377b62

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

modules/azure-eventhubs/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ docs:
2828
<scope>test</scope>
2929
</dependency>
3030
```
31+
- id: dotnet
32+
url: https://www.nuget.org/packages/Testcontainers.EventHubs
33+
maintainer: core
34+
example: |
35+
```csharp
36+
var eventHubsContainer = new EventHubsBuilder()
37+
.WithImage("mcr.microsoft.com/azure-messaging/eventhubs-emulator:latest")
38+
.Build();
39+
await eventHubsContainer.StartAsync();
40+
```
41+
installation: |
42+
```bash
43+
dotnet add package Testcontainers.EventHubs
44+
```
3145
description: |
3246
Azure Event Hubs emulator is designed to offer a local development experience for Azure Event Hubs.
3347
---

modules/azure-servicebus/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ docs:
3131
<scope>test</scope>
3232
</dependency>
3333
```
34+
- id: dotnet
35+
url: https://www.nuget.org/packages/Testcontainers.ServiceBus
36+
maintainer: core
37+
example: |
38+
```csharp
39+
var serviceBusContainer = new ServiceBusBuilder()
40+
.WithImage("mcr.microsoft.com/azure-messaging/servicebus-emulator:latest")
41+
.Build();
42+
await serviceBusContainer.StartAsync();
43+
```
44+
installation: |
45+
```bash
46+
dotnet add package Testcontainers.ServiceBus
47+
```
3448
description: |
3549
The Azure Service Bus emulator offers a local development experience for the Service bus service.
3650
---

modules/cassandra/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ docs:
3131
```bash
3232
go get github.com/testcontainers/testcontainers-go/modules/cassandra
3333
```
34+
- id: dotnet
35+
url: https://www.nuget.org/packages/Testcontainers.Cassandra
36+
maintainer: core
37+
example: |
38+
```csharp
39+
var cassandraContainer = new CassandraBuilder()
40+
.WithImage("cassandra:5.0")
41+
.Build();
42+
await cassandraContainer.StartAsync();
43+
```
44+
installation: |
45+
```bash
46+
dotnet add package Testcontainers.Cassandra
47+
```
3448
- id: nodejs
3549
url: https://node.testcontainers.org/modules/cassandra/
3650
maintainer: core

modules/db2/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ docs:
2121
<scope>test</scope>
2222
</dependency>
2323
```
24+
- id: dotnet
25+
url: https://www.nuget.org/packages/Testcontainers.Db2
26+
maintainer: core
27+
example: |
28+
```csharp
29+
var db2Container = new Db2Builder()
30+
.WithImage("icr.io/db2_community/db2:12.1.0.0")
31+
.Build();
32+
await db2Container.StartAsync();
33+
```
34+
installation: |
35+
```bash
36+
dotnet add package Testcontainers.Db2
37+
```
2438
- id: python
2539
url: https://testcontainers-python.readthedocs.io/en/latest/modules/db2/README.html
2640
maintainer: core

0 commit comments

Comments
 (0)