.NET Junkie retweeted
C# 12 primary constructors reduce boilerplate when capturing dependencies.
Prefer when:
✅ Constructor only captures dependencies/config
✅ No complex initialization
Avoid when:
✅ Validation or non-trivial initialization is needed
#csharp #codingguidelines #classdesign
.NET Junkie retweeted
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
Samsung confirmed they’re testing ads on their $1,800+ smart fridge screens in the US
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": youtu.be/LfxN6Ni0c_k
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.
For my Japanese speaking audience, here's the link to the Japanese publisher: cuttingedge.it/book/japanese…
This came in the mail today. The Japanese translation of our book DIPP&P by @ploeh and I finally went to print.
This came in the mail today. The Japanese translation of our book DIPP&P by @ploeh and I finally went to print.
I got an offer you can't refuse. Our book Dependency Injection Principle, Practices, and Patterns (mng.bz/BYNl) is on sale with @ManningBooks. 50% discount, just today. /cc @ploeh
🌟 SOLSTICE SALE - Save 50% on everything and more! 🌟
mng.bz/aExJ
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 @madskristensen
.NET Junkie retweeted
Somehow missed that the new @Outlook app doesn't even work when you're offline. Like AT ALL. How is this acceptable?
.NET Junkie retweeted
Displaying return values of functions/methods when debugging in Visual Studio would be helpful. If you agree, vote here:
developercommunity.visualstu…
Since the introduction of Roslyn, undo is unreliable in the VS IDE, even with the latest version. From time to time, when holding CTRL+Z for a longer time, VS completely mangles the code in my C# file beyond repair. I have to do git undo changes and start over.
.NET Junkie retweeted
When your cybersecurity team makes you use a different password for every site.
.NET Junkie retweeted
For comparison, the exact same search on the same solution, but after restarting VS.
Chaos in MS DI land with the introduction of a breaking change in ActivatorUtilities in .NET 8: github.com/dotnet/docs/issue…. Although the old implementation was really buggy, users now report all kinds of incompatibility issues when upgrading.
Now we only have to wait on the #Japanese version, which is, if I recall correctly, being translated a.t.m.
All current translations (#Chinese #Polish #Italian #Russian) and editions of 'Dependency Injection Principles, Practices, and Patterns' that I have, collected in one stack. Written by @dot_NET_Junkie and me.


























