Utilising multiple implementations in a single application?

So I’m writing a website to aggregate data scraped from web pages, the user can provide an address and then it will be processed dynamically dependant upon the host name. The way I’m thinking of tackling this is by the implementations sharing a common interface, i.e IWebScraper that has the Scrape(URL) function, but where should the application decide on which to use and should all of them be registered in the IoC container?

submitted by /u/JakeAM93
[link] [comments]

Leave a Reply