Tutorialsteacher

Follow Us

Articles
  • C#
  • C# OOP
  • ASP.NET Core
  • ASP.NET MVC
  • LINQ
  • Inversion of Control (IoC)
  • Web API
  • JavaScript
  • TypeScript
  • jQuery
  • Angular 11
  • Node.js
  • D3.js
  • Sass
  • Python
  • Go lang
  • HTTPS (SSL)
  • Regex
  • SQL
  • SQL Server
  • PostgreSQL
  • MongoDB
  • IoC - Get Started
  • Introduction
  • Inversion of Control
  • DIP
  • Dependency Injection
  • IoC Container
  • Unity Container
  • Install Unity Container
  • Register and Resolve
  • Constructor Injection
  • Property Injection
  • Method Injection
  • Overrides
  • Lifetime Manager
Entity Framework Extensions - Boost EF Core 9
  Bulk Insert
  Bulk Delete
  Bulk Update
  Bulk Merge

Unity Container

Unity container is an open source IoC container for .NET applications supported by Microsoft. It is a lightweight and extensible IoC container.

The source code for Unity container is available at https://github.com/unitycontainer/unity.

Unity Container Features:

  • Simplified type-mapping registration for interface type or base type.
  • Supports registration of an existing instance.
  • Supports code-based registration as well as design time registration.
  • Automatically injects registered type at runtime through a constructor, a property or a method.
  • Supports deferred resolution.
  • Supports nested containers.
  • Automatic disposing of instances based on lifetime managers; lifetime managers include hierarchical, per resolve, externally controlled, per request and per thread.
  • Supports service location capability; this allows clients to store or cache the container.
  • Supports type interception and instance interception.
  • Easy to extend.

Before we start working with the Unity container, let's learn how to install it, in the next chapter.

TUTORIALSTEACHER.COM

TutorialsTeacher.com is your authoritative source for comprehensive technologies tutorials, tailored to guide you through mastering various web and other technologies through a step-by-step approach.

Our content helps you to learn technologies easily and quickly for learners of all levels. By accessing this platform, you acknowledge that you have reviewed and consented to abide by our Terms of Use and Privacy Policy, designed to safeguard your experience and privacy rights.

[email protected]

ABOUT USTERMS OF USEPRIVACY POLICY
copywrite-symbol

2024 TutorialsTeacher.com. (v 1.2) All Rights Reserved.