RzR.Infrastructure.BootstrapDefinition
2.0.0.7683
dotnet add package RzR.Infrastructure.BootstrapDefinition --version 2.0.0.7683
NuGet\Install-Package RzR.Infrastructure.BootstrapDefinition -Version 2.0.0.7683
<PackageReference Include="RzR.Infrastructure.BootstrapDefinition" Version="2.0.0.7683" />
<PackageVersion Include="RzR.Infrastructure.BootstrapDefinition" Version="2.0.0.7683" />
<PackageReference Include="RzR.Infrastructure.BootstrapDefinition" />
paket add RzR.Infrastructure.BootstrapDefinition --version 2.0.0.7683
#r "nuget: RzR.Infrastructure.BootstrapDefinition, 2.0.0.7683"
#:package RzR.Infrastructure.BootstrapDefinition@2.0.0.7683
#addin nuget:?package=RzR.Infrastructure.BootstrapDefinition&version=2.0.0.7683
#tool nuget:?package=RzR.Infrastructure.BootstrapDefinition&version=2.0.0.7683
The current repository allows you to maintain your start-up project class cleanly, and organize solution structure more clearly, simply readable, and reusable. As was said previously you can use the current repository if your project was written in netstandard 2.0+.
Using this functionality allows you to safely add new dependence, adjust existing or remove/relocate it without pain and with a few adjustments.
For correct using functionalities, you must extend the base class where are definitions for ConfigureServices and Configure. On implementation, override specified methods in dependence on parameters from your code. More details about using you can find in using document(usage.md) reflected in the repository.
No additional components or packs are required for use. So, it only needs to be added/installed in the project and can be used instantly.
- Context-based API — override
ServiceConfiguration(ServiceConfigurationContext)/ApplicationConfiguration(ApplicationConfigurationContext); a single argument carries all optional parameters (no more overload guessing). Legacy overloads remain available but are[Obsolete]and bridged. - Minimal-hosting support — first-class
builder.AddDefinitionDecorates(...)/app.UseDefinitionDecorates()forWebApplicationBuilder/WebApplicationon .NET 6+. - Async hooks —
ServiceConfigurationAsync/ApplicationConfigurationAsyncplus asyncAdd/Useextensions. - Config-driven enable/disable — toggle a definition from
appsettings.jsonviaDefinitionDecorates:{Type.FullName}:Enabled(overrides the code default). [DependsOn]ordering — declare that one definition must run after another; resolved by a topological sort with cycle detection, withInitializeOrderthen type name as the stable tiebreak.- Plugin-safe scanning — assembly +
Func<Type,bool>allow-list overloads (with a security note about scanning untrusted assemblies). - Startup diagnostics — logs which definitions were discovered, skipped (and why), and their activation order.
- Robustness fixes —
ReflectionTypeLoadExceptionhandling, null guards, type de-duplication, deterministic ordering, accumulating (non-shadowing) registration, and actionable errors.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 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 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.32)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.32)
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.32)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.32)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.32)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.32)
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.32)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.32)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
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 |
|---|---|---|
| 2.0.0.7683 | 49 | 6/8/2026 |