DryIoc.dll 6.0.0-preview-09

Prefix Reserved
This is a prerelease version of DryIoc.dll.
dotnet add package DryIoc.dll --version 6.0.0-preview-09
                    
NuGet\Install-Package DryIoc.dll -Version 6.0.0-preview-09
                    
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="DryIoc.dll" Version="6.0.0-preview-09" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DryIoc.dll" Version="6.0.0-preview-09" />
                    
Directory.Packages.props
<PackageReference Include="DryIoc.dll" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DryIoc.dll --version 6.0.0-preview-09
                    
#r "nuget: DryIoc.dll, 6.0.0-preview-09"
                    
#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.
#:package DryIoc.dll@6.0.0-preview-09
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DryIoc.dll&version=6.0.0-preview-09&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DryIoc.dll&version=6.0.0-preview-09&prerelease
                    
Install as a Cake Tool

Hello Sailor,

Compile-time Dependency Injection

DryIoc has an optional compile-time Dependency Injection with the source package (previously it was available as a separate DryIocZero package).

You may ignore this information if you don't want to use the compile-time DI. Everything will work without it, but wait... you will like some compile-time DI!

How to use [@WIP]

  1. Copy contents of "%USERPROFILE%.nuget\packages\DryIoc<version>\CompileTimeDI" folder to your project, e.g. "Container.Generated.tt", "CompileTimeRegistrations.ttinclude", and "CompileTimeRegistrations.Example.cs".
  2. Add your registrations into the "CompileTimeRegistrations.ttinclude" file, the file already contains the registrations from the "CompileTimeGenerate.Example.cs", you may remove them or use it as a guideline.
  3. [@WIP] Save (or re-save) the "Container.Generated.tt" file in the Visual Studio or JetBrains Rider (you may get a prompt - accept it). If everything is fine you will see the generated "Container.Generated.cs" file under the "Container.Generated.tt" in Solution Explorer. The "Container.Generated.cs" will contain the generated methods to create the services registered in "CompileTimeRegistrations.ttinclude"

T4 Text Template Transformation Tooling

First you may install the dotnet-t4 CLI tool from NuGet to play and experiment with templates.

For editing and viewing the T4 text template files you may use:

Product 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 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 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.  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 net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (123)

Showing the top 5 NuGet packages that depend on DryIoc.dll:

Package Downloads
DryIoc.Microsoft.DependencyInjection

DryIoc adapter for Microsoft.Extensions.DependencyInjection

DryIoc.Owin.dll

DryIoc extension for OWIN

DryIoc.CommonServiceLocator.dll

Implementation of CommonServiceLocator for DryIoc container, see rationale at https://github.com/unitycontainer/commonservicelocator

DryIoc.MefAttributedModel.dll

DryIoc.MefAttributedModel is DryIoc extension to support Microsoft Managed Extensibility Framework for DryIoc container

DryIoc.WebApi.dll

DryIoc extension for ASP.NET WebAPI

GitHub repositories (21)

Showing the top 20 popular GitHub repositories that depend on DryIoc.dll:

Repository Stars
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
Readarr/Readarr
Book Manager and Automation (Sonarr for Ebooks)
digimezzo/dopamine-windows
Audio player which tries to make organizing and listening to music as simple and pretty as possible.
fifty-six/Scarab
An installer for Hollow Knight mods written in Avalonia.
CXWorld/CapFrameX
Frametime capture and analysis tool
Artemis-RGB/Artemis
Provides advanced unified lighting across many different brands RGB peripherals
reactiveui/splat
Makes things cross-platform
Whisparr/Whisparr
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
kendryte/nncase
Open deep learning compiler stack for Kendryte AI accelerators ✨
DevTeam/Pure.DI
Pure DI for .NET
2fast-team/2fast
Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
appget/appget
Free and open package manager for Windows.
PrismLibrary/Prism.Maui
This is an experimental repo. The code here will eventually be merged into the main Prism repo as a full fledged platform at which time this repo will be archived.
moongate-community/moongate
Moongate is modern Ultima Online server built from scratch in C# with AOT compilation for high performance and nostalgic gameplay experience.
dansiegel/Prism.Container.Extensions
The packages here provide additional extensions around the Prism Ioc abstractions. This allows for more advanced scenarios.
Version Downloads Last Updated
6.0.0-preview-09 247,796 11/24/2024
6.0.0-preview-08 5,273 10/27/2024
6.0.0-preview-07 21,577 3/17/2024
6.0.0-preview-06 5,387 1/23/2024
5.4.3 2,017,388 11/12/2023
5.4.2 130,605 10/17/2023
5.4.1 375,749 6/10/2023
5.4.0 1,446,742 5/1/2023
5.4.0-preview-01 1,428 4/14/2023
5.3.4 309,415 3/13/2023
5.3.3 97,012 2/16/2023
5.3.2 26,259 2/9/2023
5.3.1 157,395 11/28/2022
5.3.0 190,344 11/10/2022
5.2.2 644,440 8/23/2022
5.2.1 36,437 8/9/2022
5.2.0 11,314 8/3/2022
5.1.0 367,404 5/20/2022
5.0.2 403,700 5/10/2022
5.0.1 37,731 4/22/2022
Loading failed

## v6.0.0 Major feature release

- Decrease memory footprint
- Remove Obsolete API
- @WIP Compile-time Dependency Injection