Explore >> Select a destination


You are here

www.code4it.dev
| | conradakunga.com
2.1 parsecs away

Travel
| | This is Part 9 of a series on dependency injection.
| | www.nexsoftsys.com
1.9 parsecs away

Travel
| | In this article, let's take a deep dive to Dependency Injection mechanism of .NET Core 3.1 to achieve Inversion of Control (IoC) between classes and their dependencies.
| | wildermuth.com
3.5 parsecs away

Travel
| | I've been building some ASP.NET Core apps as of late and had to dig into how Dependency Injection works there. After talking with Julie Lerman a bit on Twitter about it, I realized that there might be some confusing things about how it works in ASP.NET Core, so I'm hoping I can add some clarity in this post.
| | matthiasnoback.nl
17.9 parsecs away

Travel
| As you may have read on the Symfony blog: as of Symfony 2.4 you can register console commands using the service tag console.command. What is the big deal, you would say. Well, let's discover it now. This is how the documentation tells you to write your console commands: namespace Matthias\ConsoleBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class MyCommand extends ContainerAwareCommand { protected function configure() { $this->setName('my:action'); } protected function execute(InputInterface $input, OutputInterface $output) { // do something } } How to make sure your command will be noticed? Until Symfony 2.4 there wer...