|
Answer» There are two types of hosting one is self hosting and another is iis hosting both of these are different
| 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. |
|