I am thinking of coding a generic WCF host that can be configured and can handle errors like faulted state and crashes.

Do you know of some open source or example for me to begin?

ADD
Yes, i familiar with both of suggestions, im looking for the ServiseHost wrapper it self.

Accepted Answer

The CodeProject code here looks like similar to what you are looking for. At least, it should provide a good stating point.

Written by Sixto Saez
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki