BassUtils.NetCore 4.6.0

.NET Core 3.1
dotnet add package BassUtils.NetCore --version 4.6.0
NuGet\Install-Package BassUtils.NetCore -Version 4.6.0
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="BassUtils.NetCore" Version="4.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BassUtils.NetCore --version 4.6.0
#r "nuget: BassUtils.NetCore, 4.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BassUtils.NetCore as a Cake Addin
#addin nuget:?package=BassUtils.NetCore&version=4.6.0

// Install BassUtils.NetCore as a Cake Tool
#tool nuget:?package=BassUtils.NetCore&version=4.6.0


NuGet Badge

Low-level utility functions for use in any .Net Core 3.1 and later project. Available on NuGet

Notable mainly for its middleware (app.UseRuntimeInfo()), which will produce a lot of detailed information about loaded assemblies, machine environment etc., at a '/runtimeinfo' endpoint.

Also contains some extensions to IServiceCollection to aid with registering strongly-typed configuration classes, including those that will respond to changes in the configuration at runtime without restarting the app.

Also available: BassUtils and BassUtils.Oracle

Change History

  • Display the process up-time on the runtimeinfo middleware endpoint, plus the value of the two critical ASP.Net Core environment variables.
  • Added new extension method AddConfigurationModelWithMonitoring to allow the easy registration of configuration classes that will respond to changes in the environment or configuration file, allowing configuration to be easily changed at runtime.
  • Deprecated extension method AddConfigurationModel in favour of the identical, but more explicitly named, AddConfigurationModelAsSingleton.
  • Exposed ValidateConfigurationAndThrow as a public helper method. It is not an extension method, however, as there is nothing really for it to extend.
  • Trimmed the READMEs for the 3 BassUtils packages to be just relevant to them.
  • Added NuGet badges.
  • Bumped dependencies. No functional changes.
Added BassUtils.NetCore
  • Added BassUtils.NetCore library.
  • Added RuntimeInformationMiddleware and app.UseRuntimeInfo extension method.
  • Added services.AddConfigurationModel.
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
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
4.6.0 1,069 2/12/2022
4.5.0 176 1/11/2022
4.4.2 143 1/1/2022
4.4.1 138 12/28/2021
4.2.4-alpha-g3e4abfb12d 97 12/17/2021
4.2.2-alpha-g73bc890b96 94 12/16/2021
4.2.1-alpha-gd2c57a210b 103 12/16/2021
4.1.12 5,363 11/24/2021
4.1.0-alpha 100 11/9/2021

2022-01-11 Add AddConfigurationModelWithMonitoring method. Deprecate AddConfigurationModel in favour of AddConfigurationModelAsSingletion.
     2021-11-08 Create BassUtils.NetCore package.