Can dependency injection help me in writing code against many version of third party API RRS feed

  • Question

  • Hi,

    I am writing software that extends functionality of SharePoint. I am targeting this software for SharePoint 2007,2010 as well as 2013. In my code, I have to include reference for SharePoint dll but how my code should target these different version of SharePoint API. I do not want to create multiple projects of my code so a different SharePoint API version can be targeted. Can anyone suggest a design pattern that can help me? Will Dependency injection or MEF help me in this scenario.

    Any help will be appreciated.



    Friday, July 25, 2014 10:07 PM

All replies