How to write a custom service host in WCF?
I want to have more control on service host.
Please guide me to write my custom service host?
How to write a custom service host in WCF? I want to have more
Share
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.
You basically just need to derive from the base
ServiceHostclass. Anything else is totally up to you.What do you want to improve upon? Where do you see things you need to do better or different than the standard ServiceHost class?
See these articles and blog post for samples and recipes on how to do it:
Marc