base of Difference | Self-Hosting | IIS Hosting |
Effort> | We Need to add some extra code to host the process | No Need to add extra code Automatic hosting |
deploy | Easy to deploy | More difficult deployment than Self-Hosting |
Recycle | Automatic process recycling not possible | Automatic process recycling not possible |
Control | Can controlled the service lifetime using Open and Close methods | Lifetime cannot be controlled manually. |
Process | Host process should be running before client makes a call to the service. | IIS host runs automatically when a client makes a call to the service. |