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

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 11.6K   15  
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?

Views

Daily Counts

License

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.
And asp.net.

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

Comments and Discussions