I’m using this method to achieve DI in WCF. Now I’m at the point where I need to configure the endpoints and bindings.
How and where should I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The comment by flq is provides the answer: you can still use the normal WCF configuration settings even if you use an IInstanceProvider.
Since this is the idiomatic way of configuring WCF I see no reason to do it in any other way. It provides flexibility, there’s tool support, and you’d be using the documented API.