locked
How to intercept DataService creation? RRS feed

  • Question

  • Is there a way to intercept when the DataService is created so that I can provide an instance that is registered with Castle Windsor container?  So for example, if I have the below service (MyDataService.svc), when the request is made I would like to return an instance of MyDataService from the container to wire things up.

     

    public class MyDataService : DataService<MyContext>

    Friday, January 21, 2011 6:09 AM

Answers