honestly this is so evil
- sell you a smart fridge
- omg cute it can show photos and leave lil notes uwu
~ waits a year ~
- fridge starts showing ads for mcdonalds you can’t get rid of
@moririring Also note that most of the examples in the book (apart from chapter 10) already existed in the first edition. That edition is from 2009 and lacks a chapter on Simple Injector. I wasn't involved in that first edition.
@moririring That said, because I know the flexibility of Simple Injector and Autofac don't limit us that much, we didn't have to worry about describing code that followed the patterns we preferred. But I also knew that MS.DI would pose challenges. Writing that last chapter was a lot of fun.
What you break now, @DrunkVS, @VisualStudio? Just updated to 17.13.1 and message boxes can no longer be canceled by pressing ESC. Extremely annoying and counter productive.
For my Dutch followers: Paul, a dear friend of mine, started a Youtube channel (in Dutch) about .NET and recently posted his first video on using Aspire icw an Angular front-end. Very "aspiring": https://t.co/l9pon7PZZx
Microsoft rolled out Visual Studio 17.12.3 today, which rolled back the behavior. I seem to be not the only one getting into trouble because of this breaking change.
This sucks, and I'm unsure how to fix this. Simple Injector depends on .NET Standard 1.3, which has an implicit dependency on (a vulnerable) System_Net_Http package (that SI doesn't use btw). But now I can't compile my solution.
@simpleinjector@vborovikov@chucker@mjovanovictech And last but not least, it will warn you when a type seems unregisterered while this problem is likely caused by an assembly loading problem, where the same assembly is loaded twice in memory.
@vborovikov@chucker@mjovanovictech@simpleinjector SI, however, invested heavily in great error messages. It will, for instance, tell you that you have an interface registered where you are trying to inject its unregistered implementation.
@vborovikov@chucker@mjovanovictech@simpleinjector Depends on what you mean. Simple Injector by default forces you to register what you inject, like most containers. But it also validates this up front, but that's also something what recent versions of MS.DI do for you.
@Dave_DotNet I find the code sample misleading, because not only do they differ by C# keywords vs. extension methods, the indenting is different. At least make sure both code samples use the same level of indenting.
I got an offer you can't refuse. Our book Dependency Injection Principle, Practices, and Patterns (https://t.co/Wg0NI0ZQbd) is on sale with @ManningBooks. 50% discount, just today. /cc @ploeh
🌟 SOLSTICE SALE - Save 50% on everything and more! 🌟
https://t.co/40wguqP3DI
Save HALF on all print, eBook, MEAP, and liveAudio audiobooks, plus get all liveProjects and liveVideos for just $10 each! The sale ends at midnight PT on June 21.
#ManningBooks#LearnwithManning
I wished that Visual Studio's "move type to <typename>.cs" feature would automatically open the newly created file as a tab, such that when pressing CTRL + TAB (once), that new file would become the active tab. I almost always need this new file after moving. /cc @mkristensen