SeliseBlocks.Genesis.Framework.Worker
6.0.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SeliseBlocks.Genesis.Framework.Worker --version 6.0.0.3
NuGet\Install-Package SeliseBlocks.Genesis.Framework.Worker -Version 6.0.0.3
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="SeliseBlocks.Genesis.Framework.Worker" Version="6.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SeliseBlocks.Genesis.Framework.Worker --version 6.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SeliseBlocks.Genesis.Framework.Worker, 6.0.0.3"
#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.
// Install SeliseBlocks.Genesis.Framework.Worker as a Cake Addin #addin nuget:?package=SeliseBlocks.Genesis.Framework.Worker&version=6.0.0.3 // Install SeliseBlocks.Genesis.Framework.Worker as a Cake Tool #tool nuget:?package=SeliseBlocks.Genesis.Framework.Worker&version=6.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This NuGet handles the Console Service bootstrapping mentioned above. For hosting, we do not use Web API. Instead, we use windows hosted service and RabbitMQ for inter-service communication. Through message transmission protocol MQP in RabbitMQ, Web API & hosting service communicates that also works as a writing model.
How to use in ConsoleService
//ConsoleService
public class Program
{
public static async Task Main(string[] args)
{
var rabbitMqHostBuilderOptions = new RabbitMqHostBuilderOptions
{
UseFileLogging = true,
UseConsoleLogging = true,
CommandLineArguments = args,
AddApplicationServices = AddApplicationServices,
AddRequiredQueues = AmpqServiceRegistration.AddRequiredQueues,
AddAmpqMessageConsumerOptions = AmpqServiceRegistration.AddMessageConsumerOptions
};
var hostBuilder = RabbitMqHostBuilder.BuildRabbitMqHost(rabbitMqHostBuilderOptions).UserStartupClass<Startup>();
await hostBuilder.Build().RunAsync();
}
private static void AddApplicationServices(IServiceCollection serviceCollection, IAppSettings appSettings)
{
// Add the required services into the DI here
}
}
Documentation
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.Extensions.Hosting (>= 7.0.1)
- RabbitMQ.Client (>= 6.5.0)
- SeliseBlocks.Genesis.Framework.Logger.File (>= 6.0.0.3)
- SeliseBlocks.Genesis.Framework.RedisClient (>= 6.0.0.3)
- SeliseBlocks.Genesis.Framework.Repositories (>= 6.0.0.3)
- SeliseBlocks.Genesis.Framework.ServiceClient (>= 6.0.0.3)
- System.IdentityModel.Tokens.Jwt (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
6.0.1.2 | 31,349 | 4/18/2024 | |
6.0.1.1 | 142 | 4/17/2024 | |
6.0.0.17 | 1,374 | 3/19/2024 | |
6.0.0.16 | 102 | 3/19/2024 | |
6.0.0.15 | 792 | 3/19/2024 | |
6.0.0.14 | 3,077 | 2/5/2024 | |
6.0.0.13 | 5,039 | 1/29/2024 | |
6.0.0.12 | 1,152 | 12/26/2023 | |
6.0.0.11 | 496 | 12/13/2023 | |
6.0.0.10 | 133 | 12/13/2023 | |
6.0.0.9 | 121 | 12/13/2023 | |
6.0.0.8 | 141 | 12/10/2023 | |
6.0.0.7 | 130 | 12/7/2023 | |
6.0.0.6 | 243 | 11/29/2023 | |
6.0.0.5 | 129 | 11/28/2023 | |
6.0.0.4 | 205 | 11/20/2023 | |
6.0.0.3 | 299 | 10/31/2023 | |
6.0.0.1 | 194 | 10/26/2023 |