The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Other than the bit at the top of the page, you mean?
The more a member's reputation increases within a given category, the more their votes count towards other members when voting on items within that reputation category.
For example, a member with a high Authority ranking (someone who answers a lot of questions) but a low Author ranking (they don't post many articles) will have their vote counted strongly when voting on answers, but not so strongly when voting on articles.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
He's 95, at this point his only official duty should be breathing.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
I think the title sounds terribly limited, but just the first chapter is worth reading this book.
Also, interesting that Amazon doesn't have the ebook available because I'm reading it on my SafariBooks bookshelf.
This book does a great job of tying together patterns to real world code and shows some terrific examples even here in the first chapter. Have any of you read it? It's very good. Even if you've read a lot about DI this is worth the read because it makes you contemplate it from some new angles.
I read it about a month ago and it is excellent at explaining Dependency Injection and the rationale behind it. However, note that the book is 5 years old and the entire chapter devoted to the Unity container is badly out of date.
Nevertheless, it is very worthwhile to read, especially when you start out with an application framework like Prism.
That would be my focus also, as we are using Unity here.
So far, the author is covering the aspects of DI that I've noticed and questioned but not seen touched upon in such a clear way in other places. There are some things you get from Unity for example (like object lifetime that you can just take for granted).
Also, his simple first explanation of the decorator pattern was very cool.
I like books that give me a fresh angle like this.
(like object lifetime that you can just take for granted).
Yes, but I like to specify the ContainerControlledLifetimeManager whenever it is not too restrictive. With this lifetime manager, it is just easier to implement the IDisposable interface in your classes. As far as I know it is the only option you have in Unity to guarantee the Dispose() method will fire when you dispose of the container.
Interestingly, the Asp.Net Core DI container is slightly faster than Munq, and while not a full featured as some, is sufficient for at least 80% of what you want to do. If it isn't, then you are probably over architecting your app. Dependency Injection in ASP.NET Core | Microsoft Docs[^]
"Time flies like an arrow. Fruit flies like a banana."
Thanks for posting this. I have bookmarked your response for further study. My application is strictly a desktop app using Prism.Unity. Munq definitely seems faster than Unity, but I wonder how much difference it will make in my case?
May the 5th (not original)
Most people don’t know that back in 1912, Hellmann’s mayonnaise was manufactured in England. In fact, the Titanic was carrying 12,000 jars of the condiment scheduled for delivery in Vera Cruz, Mexico, which was to be the next port of call for the great ship after its stop in New York.
This would have been the largest single shipment of mayonnaise ever delivered to Mexico. But as we know, the great ship did not make it to New York. The ship hit an iceberg and sank, and the cargo was forever lost.
The people of Mexico, who were crazy about mayonnaise, and were eagerly awaiting its delivery, were disconsolate at the loss. Their anguish was so great, that they declared a National Day of Mourning, which they still observe to this day.
The National Day of Mourning occurs each year on May 5th and is known, of course, as Sinko de Mayo.
Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree".