Dependency Injection the .NET Core way
Adding .NET Core’s native IoC container for dependency injection. The simple approach.
Adding .NET Core’s native IoC container for dependency injection. The simple approach.
I am ridiculously excited to finally be getting back to writing code for this project. In fact I have spent far too long coding, and have left the blogging for a while so I have plenty to catch up on. Episode IV – A new beginning If you followed through my previous posts around building a Selenium WebDriver test framework in Java, you may remember that the last thing that I completed was to get it running cross platform. Anyone…
I’ve been looking forward to getting around to this for some time. A chance to have a go at extending WebDriver’s default PageFactory implementation. So what do I mean by a PageBlock? On many websites there are reusable panels that appear on many pages. Many are repeatable blocks within a page and are used in lists such as the article summaries on the homepage. Others occur on many pages throughout a site but are unique within the page such as…
Sorry! I forgot to mention last time that I was having a week off to spend some quality time with my long suffering wife and kids. I have added a fair deal of code, and I don’t plan on explaining all of it here, just the most relevant. Last time, I managed to get dependency injection working, but not in a way that I was at all happy with. My decision to create WebDriverManager classes led me to create a…
Every rose has its thorn. In the unlikely event that you have read all of my posts, you will be aware that I have had a try at dependency injection before but wasn’t happy enough with the results to push them. After looking at it this week I have managed to understand where my difficulties lie and and implement a solution that works. I’m still not really happy with it, but its enough to be able to get going on…