Explain DEPENDENCY INJECTION AND IOC CONTAINERS.
DEPENDENCY INJECTION AND IOC CONTAINERS
• ASP.NET Core is designed from scratch to support Dependency Injection.
• ASP.NET Core injects objects of dependency classes through constructor or method by using built-in loC container.
• ASP.NET Core framework contains a simple out-of-the-box loC container which does not have as many features as other third-party loc containers. If you want more features such as auto-registration, scanning, interceptors, or decorators then you may replace the built-in loC container with a third-party container.
Comments
Post a Comment