assistant.net.messaging.generic.server 0.5.182

dotnet add package assistant.net.messaging.generic.server --version 0.5.182
                    
NuGet\Install-Package assistant.net.messaging.generic.server -Version 0.5.182
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="assistant.net.messaging.generic.server" Version="0.5.182" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="assistant.net.messaging.generic.server" Version="0.5.182" />
                    
Directory.Packages.props
<PackageReference Include="assistant.net.messaging.generic.server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add assistant.net.messaging.generic.server --version 0.5.182
                    
#r "nuget: assistant.net.messaging.generic.server, 0.5.182"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package assistant.net.messaging.generic.server@0.5.182
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=assistant.net.messaging.generic.server&version=0.5.182
                    
Install as a Cake Addin
#tool nuget:?package=assistant.net.messaging.generic.server&version=0.5.182
                    
Install as a Cake Tool

assistant.net.messaging.generic.server

A messaging server extension which handles messages from a generic client communicating via the same storage.

Configuration

  1. Configure message handling on a hosted server
// Startup.cs: void ConfigureServices(IServiceCollection services)
services
    .AddGenericMessageHandling(b => ...) // adds dependencies and initial configuration
    .ConfigureGenericMessageHandling(b => ...); // appends existing configuration (no dependencies are added)
  1. Register message handlers
services.ConfigureGenericMessageHandling(b => b.AddHandler<SomeMessageHandler>());
// or named messaging client
services.ConfigureMessageClient(b => b.AddHandler<SomeMessageHandler>());

Note As configured message handler will be run in non-default named options so all its dependencies should be configured the same named context or create own appropriately named DI scope to get dependencies from another named context.

  1. Configure a single message handler
services.ConfigureGenericMessageHandling(b => b.UseMongo(o => ...)); // or other provider
// or
services.ConfigureMessageClient(b => b.UseMongo(o => ...)); // or other provider
// or
services.ConfigureStorage(b => b.UseMongo(o => ...)); // or other provider
  1. Configure messaging client for generic message handling additionally.

Named configuration

Message handling implementation is based on named options so you can have multiple named message handling servers with different configurations.

services
    .AddGenericMessageHandling(b => b.AddHandler<Handle1>()) // default name registration
    .AddGenericMessageHandling("name-1", b => b.AddHandler<Handle2>()) // named registration
    .AddGenericMessageHandling("name-2", b => b.AddHandler<Handle3>()); // named registration
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on assistant.net.messaging.generic.server:

Package Downloads
assistant.net.messaging.mongo.server

MongoDB based server message handling.

assistant.net.messaging.sqlite.server

A server for SQLite based remote message handling server.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.182 312 5/8/2023
0.4.151 328 3/28/2023
0.4.145 347 3/22/2023
0.4.144 700 9/4/2022
0.4.140 721 8/13/2022
0.3.139 701 8/9/2022
0.3.138 692 8/7/2022
0.3.137 689 8/6/2022
0.3.135 754 7/14/2022
0.3.133 700 7/4/2022
0.3.127 718 6/26/2022
0.3.125 747 6/25/2022
0.3.123 710 6/23/2022
0.3.121 692 6/22/2022
0.3.119 699 6/20/2022