J4JSoftware.DependencyInjection
2.6.0
dotnet add package J4JSoftware.DependencyInjection --version 2.6.0
NuGet\Install-Package J4JSoftware.DependencyInjection -Version 2.6.0
<PackageReference Include="J4JSoftware.DependencyInjection" Version="2.6.0" />
paket add J4JSoftware.DependencyInjection --version 2.6.0
#r "nuget: J4JSoftware.DependencyInjection, 2.6.0"
// Install J4JSoftware.DependencyInjection as a Cake Addin #addin nuget:?package=J4JSoftware.DependencyInjection&version=2.6.0 // Install J4JSoftware.DependencyInjection as a Cake Tool #tool nuget:?package=J4JSoftware.DependencyInjection&version=2.6.0
Programming Utilities
A collection of utilities I find useful and which are used in J4JSoftware projects.
To make these libraries more generally useful, as of 2023 April 4, logging has been migrated from Serilog to Microsoft's logging system.
In general, this means instances of ILoggerFactory
are used as construction parameters, rather than ILogger
.
This is because, while Serilog lets you scope an ILogger
instance to a new type, you can only define
the scope of a Microsoft ILogger
by calling ILoggerFactory.CreateLogger()
.
FWIW, in my projects I continue to use Serilog behind the scenes as my logging engine. It's great!
TL;DR
All these assemblies target Net7 and have nullability enabled.
All the assemblies are licensed under the GNU GPL-v3 (or later). See the license file for more details.
Assembly | Focus | Nuget |
---|---|---|
ConsoleUtilities | as needed run-time parameter configuration | |
DependencyInjection | general purpose composition root using Autofac and J4JLogging | |
DeusEx | general purpose root composition object based on Autofac | |
DeusWinApp | J4JDeusEx extensions for Win3 apps | |
EFCoreUtilities | organized definition of table rules | |
ExcelExport | wrapper to simplify use of NPOI | |
MahAppsMaterialDesign | add-ons for MahApps Material Design | |
MiscellaneousUtilities | various relatively small APIs | |
TopologicalSort | implementation of topological sort | |
TypeUtilities | utilities for filtering types supporting my dependency injection library | |
VisualUtilities | utilities for dealing with images, media, etc. | |
WindowsUtilities | Utilities supporting Windows/Win3 apps | |
WPFUtilities | utilities for WPF applications |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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 was computed. 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. |
-
net7.0
- Autofac (>= 7.0.0)
- Autofac.Configuration (>= 6.0.0)
- Autofac.Extensions.DependencyInjection (>= 8.0.0)
- J4JSoftware.Configuration.CommandLine (>= 4.3.0)
- J4JSoftware.DeusEx (>= 1.1.1)
- J4JSoftware.LoggingSerilog (>= 1.0.1)
- J4JSoftware.MiscellaneousUtilities (>= 2.4.1)
- J4JSoftware.TypeUtilities (>= 1.3.1)
- Microsoft.AspNetCore.DataProtection (>= 7.0.4)
- Microsoft.AspNetCore.DataProtection.Extensions (>= 7.0.4)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Hosting (>= 7.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Serilog.Extensions.Hosting (>= 5.0.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on J4JSoftware.DependencyInjection:
Package | Downloads |
---|---|
J4JSoftware.GeoProcessor
a library for processing GPX, KML and KMZ files, and snapping GPS tracks to roadways |
|
J4JSoftware.WPFUtilities
utilities for console applications |
|
J4JSoftware.GeoProcessorApp
a console application for processing GPX, KML and KMZ files, and snapping GPS tracks to roadways |
|
J4JSoftware.GeoProcessorWPF
a WPF application for processing GPX, KML and KMZ files, and snapping GPS tracks to roadways |
|
J4JSoftware.DeusWinApp
provides J4JDeusEx support for Windows Apps (WinUI 3) |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.6.0 | 210 | 5/2/2023 |
2.5.1 | 221 | 4/11/2023 |
2.5.0 | 200 | 4/4/2023 |
2.4.0 | 310 | 1/15/2023 |
2.3.3 | 303 | 1/8/2023 |
2.3.2 | 304 | 1/8/2023 |
2.3.1 | 297 | 1/1/2023 |
2.3.0 | 296 | 12/27/2022 |
2.2.0 | 447 | 2/28/2022 |
2.1.1 | 575 | 11/21/2021 |
2.1.0 | 310 | 11/12/2021 |
2.0.1 | 936 | 9/29/2021 |
2.0.0 | 1,030 | 9/28/2021 |
1.1.0 | 1,023 | 2/3/2021 |
1.0.0 | 445 | 1/21/2021 |
0.8.0 | 379 | 1/9/2021 |
fixed nuget dependencies