If there is a way to specifiy a custom ServiceHost (i.e. a ServiceHost derived class) or custom ServiceHostFactory (i.e. a ServiceHostFactory derived class) via configuration?
thanks
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.
Either you use IIS for hosting your WCF service – in that case, you can specify a custom service host factory (which creates your custom
ServiceHostinstance) in your*.svcfile:or then you’re self-hosting, so you need to create the
ServiceHostin your code anyway, so just use your own custom service host instead.