Service Host. The service host is the runtime environment for hosting a service within a process. A service can configure one or more endpoints inside a service host. Creating a service host. Before creating a service host, a service needs to define its endpoints. An endpoint in service host is specified in the WS_SERVICE_ENDPOINT structure and it is defined by the following information: An address, which is the physical URI on which the service will be hosted.