inMainProcess

Configures the service host to run in the main process of the application.

Note: Running a service host in the main process is not advised. It may block the UI as it also uses the main thread.