Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET

Multiple implementations of an interface in ASP.NET Core DI container

Category: Microsoft.NET
Comments (0)

If you worked with ASP.NET Core before chances are you used ASP.NET dependency injection features. Most commonly you register a single implementation of an interface as a service type. However, at times you may want to register multiple implementations of an interface as service types. In this article you learn how to accomplish the task.


Sponsored Links

Read Next: How to Check if Index Is in Range [0, n)




Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�