Franz.Common.Http.Messaging 1.2.64

dotnet add package Franz.Common.Http.Messaging --version 1.2.64                
NuGet\Install-Package Franz.Common.Http.Messaging -Version 1.2.64                
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="Franz.Common.Http.Messaging" Version="1.2.64" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Franz.Common.Http.Messaging --version 1.2.64                
#r "nuget: Franz.Common.Http.Messaging, 1.2.64"                
#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 Franz.Common.Http.Messaging as a Cake Addin
#addin nuget:?package=Franz.Common.Http.Messaging&version=1.2.64

// Install Franz.Common.Http.Messaging as a Cake Tool
#tool nuget:?package=Franz.Common.Http.Messaging&version=1.2.64                

Franz.Common.Http.Messaging

A specialized library within the Franz Framework, designed to streamline the integration of messaging systems, health checks, and transaction management for HTTP-based services in ASP.NET Core applications. This package provides tools to ensure seamless messaging health monitoring and transactional consistency in distributed systems.


Features

  • Messaging Health Checks:
    • KafkaHealthCheck for monitoring the health of Kafka messaging systems.
  • Transaction Management:
    • TransactionFilter for ensuring transactional consistency in HTTP requests.
  • Dependency Injection:
    • ServiceCollectionExtensions for registering messaging and transaction-related services easily.

Version Information

  • Current Version: 1.2.64
  • Part of the private Franz Framework ecosystem.

Dependencies

This package depends on the following:

  • Franz.Common.Http: For HTTP utilities and middleware integration.
  • Franz.Common: Provides foundational utilities.
  • Franz.Common.Messaging (if available): Additional messaging-related abstractions and utilities.

Installation

From Private Azure Feed

Since this package is hosted privately, configure your NuGet client:

dotnet nuget add source "https://your-private-feed-url" \
  --name "AzurePrivateFeed" \
  --username "YourAzureUsername" \
  --password "YourAzurePassword" \
  --store-password-in-clear-text

Install the package:

dotnet add package Franz.Common.Http.Messaging --Version 1.2.64

Usage

1. Messaging Health Checks

Register and configure Kafka health checks:

using Franz.Common.Http.Messaging.Healthchecks;

services.AddHealthChecks()
    .AddCheck<KafkaHealthCheck>("Kafka");

This will monitor the Kafka messaging system's health and integrate it into ASP.NET Core's health check system.

2. Transaction Management

Apply the TransactionFilter to ensure transactional consistency:

using Franz.Common.Http.Messaging.Transactions;

services.AddControllers(options =>
{
    options.Filters.Add<TransactionFilter>();
});

3. Dependency Injection

Register messaging and transaction services with ServiceCollectionExtensions:

using Franz.Common.Http.Messaging.Extensions;

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddMessagingUtilities(); // Registers messaging utilities and services
    }
}

Integration with Franz Framework

The Franz.Common.Http.Messaging package integrates seamlessly with:

  • Franz.Common.Http: Enhances HTTP-based applications with messaging support.
  • Franz.Common: Provides foundational utilities and patterns.

Ensure these dependencies are installed to fully leverage the library's capabilities.


Contributing

This package is part of a private framework. Contributions are limited to the internal development team. If you have access, follow these steps:

  1. Clone the repository. @ https://github.com/bestacio89/Franz.Common/ @ https://github.com/bestacio89/Franz.Common/
  2. Create a feature branch.
  3. Submit a pull request for review.

License

This library is licensed under the MIT License. See the LICENSE file for more details.


Changelog

Version 1.2.64

  • Upgrade version to .net 9
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.2.64 6 1/29/2025
1.2.63 52 1/27/2025
1.2.62 54 1/8/2025