Advantage WCF hosting in IIS
1. No code required to host the service, All we need ServiceHost.svc file and ServiceHost directive is responsible for creating an object of Service Host and started it when required.
2. Automatic message based activation i.e No need to run the host every time WCF reuired.
Means whenever message arrives at service it launches itself. In case of self hosting it should be always running.
3 Automatic recycling - IIs provide automatic process recycling if process is taking too much time