Franz.Common.Bootstrap 1.2.62

There is a newer version of this package available.
See the version list below for details.
dotnet add package Franz.Common.Bootstrap --version 1.2.62                
NuGet\Install-Package Franz.Common.Bootstrap -Version 1.2.62                
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.Bootstrap" Version="1.2.62" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Franz.Common.Bootstrap --version 1.2.62                
#r "nuget: Franz.Common.Bootstrap, 1.2.62"                
#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.Bootstrap as a Cake Addin
#addin nuget:?package=Franz.Common.Bootstrap&version=1.2.62

// Install Franz.Common.Bootstrap as a Cake Tool
#tool nuget:?package=Franz.Common.Bootstrap&version=1.2.62                

Franz.Common.Bootstrap

A foundational library within the Franz Framework, designed to simplify the application startup process by centralizing dependency injection, resource management, and configuration. This package integrates seamlessly with other Franz Framework libraries to provide a streamlined and modular development experience.


Features

  • Service Registration:
    • ServiceCollectionExtensions to bootstrap common dependencies for application startup.
  • Resource Management:
    • Resources.resx for centralized localization and configuration resources.
  • Modular Integration:
    • Seamlessly integrates with key Franz Framework libraries, such as:
      • Franz.Common.AutoMapper
      • Franz.Common.Business
      • Franz.Common.DependencyInjection
      • Franz.Common.Hosting
      • Franz.Common.Logging

Version Information

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

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.Bootstrap --version 1.2.62

Usage

1. Bootstrap Dependencies

Use the ServiceCollectionExtensions to register common dependencies with a single method:

using Franz.Common.Bootstrap;

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.BootstrapCommonServices(); // Registers shared dependencies like Logging, AutoMapper, Hosting, etc.
    }
}

This ensures all key dependencies from the Franz Framework are automatically registered.


2. Resource Management

Access localized strings or configuration values from Resources.resx:

var message = Properties.Resources.SomeKey; // Retrieves a value by its key

Dependencies

The Franz.Common.Bootstrap library integrates with and relies on other key Franz Framework libraries:

  • Franz.Common.AutoMapper: For mapping configurations.
  • Franz.Common.Business: Provides business logic utilities.
  • Franz.Common.DependencyInjection: Simplifies dependency injection patterns.
  • Franz.Common.Hosting: Manages hosting-related configurations.
  • Franz.Common.Logging: Integrates with logging frameworks.

Make sure these packages are installed and accessible within your project if required.


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.
  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.62

  • Added ServiceCollectionExtensions for dependency registration.
  • Integrated with Resources.resx for centralized resource management.
  • Full compatibility with core Franz Framework libraries.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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 Franz.Common.Bootstrap:

Package Downloads
Franz.Common.Messaging.Bootstrap

Shared utility library for the Franz Framework.

Franz.Common.Http.Bootstrap

Shared utility library for the Franz Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.64 4 1/29/2025
1.2.63 39 1/27/2025
1.2.62 54 1/8/2025