With regular ASP.NET MVC pages, the repository is passed in to the constructor of the control. Then the tests can instantiate the controller passing in a mock repository.
How can I do this with web services? The problem I see is that we don't have the equivalent of ControllerBuilder.SetControllerFactory.
What are the best practices to get my IoC framework (Castle) to instantiate my web service with the correct repository implementation?
I thought there might be a way to extend HttpHandler and change the way the web service is actually instantiated. I believe this is how the MVC framework does it.