title: WCF Data Services (oData): Dependency Injection with DataService
body: <p>How can I use my IoC container in a <code>DataService</code> and the <code>CurrentDataSource</code> inside for WCF Data Services? I have several services I want to pass into it. The "host" application or project for the <code>DataService</code> is based on ASP.NET MVC 2.0. My IoC container is setup in the <code>MvcApplication</code>.</p>