Content about Microsoft.Extensions.DependencyInjection in C#

Shervan360 1,481 Reputation points
2022-10-04T05:55:35.587+00:00

Hello,

I couldn't find document/content about the following namespace:

Microsoft.Extensions.DependencyInjection;

I'd like to know what it is and how can we work with it. What does each method do?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,195 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
    2022-10-04T06:24:46.403+00:00

    Hi @Shervan360 ,

    Here are the relevant documentations you're looking for: [Dependency injection in .NET] (https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection) and [Tutorial: Use dependency injection in .NET] (https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-usage).

    Best Regards,
    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful