All Projects β†’ TBertuzzi β†’ DotNetDynamicInjector

TBertuzzi / DotNetDynamicInjector

Licence: other
πŸ’‰ Dynamically reference external dlls without the need to add them to the project. Leave your project with low dependency and allowing specific dlls according to your business rule or database parameters.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to DotNetDynamicInjector

Singularity
A extremely fast ioc container for high performance applications
Stars: ✭ 63 (+250%)
Mutual labels:  dependency-injection, netcore, net, netstandard
Dbreeze
C# .NET MONO NOSQL ( key value store embedded ) ACID multi-paradigm database management system.
Stars: ✭ 383 (+2027.78%)
Mutual labels:  netcore, net, netstandard
Epplus
EPPlus 5-Excel spreadsheets for .NET
Stars: ✭ 693 (+3750%)
Mutual labels:  netcore, net, netstandard
NETProvider
Firebird ADO.NET Data Provider
Stars: ✭ 113 (+527.78%)
Mutual labels:  netcore, net, netstandard
Raft.net
Implementation of RAFT distributed consensus algorithm among TCP Peers on .NET / .NETStandard / .NETCore / dotnet
Stars: ✭ 112 (+522.22%)
Mutual labels:  netcore, net, netstandard
Autofac
An addictive .NET IoC container
Stars: ✭ 3,713 (+20527.78%)
Mutual labels:  dependency-injection, netcore, netstandard
Dryioc
DryIoc is fast, small, full-featured IoC Container for .NET
Stars: ✭ 555 (+2983.33%)
Mutual labels:  dependency-injection, netcore, netstandard
Bcrypt.net
BCrypt.Net - Bringing updates to the original bcrypt package
Stars: ✭ 422 (+2244.44%)
Mutual labels:  microsoft, netcore, net
MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 3,309 (+18283.33%)
Mutual labels:  netcore, net
Norm.net
High performance micro-ORM modern Dapper replacement for .NET Standard 2.1 and higher
Stars: ✭ 92 (+411.11%)
Mutual labels:  netcore, net
notification-provider
A Mail Notification Library providing additional features on top of existing Email Notification clients like Microsoft Graph, Direct Send, and more!
Stars: ✭ 19 (+5.56%)
Mutual labels:  microsoft, netcore
dark-sky-core
A .NET Standard Library for using the Dark Sky API.
Stars: ✭ 55 (+205.56%)
Mutual labels:  netcore, netstandard
Kendo.DynamicLinqCore
KendoNET.DynamicLinq implements server paging, filtering, sorting, grouping, and aggregating to Kendo UI via Dynamic Linq for .Net Core App(1.x ~ 3.x).
Stars: ✭ 36 (+100%)
Mutual labels:  netcore, netstandard
aliyun-openapi-sdk-net-core
aliyun open api sdk for .net core 2.0
Stars: ✭ 17 (-5.56%)
Mutual labels:  netcore, net
DjvuNet
DjvuNet is a cross platform fully managed .NET library for working with Djvu documents which can run on Linux, macOS and Windows. Library has been written in C# and targets .NET Core v3.0 and .NET Standard v2.1 or later. We intend to provide DjVu document processing capabilities on par with DjVuLibre reference library (or even better).
Stars: ✭ 54 (+200%)
Mutual labels:  netcore, netstandard
csharp
πŸ“š Recursos para aprender C#
Stars: ✭ 37 (+105.56%)
Mutual labels:  microsoft, netcore
profiler-api
The portable version of JetBrains profiler API for .NET Framework / .NET Core / .NET / .NET Standard / Mono
Stars: ✭ 21 (+16.67%)
Mutual labels:  net, netstandard
DotNetGraph
Create GraphViz DOT graph with .NET / C#
Stars: ✭ 57 (+216.67%)
Mutual labels:  netcore, netstandard
Portable-WebDAV-Library
Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETS…
Stars: ✭ 45 (+150%)
Mutual labels:  netcore, netstandard
AlphaVantage.Net
.Net client library for Alpha Vantage API
Stars: ✭ 65 (+261.11%)
Mutual labels:  netcore, netstandard

DotNet.DynamicInjector

Dynamic dependency injector for external project DLLs

Dynamically reference external dlls without the need to add them to the project. Leave your project with low dependency and allowing specific dlls according to your business rule or database parameters.

This is the component, works on .NET Core and.NET Framework

Info

Code Quality Build Nuget Contributors
Codacy Badge Build NuGet GitHub contributors

Platform Support

DotNet.DynamicInjector is a .NET Standard 2.0 library.

Using DynamicInjector

The dlls that should be referenced by default must be in the compiled project folder

Use the service configuration in the startup of your ASP.NET core project

services.RegisterDynamicDependencies(ioCConfiguration);

IoCConfiguration contains the configuration of your dependency injection. It is possible to specify only the namespaces you want to reference, ignoring others in the project

var ioCConfiguration = new IoCConfiguration()
{
   AllowedInterfaceNamespaces = 
       new List<string> {"Mynamespance1", "Mynamespance2"}
};

IoCRole configures the dll and type of dependency you want to automatically inject

var role = new IoCRole
 {
     Dll = "MyProject.dll", //DLL name
     Implementation = "My Implementation", // Implementation name, can be used for a control if you use several projects and wanted to separate them
     Priority = 1, // Priority that the dll should be loaded
     LifeTime = LifeTime.SCOPED, // Lifetime of your addiction injection
    Name = "My client business rule x" //Dependency name. It is used only for identification
  };
            
    ioCConfiguration.Roles.Add(role);

Samples coming soon ..

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].