![]() |
VOOZH | about |
dotnet add package IceRpc.Extensions.DependencyInjection --version 0.6.0
NuGet\Install-Package IceRpc.Extensions.DependencyInjection -Version 0.6.0
<PackageReference Include="IceRpc.Extensions.DependencyInjection" Version="0.6.0" />
<PackageVersion Include="IceRpc.Extensions.DependencyInjection" Version="0.6.0" />Directory.Packages.props
<PackageReference Include="IceRpc.Extensions.DependencyInjection" />Project file
paket add IceRpc.Extensions.DependencyInjection --version 0.6.0
#r "nuget: IceRpc.Extensions.DependencyInjection, 0.6.0"
#:package IceRpc.Extensions.DependencyInjection@0.6.0
#addin nuget:?package=IceRpc.Extensions.DependencyInjection&version=0.6.0Install as a Cake Addin
#tool nuget:?package=IceRpc.Extensions.DependencyInjection&version=0.6.0Install as a Cake Tool
IceRpc.Extensions.DependencyInjection helps you build applications with IceRPC and Microsoft's DI container.
Source code | Package | Example | API reference | Product documentation
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
var hostBuilder = Host.CreateDefaultBuilder(args);
hostBuilder.ConfigureServices(services =>
services
.AddIceRpcClientConnection(new Uri("icerpc://localhost"))
// Builds an invocation pipeline singleton.
.AddIceRpcInvoker(builder =>
builder
.UseDeadline(TimeSpan.FromSeconds(20))
.UseLogger()
.Into<ClientConnection>()));
using var host = hostBuilder.Build();
host.Run();
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
var hostBuilder = Host.CreateDefaultBuilder(args);
hostBuilder.ConfigureServices(services =>
services
// Add a server and configure its dispatch pipeline.
.AddIceRpcServer(builder =>
builder
.UseDeadline()
.UseLogger()
.Map<...>()));
using var host = hostBuilder.Build();
host.Run();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0 | 115 | 6/5/2026 |
| 0.5.2 | 121 | 5/18/2026 |
| 0.5.1 | 224 | 1/7/2026 |
| 0.5.0 | 762 | 12/1/2025 |
| 0.4.1 | 396 | 11/15/2024 |
| 0.4.0.1 | 306 | 9/17/2024 |
| 0.4.0 | 240 | 9/16/2024 |
| 0.3.1 | 479 | 3/28/2024 |
| 0.3.0 | 527 | 2/14/2024 |
| 0.2.1 | 437 | 12/12/2023 |
| 0.2.0 | 546 | 12/4/2023 |
| 0.1.2 | 246 | 10/9/2023 |
| 0.1.1 | 239 | 9/18/2023 |
| 0.1.0 | 285 | 9/6/2023 |