News for hackers. Stuff that matters.
Re:.NET 5.0 by FridgeSeal on Tuesday November 10, 2020 @05:19PM (#25052822)
Cool, so I'll add another dependency and figure out how to use that, to save myself time having to write out MS's convoluted dependency-injected configuration code.
Re:.NET 5.0 by nightski on Saturday November 14, 2020 @08:40PM (#25097368)
Meanwhile one could of have this solved in their projects in less than the time it took to have this HN discussion and moved on with their life. Seriously, somethings are worth complaining over, others are not.
Re:.NET 5.0 by merb on Tuesday November 10, 2020 @06:45PM (#25053660)
well you don't need to use dependency injection at all. there. is no need to use IConfiguration.

also as far as I heard, is that microsoft is working on a micro web framework, that does not use di. (something like https://github.com/featherhttp/framework, just more official i guess)