I've created a custom service in the ISAPI folder. But the constructor of the service contains an interface (Dependency Injection) as parameter. How can I make the service initialize with the correct class?

If possible, I would like to use SimpleInjector as IoC container. Do I need to create a ServiceHostFactory in this case?

Any examples for this?

SP2013 on premise environment


Since nobody knew the answer (or wouldn't share it with us), I went on a little investigation adventure and wrote a blogpost about it:


  • Link has been deleted :-( pls provide answer in stackoverflow – netadictos Jan 2 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.