.NET Junkie

7.2K posts

.NET Junkie

.NET Junkie

@dot_NET_Junkie

Freelance developer, architect & author (https://t.co/KU8P7VysGR) from The Netherlands. Loves talking about .NET and DI. Interested in human rights, privacy & security.

The Netherlands Bergabung Temmuz 2009
38 Mengikuti1.6K Pengikut
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@moririring That's awesome. Great to see that the Japanese translation is being read.
English
1
0
0
29
松井 敏(a.k.a 森理 麟)
松井 敏(a.k.a 森理 麟)@moririring·
@dot_NET_Junkie Thanks for the reply! As I mentioned, even if it were marketing, the book is so good that it would still be totally fair. I'm almost done reading and have learned so much about DI. We're also holding a biweekly reading group. Thank you for such an excellent book!
English
1
0
0
189
松井 敏(a.k.a 森理 麟)
松井 敏(a.k.a 森理 麟)@moririring·
総称型コンポジットの登録 P575 Simple Injectorの本領発揮。まあこの本書いた人が作ったDIコンテナなのであれば当たり前だけど、と書いててて、ここまでが最大なマーケティング??と思った。いや、ま、そうであっても全然正当な方法だ思います #DIの原理原則とパターン #朝の読書30分一本勝負
日本語
1
0
0
236
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@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.
English
1
0
0
104
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@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.
English
1
0
0
109
.NET Junkie
.NET Junkie@dot_NET_Junkie·
Just let me press ESC.
.NET Junkie tweet media
English
0
0
0
289
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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.
.NET Junkie tweet media
English
1
0
0
448
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@ddoomen "And let’s be honest—some maintainers can be quite opinionated." Absofuckinglutely!
English
0
0
1
42
Dennis Doomen
Dennis Doomen@ddoomen·
As a developer in the #dotnet, #java, #javacript or #typeScript realm, you have access to an abundance of #opensource components that can enhance your codebases and allow you to focus on delivering business value to your organization. The sheer variety of #libraries and #frameworks available to complement your chosen stack is immense, and their quality is often very high. Open-source projects typically adhere to a level of quality that meets public scrutiny, as these projects are often designed to "see the light of day." Widely used open-source tools are rigorously examined, creating a social pressure to maintain and improve them—often exceeding the quality standards seen within many companies. However, it’s a misconception to think that open source is truly free. While you might not need to pay for #licenses—skipping the hassle of going through procurement—you're still relying on people you don’t know to maintain those projects. If you encounter a bug, you’re entirely dependent on the maintainers to address it at their discretion. They might decide it’s not a bug, or they might ask you to contribute a pull request to fix the issue or implement a feature you need. Whether this process succeeds often depends on the quality of the code, the depth of automated testing, and the maturity of the developers behind the project. And let’s be honest—some maintainers can be quite opinionated. In the worst-case scenario, you might have to fork the project and treat it as your own codebase. So, be prepared for that possibility. That being said, open-source is awesome. Use it, learn from it, and support it. #lessonslearned #opensourcesoftware #oss #dependencymanagement #avivasolutions #consultancy #softwarequality #coupling
Dennis Doomen tweet media
English
1
2
3
1.6K
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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
YouTube video
YouTube
English
0
0
0
293
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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.
English
0
0
1
166
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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.
.NET Junkie tweet media
English
3
1
3
885
Simple Injector
Simple Injector@simpleinjector·
@dot_NET_Junkie @vborovikov @chucker @mjovanovictech It will also tell you when there is a registered type with an identical name to the unregistered type you are trying to inject. This is useful, because modern IDEs generate types in a single keystroke by accident.
English
2
0
0
55
Milan Jovanović
Milan Jovanović@mjovanovictech·
An underrated .NET library: Scrutor. Scrutor contains assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection. Rather than manually registering each service, you can scan your assemblies for types that should be registered with the DI container.
Milan Jovanović tweet media
English
6
21
199
11.7K
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@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.
English
1
0
0
59
.NET Junkie
.NET Junkie@dot_NET_Junkie·
@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.
English
1
0
0
72
.NET Junkie
.NET Junkie@dot_NET_Junkie·
This came in the mail today. The Japanese translation of our book DIPP&P by @ploeh and I finally went to print.
.NET Junkie tweet media
English
0
2
6
1.9K
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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
Manning Publications@ManningBooks

🌟 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

English
0
0
3
483
.NET Junkie
.NET Junkie@dot_NET_Junkie·
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
English
0
0
1
481