Uncategorized

Dependency Injection Lifetimes

“Hey Framework! Any time this API endpoint is called and we create an object that is a SomeController that needs an IDoThingsService, create a brand new DoThingsThisWayService and use that. When the SomeController object gets destroyed, keep the IDoThingsService we created until we’re done with the API request in case something else needs it during this scope. Once we’re done with the API request, then destroy the IDoThingsService.”

Uncategorized

Tips for Online Communication: How to Ask Good Questions and Give Good Answers

Writing about technical things is hard to do well. These are some of my tips for communicating about technical things which should help whether we’re asking questions or giving answers or just providing documentation. Be VERY specific When writing about an issue, whether we’re asking a question or giving an answer, be very specific about… Continue reading Tips for Online Communication: How to Ask Good Questions and Give Good Answers