Skip to content

Latest commit

 

History

History

slice

Examples

This folder contains example applications that showcase the IceRPC + Slice integration.

Compress Shows how to use the compress interceptor and middleware.
CustomError Shows how to return custom errors from operations with the Result<Success, Failure> type.
Deadline Shows how to use the deadline interceptor to set the invocation deadline.
DiscriminatedUnion Shows how to define and use discriminated unions in Slice.
Download Shows how to download a file from a server by streaming this file.
GenericHost Shows how to create client and server applications using Microsoft's Dependency Injection container.
Greeter Shows how to call and implement a canonical Greeter service using the IceRPC + Slice integration.
InteropIceGrid Shows how an IceRPC client can call services hosted by servers managed by IceGrid.
InteropMinimal shows how an IceRPC client can call a service hosted by an Ice server.
Logger Shows how to enable logging.
Metrics Shows how to use the metrics interceptor and middleware.
MultipleInterfaces Shows how a service can implement multiple interfaces.
Quic Shows how to use the QUIC transport.
RequestContext Shows how to attach information to an invocation and retrieve this information from the dispatch in the server.
Retry Shows how to use the retry interceptor to retry failed requests.
Secure Shows how to secure TCP connections with TLS.
Stream Shows how to stream data from a client to a server.
TcpFallback Shows how to create client and server applications that communicate over QUIC when possible but can fall back to TCP.
Telemetry Shows how to use the telemetry interceptor and middleware.
Thermostat Shows how to send requests via an intermediary server; includes sending requests the "other way around", from a server to a client.
Upload Shows how to upload a file from a client to a server by streaming this file.