Click here to Skip to main content
15,668,517 members
Articles / Web Development / ASP.NET / ASP.NET Core


15 bookmarked

Completely Selfconfigurating Service with .NET 5

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
30 Aug 2021CPOL1 min read
Why do we need to register all services with service.AddService?
Creating a DI based ASP.Core or other NET application includes Dependency injection but why do we have to register all services on our own?


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer Freelancer
Germany Germany
A nice guy.
And WPF Developer.

like everything I can get my hand on in .net.
But never java.

Comments and Discussions