ArkaSoftware.Extensions.DependentyInjection.Abstractions 2.0.0

dotnet add package ArkaSoftware.Extensions.DependentyInjection.Abstractions --version 2.0.0
                    
NuGet\Install-Package ArkaSoftware.Extensions.DependentyInjection.Abstractions -Version 2.0.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="ArkaSoftware.Extensions.DependentyInjection.Abstractions" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ArkaSoftware.Extensions.DependentyInjection.Abstractions" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ArkaSoftware.Extensions.DependentyInjection.Abstractions" />
                    
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 ArkaSoftware.Extensions.DependentyInjection.Abstractions --version 2.0.0
                    
#r "nuget: ArkaSoftware.Extensions.DependentyInjection.Abstractions, 2.0.0"
                    
#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 ArkaSoftware.Extensions.DependentyInjection.Abstractions@2.0.0
                    
#: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=ArkaSoftware.Extensions.DependentyInjection.Abstractions&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ArkaSoftware.Extensions.DependentyInjection.Abstractions&version=2.0.0
                    
Install as a Cake Tool

ArkaSoftware.Extensions.DependentyInjection.Abstractions

ArkaSoftware.Extensions.DependentyInjection.Abstractions is a minimalist and clean library that provides marker interfaces to define service lifetimes for ASP.NET Core Dependency Injection.

These interfaces help in simplifying registration of services by using reflection or convention-based registration.


🔧 Marker Interfaces

ISingletoneLifetime

Marks a service to be registered with Singleton lifetime. Services registered as singleton are created once and shared throughout the application's lifetime.

public interface ISingletoneLifetime { }

IScopeLifetime

Marks a service to be registered with Scoped lifetime. Scoped services are created once per HTTP request or scope in ASP.NET Core.

public interface IScopeLifetime { }

ITransientLifetime

Marks a service to be registered with Transient lifetime. Transient services are created every time they are requested.

public interface IScopeLifetime { }
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ArkaSoftware.Extensions.DependentyInjection.Abstractions:

Package Downloads
Arks.Framework.Endpoints.Web

A library for building robust and standardized web endpoints in .NET applications. Includes base controllers, middleware, filters, and extensions for simplifying API development.

ArkaSoftware.Extensions.DependencyInjection

Dependency Injection Management For Use DI Container

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 283 4/16/2025
1.0.1 286 4/16/2024
1.0.0 186 4/16/2024