Transceiver.Generator
1.0.1
See the version list below for details.
dotnet add package Transceiver.Generator --version 1.0.1
NuGet\Install-Package Transceiver.Generator -Version 1.0.1
<PackageReference Include="Transceiver.Generator" Version="1.0.1" />
<PackageVersion Include="Transceiver.Generator" Version="1.0.1" />
<PackageReference Include="Transceiver.Generator" />
paket add Transceiver.Generator --version 1.0.1
#r "nuget: Transceiver.Generator, 1.0.1"
#:package Transceiver.Generator@1.0.1
#addin nuget:?package=Transceiver.Generator&version=1.0.1
#tool nuget:?package=Transceiver.Generator&version=1.0.1
Transceiver
Transceiver allows you to send messages In-process, between processes and between machines. Implementing, Request/Response and Publish/Subscribe patterns. It also offers integration with relevant queuing Services like AmazonSQS, Azure Queues, Google Publish/Subscribe, RabbitMQ, Kafka and others.
Setting up Transceiver
Transceiver has been built with DI in mind, and provides methods that allows you to configure its depedencies. You can configure Transceiver in the following way:
public override void Run(IServiceCollection services, CancellationToken cancellationToken)
{
Assembly assembly = this.GetType().Assembly;
_ = services.AddTransceiver((config) =>
{
ITransceiverSetup setup = config.ConfigureTcp(new(IPAddress.Loopback, ServerPort));
setup.SetupServer(false);
setup.SetupClient();
}, assembly);
ServiceProvider provider = services.BuildServiceProvider();
provider.ConfigureTransceiverProvider(assembly);
}
Using Transceiver
Transceiver implements Request/Response and Publish/Subscribe patterns.
It offers the methods TransceiveOnceAsync and TransceiveMany allowing to receive one, or multiple responses, per each request.
Please see the Demo for an example on how to use it.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.