Re:Minimal APIs at a glance in .NET 6
by zzbzq on Monday September 13, 2021 @09:36AM
(#28511289)
The target audience for it, though, is probably us folks who want to remove dependency injection altogether. It was going against the grain before because the whole framework was built around Controllers and the part of the pipeline that had a monopoly on constructing them. With these changes it looks like it will be fully supported to write server-side HTTP code as if it were a computer program. Like you can in any other language. Better late than never!
[ Parent
| on HN ]
Re:Minimal APIs at a glance in .NET 6
by tonyedgecombe on Monday September 13, 2021 @11:38AM
(#28512846)
That's interesting, I've been avoiding .Net for web projects because of the DI. Time to take another look.