You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "mmodzelewski (via GitHub)" <gi...@apache.org> on 2026/02/24 09:11:18 UTC

[I] C# SDK: Add TCP/TLS examples [iggy]

mmodzelewski opened a new issue, #2806:
URL: https://github.com/apache/iggy/issues/2806

   ## Summary
   
   The C# SDK has TCP/TLS support fully implemented and even has dedicated integration tests (`IggyTlsConnectionTests.cs` with `IggyTlsServerFixture.cs`), but there are no TLS examples in `examples/csharp/`.
   
   ## Current State
   
   - **TLS implementation**: Full support via `SslStream` and `X509Certificate2Collection` in `TcpMessageStream.cs`
   - **Configuration**: `TlsSettings` class with `Enabled`, `Hostname`, and `CertificatePath` properties
   - **Integration tests**: Comprehensive TLS tests exist:
     - `Connect_WithTls_Should_Connect_Successfully`
     - `Connect_WithoutTls_Should_Throw_WhenTlsIsRequired`
     - `Connect_WithTls_CA_Should_Connect_Successfully`
   - **Examples**: No TLS-specific examples in `examples/csharp/` (only Basic, GettingStarted, MessageEnvelope exist)
   
   ## Requirements
   
   ### Examples
   - Add a TLS example project in `examples/csharp/` demonstrating:
     - How to configure `IggyClientConfigurator` with `TlsSettings` (enabled, hostname, certificate path)
     - How to use custom certificates from `core/certs/` (`iggy_cert.pem`, `iggy_ca_cert.pem`, `iggy.pfx`)
     - A simple producer/consumer flow over TLS
     - Include clear comments explaining TLS configuration options
   
   ## Reference
   
   - TLS configuration: `foreign/csharp/Iggy_SDK/Configuration/TlsConfiguration.cs`
   - Existing TLS tests: `foreign/csharp/Iggy_SDK.Tests.Integration/IggyTlsConnectionTests.cs`
   - Custom certs location: `core/certs/`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] C# SDK: Add TCP/TLS examples [iggy]

Posted by "atharvalade (via GitHub)" <gi...@apache.org>.
atharvalade commented on issue #2806:
URL: https://github.com/apache/iggy/issues/2806#issuecomment-3950336492

   I'd like to work on this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] C# SDK: Add TCP/TLS examples [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #2806: C# SDK: Add TCP/TLS examples
URL: https://github.com/apache/iggy/issues/2806


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org