Franz.Common.Http.Bootstrap 1.2.62

dotnet add package Franz.Common.Http.Bootstrap --version 1.2.62                
NuGet\Install-Package Franz.Common.Http.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.Http.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.Http.Bootstrap --version 1.2.62                
#r "nuget: Franz.Common.Http.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.Http.Bootstrap as a Cake Addin
#addin nuget:?package=Franz.Common.Http.Bootstrap&version=1.2.62

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

Franz.Common.Http.Bootstrap

A comprehensive library within the Franz Framework, designed to centralize and simplify the configuration of ASP.NET Core applications. This package provides a unified setup for HTTP-related features, such as authentication, headers, documentation, and multi-tenancy, by leveraging other Franz Framework components.


Features

  • Centralized Bootstrap:
    • Combines HTTP-related functionality into a single streamlined configuration process.
  • Integrated Extensions:
    • ApplicationBuilderExtensions and HostBuilderExtensions for pipeline and hosting customization.
    • ServiceCollectionExtensions for dependency injection setup.
  • Modular Integration:
    • Seamlessly integrates with:
      • Franz.Common.Http
      • Franz.Common.Http.Authentication
      • Franz.Common.Http.Headers
      • Franz.Common.Http.Documentation
      • Franz.Common.Http.Identity
      • Franz.Common.Http.MultiTenancy

Version Information

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

Dependencies

This package depends on the following Franz Framework components:

  • Franz.Common.Bootstrap: For application initialization and modular configuration.
  • Franz.Common.Http: Core HTTP utilities.
  • Franz.Common.Http.Authentication: Simplified JWT authentication setup.
  • Franz.Common.Http.Headers: HTTP header utilities and extensions.
  • Franz.Common.Http.Documentation: API documentation utilities (e.g., Swagger).
  • Franz.Common.Http.Identity: Identity management for HTTP-based applications.
  • Franz.Common.Http.MultiTenancy: Multi-tenant configurations for HTTP services.

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

Usage

1. Unified HTTP Bootstrap

Use the ServiceCollectionExtensions to bootstrap HTTP-related functionality in one step:

using Franz.Common.Http.Bootstrap.Extensions;

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddHttpBootstrap(); // Registers all HTTP-related services
    }

    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        app.UseHttpBootstrap(); // Configures middleware pipeline
    }
}

2. Customizing Host Configuration

Extend HostBuilder to customize hosting initialization:

using Franz.Common.Http.Bootstrap.Extensions;

var host = Host.CreateDefaultBuilder(args)
    .UseHttpBootstrap() // Adds Franz HTTP hosting configuration
    .Build();

await host.RunAsync();

3. Modular Integration

Use this package to integrate functionality from other HTTP-related Franz Framework libraries:

  • Authentication: Easily set up JWT authentication.
  • Headers: Manage custom headers.
  • Documentation: Enable Swagger for API documentation.
  • MultiTenancy: Support tenant-specific HTTP configurations.

Integration with Franz Framework

The Franz.Common.Http.Bootstrap package acts as a central hub for integrating and configuring HTTP-related components. It relies on and integrates seamlessly with:

  • Franz.Common.Bootstrap
  • Franz.Common.Http
  • Franz.Common.Http.Authentication
  • Franz.Common.Http.Headers
  • Franz.Common.Http.Documentation
  • Franz.Common.Http.Identity
  • Franz.Common.Http.MultiTenancy

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.
  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 unified HTTP service registration.
  • Introduced ApplicationBuilderExtensions for middleware configuration.
  • Integrated HostBuilderExtensions for hosting customization.
  • Full compatibility with other Franz.Http components.
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

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.62 45 1/8/2025