Go offline with the Player FM app!
Podcast 094 - Jeremy Miller on Lamar
Manage episode 214804103 series 1187569
Jeremy Miller has created an open-source IoC tool called Lamar. This episode is sponsored by Smartsheet.
Show Notes:
Instead, consider Lamar for your IoC container needs.
At one point I was rambling about ASP.NET Core’s inability to use the service locator pattern. Some quick points:
Don’t use Service Locator, there are lots of other better patterns to use.
DO NOT DO IT.
If you absolutely need it: here’s a blog post about it.
I was incorrect in the podcast by making a sweeping statement about ASP.NET Core not having service locator. But for a very specific, narrow case where I wanted to use the service locator pattern recently, I was unable to do so. This might have been my own failing, or something that just isn’t possible with the built-in ASP.NET IoC. I have not tried this very specific, narrow use case with Lamar yet.
I plugged my book, AOP in .NET yet again.
Lamar is named after Mirabeau Lamar (a hero of the Texas revolution)
Paper: Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler
Want to be on the next episode? You can! All you need is the willingness to talk about something technical.
Music is by Joe Ferg, check out more music on JoeFerg.com!
123 episodes
Manage episode 214804103 series 1187569
Jeremy Miller has created an open-source IoC tool called Lamar. This episode is sponsored by Smartsheet.
Show Notes:
Instead, consider Lamar for your IoC container needs.
At one point I was rambling about ASP.NET Core’s inability to use the service locator pattern. Some quick points:
Don’t use Service Locator, there are lots of other better patterns to use.
DO NOT DO IT.
If you absolutely need it: here’s a blog post about it.
I was incorrect in the podcast by making a sweeping statement about ASP.NET Core not having service locator. But for a very specific, narrow case where I wanted to use the service locator pattern recently, I was unable to do so. This might have been my own failing, or something that just isn’t possible with the built-in ASP.NET IoC. I have not tried this very specific, narrow use case with Lamar yet.
I plugged my book, AOP in .NET yet again.
Lamar is named after Mirabeau Lamar (a hero of the Texas revolution)
Paper: Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler
Want to be on the next episode? You can! All you need is the willingness to talk about something technical.
Music is by Joe Ferg, check out more music on JoeFerg.com!
123 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.