4 ms·
> The result is that you're looking at a class with a dependency of "ISomething" and you can't click through to the class. You can. Jetbrains' Rider will happi
by dmitriid 4y ago
> The result is that you're looking at a class with a dependency of "ISomething" and you can't click through to the class.
You can. Jetbrains' Rider will happily show you the implementation (Cmd + Option + Click IIRC)
> The worst is when there are entire behaviors added this way, and you just have to search your code base for keywords to figure out what's happening.
Not in ASP.net in mu experience. But true for Spring in Java.
In ASP only the classes you declare in the constructor get injected. Only the classes registered in ConfigureServices get injected etc.
All in all ASP.net has surprisingly little magic compared to many other frameworks.
That's not to say it's without warts. There are definitely WTF cases and places where you can't properly stop a debugger.