IceRPC templates.
$ dotnet add package IceRpc.TemplatesIceRpc.Templates provides dotnet new project templates for IceRPC. The following templates are included:
| Template Name | Description |
|---|---|
icerpc-protobuf-client | A project template for creating an IceRPC + Protobuf client console application. |
icerpc-protobuf-server | A project template for creating an IceRPC + Protobuf server console application. |
icerpc-protobuf-di-client | A project template for creating an IceRPC + Protobuf client console application using Microsoft's DI container. |
icerpc-protobuf-di-server | A project template for creating an IceRPC + Protobuf server console application using Microsoft's DI container. |
icerpc-slice-client | A project template for creating an IceRPC + Slice client console application. |
icerpc-slice-server | A project template for creating an IceRPC + Slice server console application. |
icerpc-slice-di-client | A project template for creating an IceRPC + Slice client console application using Microsoft's DI container. |
icerpc-slice-di-server | A project template for creating an IceRPC + Slice server console application using Microsoft's DI container. |
dotnet new install IceRpc.Templates
Create an IceRPC + Slice command line server application:
dotnet new icerpc-slice-server -o MyServer
cd MyServer
dotnet build
dotnet run
Create an IceRPC + Slice command line client application:
dotnet new icerpc-slice-client -o MyClient
cd MyClient
dotnet build
dotnet run